Alpha 23 stack with the same reproduce recipe:
ERROR: JavaScript error: simulation/components/Cost.js line 48 TypeError: cmpPlayer is null Cost.prototype.GetBuildTime@simulation/components/Cost.js:48:19 Repairable.prototype.GetBuildTime@simulation/components/Repairable.js:78:49 GuiInterface.prototype.GetEntityState@simulation/components/GuiInterface.js:320:17 GuiInterface.prototype.ScriptCall@simulation/components/GuiInterface.js:1970:1 GetEntityState@gui/session/session.js:220:21 findIdleUnit@gui/session/input.js:1629:20 __eventhandler243 (press)@idleWorkerButton press:0:1 ERROR: Error calling component script function ScriptCall ERROR: JavaScript error: gui/session/input.js line 1630 TypeError: entityState is undefined findIdleUnit@gui/session/input.js:1630:6 __eventhandler243 (press)@idleWorkerButton press:0:1