Crash in Standalone/Packaged Game on Win7 when unloading Lighting Scenario Streaming Level
Unloading Lighting Scenario Crashes the Engine in Standalone Game mode or in a Packaged Game; Works fine in PIE.
Create new UE4.14 project. I've used the "empty" template.
Very excited about this feature! Hope it's easily fixable (or am I doing something wrong?) I've tested this also with a proper check if the Streaming Level is loaded, decided to leave this out here to simplify the reproduction.
asked Nov 16 '16 at 06:16 PM in Bug Reports
Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here https://issues.unrealengine.com/issue/UE-38712 . You can track the report's status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.
answered Nov 16 '16 at 09:11 PM
The issue seems to be when you unload the first lighting scenario you made visible. A workaround is having an empty lighting scenario that is always loaded and visible. You will get this warning: "MULTIPLE LIGHTING SCENARIO LEVELS ENABLED", but the program does not crash. I'm unsure what this does to performance.
Interestingly, if instead of loading and unloading the levels. You make them always loaded, and just toggle the "Should be Visible" checkbox. One of the levels will remain visible, even when told to be invisible - and the crash does not occur. In this scenario L2 seems to always be the lighting scenario that remains visible no matter if my first key press is '1' or '2'. (Adding a scenario that is always visible also fixes this issue here).
Follow this question
Once you sign in you will be able to subscribe for any updates here