ERROR: Error in timer on entity 6435, IID99, function CollectTreasure: InternalError: too much recursion FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3921:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5300:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5701:7 enter@simulation/components/UnitAI.js:2909:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8