Please load attached game and click on the map
Game will CTD without writing to log!
save_SuperHuman 1.zip
Interesting fix to this
Load the save
Press F1 (for debug)
Press F4 (to show all aliens on map)
Click the map icon
Game won't crash
If you do anything with the map before following the above, it CTDs
Quickly ran this through a debugger:
It's crashing at citytileview.cpp:745
In the save, it seems that "VEHICLE_3864" has somehow ended up with an AttackVehicle mission with a null targetVehicle
@JonnyH Ah, many thanks, then it's also related to issue #456
Those vehicles are stuck in the building on both save games
I just realised that they became stuck when the UFO they were attacking left the city and back to alien dimension or were among the UFOs destroyed before they left the building
It seems that there is a bug in dealing with how vehicles clear their orders when the target entity either leaves the dimension that it's in, or is destroyed
Will update #456 accordingly :)
I think this is a rendering issue. It seems it's possible for a vehicle to have a mission with a null target vehicle, but the mission is popped almost immediately.
In this case a bunch of vehicles are stuck in a takeoff mission (as in #456) so there's no way to pop the attack vehicle mission
Issue appears to be fixed by FranciscoDA's work
Many thanks
Most helpful comment
@JonnyH Ah, many thanks, then it's also related to issue #456
Those vehicles are stuck in the building on both save games
I just realised that they became stuck when the UFO they were attacking left the city and back to alien dimension or were among the UFOs destroyed before they left the building
It seems that there is a bug in dealing with how vehicles clear their orders when the target entity either leaves the dimension that it's in, or is destroyed
Will update #456 accordingly :)