[1.1] Scenario rules end up null, breaks designators

Started by UKFB, February 28, 2020, 08:28:29 PM

Previous topic - Next topic

UKFB

After one of the minor updates I have found that the contextual commands that normally appear when selecting objects are no longer present, nor do the hotkeys for these commands function. I have been able to circumvent this for the most part with the use of the architect menu but I have decided a report the bug after realizing that I can no longer use the "Reinstall" command on my bedrolls. My game is currently unmodded, and the save file I am using has never had mods active. I have attached the RWS file for use in testing.

Tynan

It seems to be related to the custom scenario. The scenario's 'rules' are null.

- We should look into the root cause and fix it.
- We should mitigate the bug by detecting null rules on load and making some empty rules to replace them, with a warning log message.

Luckily it's easy to fix with simple save file editing. I have attached a fixed save file for now.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

Tynan

I have implemented the mitigation, will be in next hotfix.

Still need to find the root cause. Seems related to custom scenarios.
Tynan Sylvester - @TynanSylvester - Tynan's Blog