ABrandau/Shattered-Paradise-SDK

Crash: by using ion-cannon

dnqbob opened this issue · 2 comments

OpenRA engine version 8a28fc8
Shattered Paradise mod version {DEV_VERSION}
on map ac2704189c599588c80f25c28f8788b851ea9233 (Atacama by StolenTech).
Date: 2021-08-29 13:46:07Z
Operating System: Windows (Microsoft Windows NT 10.0.19043.0)
Runtime Version: .NET CLR 5.0.7
Exception of type `System.Collections.Generic.KeyNotFoundException`: The given key '0' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at OpenRA.Mods.Common.Traits.SelectNukePowerTarget.RenderAnnotations(WorldRenderer wr, World world)+MoveNext() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Mods.Common\Traits\SupportPowers\NukePower.cs:line 237
   at OpenRA.Graphics.WorldRenderer.GenerateAnnotationRenderables() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Graphics\WorldRenderer.cs:line 231
   at OpenRA.Graphics.WorldRenderer.PrepareRenderables() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Graphics\WorldRenderer.cs:line 249
   at OpenRA.Game.RenderTick() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 721
   at OpenRA.Game.Loop() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 827
   at OpenRA.Game.Run() in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 859
   at OpenRA.Game.InitializeAndRun(String[] args) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Game\Game.cs:line 277
   at OpenRA.Launcher.Program.Main(String[] args) in D:\work\Projects\Github\shattered-paradise-sdk-mirror\engine\OpenRA.Launcher\Program.cs:line 32

Using ion cannon with certain hotkey, and ion cannon dead

Or release ion cannon at the same time when ion cannon is dead (maybe related to nuke actor?)

sp-2021-08-29T131044Z.zip

the replay won't crash at the end but you can see the ion cannon explodes

Maybe fixed here, more than 3 month ago rv-engine upgrade a check to solve this bug