Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A rare crash when exit a finished game #71

Open
dnqbob opened this issue Aug 1, 2024 · 1 comment
Open

A rare crash when exit a finished game #71

dnqbob opened this issue Aug 1, 2024 · 1 comment

Comments

@dnqbob
Copy link
Collaborator

dnqbob commented Aug 1, 2024

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

@dnqbob
Copy link
Collaborator Author

dnqbob commented Aug 1, 2024

The same issue as in comment OpenRA/OpenRA#21352 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant