FrEee
FrEee copied to clipboard
Crash comparing designs with null data
Describe the bug Load the attached game and the game crashes.
To Reproduce Steps to reproduce the behavior:
- Load the attached game, turn 13, player 2.
Expected behavior The turn loads.
Actual behavior The game crashes with a null reference exception comparing two ship designs because their properties such as the hull are null. It seems that the design is not fully deserialized.
Screenshots N/A
Additional context N/A Savegame.zip
I noticed that objects such as designs and planets belonging to other players that shouldn't be visible yet are showing up in the player savegames. That might be causing this bug.