Posted April 08, 2023
The bug is described here: www.subsim.com/radioroom/showthread.php?t=236673 (sorry, somehow the forum software does not allow me to add a real link here)
Since it looks like that forum does not allow account registration I am just posting the details I noticed here for reference.
It looks like there is just a small access problem in the function `CombatAI.IsVesselInGunRange`.
Thanks to the developers, who enabled a bit of stack trace output, this may be not too hard to find.
[code]
NullReferenceException: Object reference not set to an instance of an object
at CombatAI.IsVesselInGunRange (.Vessel activeVessel, .Vessel targetVessel) [0x00000] in <filename unknown>:0
at CombatAI+<EnemyResponse>c__Iterator3.MoveNext () [0x00000] in <filename unknown>:0
[/code]
Since it looks like that forum does not allow account registration I am just posting the details I noticed here for reference.
It looks like there is just a small access problem in the function `CombatAI.IsVesselInGunRange`.
Thanks to the developers, who enabled a bit of stack trace output, this may be not too hard to find.
[code]
NullReferenceException: Object reference not set to an instance of an object
at CombatAI.IsVesselInGunRange (.Vessel activeVessel, .Vessel targetVessel) [0x00000] in <filename unknown>:0
at CombatAI+<EnemyResponse>c__Iterator3.MoveNext () [0x00000] in <filename unknown>:0
[/code]
Post edited April 08, 2023 by subota42