Search Issue Tracker
By Design
Votes
0
Found in
2019.1.0a12
2019.1.0a13
2019.2.0a1
Issue ID
1117155
Regression
Yes
Light data loading is delayed when loading a new scene using SceneManager.LoadSceneAsync
How to reproduce:
1. Open "Scene1" in attached "LightingBug.zip" project
2. Press play
3. press "Load Scene2" in the game
4. After about 5 seconds exit Play Mode
5. Go to Assets > Screenshots and refresh the project folder (CTRL + R)
6. Inspect the screenshots
Expected Behavior: In both screenshots scene is illuminated the same way
Actual Behavior: In one screenshot the light is not fully baked when it is in another
Reproducible with: 2019.1.0a12, 2019.1.0a14, 2019.2.0a1
Does not reproduce with: 2017.4.18f1, 2018.3.1f1, 2019.1.0a11
Note: One screenshot is made at the start of the scene(scene2_1) and another one after 2 seconds(scene2_2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note:
The scene is using realtime GI which takes a couple of frames to converge.
So adding the following lines just before taking the first screenshot will provide the desired result:
while( !DynamicGI.isConverged )
{
yield return null;
}