Skip to content

Crash when saving in CombinedArms 1.06.1 #74

@amoskopp

Description

@amoskopp

I tried to save a skirmish match with a bunch of bots on the map “Countercross”.

The game crashed with the following error message:

Exception of type `System.InvalidOperationException`: Attempted to get trait from destroyed object (player 3 (not in world))
   at OpenRA.TraitDictionary.CheckDestroyed(Actor actor) in /home/runner/work/CAmod/CAmod/engine/OpenRA.Game/TraitDictionary.cs:line 84
   at OpenRA.Mods.Common.Traits.UpdatesPlayerStatistics.OpenRA.Mods.Common.Traits.INotifyKilled.Killed(Actor self, AttackInfo e) in /home/runner/work/CAmod/CAmod/engine/OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs:line 251
   at OpenRA.Mods.Common.Traits.Health.InflictDamage(Actor self, Actor attacker, Damage damage, Boolean ignoreModifiers) in /home/runner/work/CAmod/CAmod/engine/OpenRA.Mods.Common/Traits/Health.cs:line 221
   at OpenRA.Mods.CA.Traits.SpawnerMasterBase.OpenRA.Traits.INotifyActorDisposing.Disposing(Actor self) in /home/runner/work/CAmod/CAmod/OpenRA.Mods.CA/Traits/SpawnerMasterBase.cs:line 214
   at OpenRA.Actor.<Dispose>b__90_0(World w) in /home/runner/work/CAmod/CAmod/engine/OpenRA.Game/Actor.cs:line 418
   at OpenRA.World.Dispose() in /home/runner/work/CAmod/CAmod/engine/OpenRA.Game/World.cs:line 608
   at OpenRA.Graphics.WorldRenderer.Dispose() in /home/runner/work/CAmod/CAmod/engine/OpenRA.Game/Graphics/WorldRenderer.cs:line 423
   at OpenRA.Game.Run() in /home/runner/work/CAmod/CAmod/engine/OpenRA.Game/Game.cs:line 875
   at OpenRA.Game.InitializeAndRun(String[] args) in /home/runner/work/CAmod/CAmod/engine/OpenRA.Game/Game.cs:line 305
   at OpenRA.Launcher.Program.Main(String[] args) in /home/runner/work/CAmod/CAmod/engine/OpenRA.Launcher/Program.cs:line 32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions