A rare crash when exit a finished game
Opened this issue · 1 comments
Exception of type System.InvalidOperationException
: Attempted to get trait from destroyed object (player 2 (not in world))
at OpenRA.TraitDictionary.CheckDestroyed(Actor actor) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\TraitDictionary.cs:line 84
at OpenRA.Mods.AS.Traits.ActorStatValues.OpenRA.Traits.INotifyOwnerChanged.OnOwnerChanged(Actor self, Player oldOwner, Player newOwner) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Mods.AS\Traits\ActorStatValues.cs:line 742
at OpenRA.Actor.ChangeOwnerSync(Player newOwner) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Actor.cs:line 467
at OpenRA.World.Dispose() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\World.cs:line 616
at OpenRA.Graphics.WorldRenderer.Dispose() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Graphics\WorldRenderer.cs:line 457
at OpenRA.Game.StartGame(String mapUID, WorldType type) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 187
at OpenRA.Network.UnitOrders.ProcessOrder(OrderManager orderManager, World world, Int32 clientId, Order order) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Network\UnitOrders.cs:line 200
at OpenRA.Network.OrderManager.ReceiveImmediateOrders(Int32 clientId, OrderPacket orders) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Network\OrderManager.cs:line 180
at OpenRA.Network.NetworkConnection.OpenRA.Network.IConnection.Receive(OrderManager orderManager) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Network\Connection.cs:line 350
at OpenRA.Sync.<>c__DisplayClass13_0.b__0() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Sync.cs:line 167
at OpenRA.Sync.RunUnsynced[T](Boolean checkSyncHash, World world, Func`1 fn) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Sync.cs:line 203
at OpenRA.Sync.RunUnsynced(World world, Action fn) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Sync.cs:line 168
at OpenRA.Game.InnerLogicTick(OrderManager orderManager) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 651
at OpenRA.Game.LogicTick() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 666
at OpenRA.Game.Loop() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 835
at OpenRA.Game.Run() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 888
at OpenRA.Game.InitializeAndRun(String[] args) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 313
at OpenRA.Launcher.Program.Main(String[] args) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Launcher\Program.cs:line 32
terminate called without an active exception
The same issue as in comment OpenRA/OpenRA#21352 (comment)