Search Issue Tracker

Fixed in 2017.1.0f3

Votes

0

Found in

2017.1.0b8

Issue ID

917974

Regression

No

Unity crashes when DynamicGI.UpdateEnvironment() is called before loading scene

Progressive Lightmapper

-

To reproduce :
1. Open project attached by the user (BugReport_Crash_DynamicGI_UpdateEnvironment.zip)
2. Open scene "Scene" and hit play

Expected : Unity enters play mode without crashes
Actual : Unity crashes

Note : Crashes due to [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] if this is changed to [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)] everything works as expected

Reproduced with : 5.5.0f3, 5.6.1p2, 2017.1.0b8, 2017.2.0a2

Fixed in: 2018.1.0a6

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.