Search Issue Tracker
Not Reproducible
Votes
6
Found in
5.4.0b13
Issue ID
788097
Regression
No
[Standalone] SetActiveScene removes lightmaps of all other loaded scenes
Steps to reproduce:
1. Open attached project
2. Rebuild lightmaps for both scenes
3. Build and run project
4. In build press "A", this will Additively load scene "scene2"
5. Now press "S", this will call SetActiveScene on "scene2", notice that lightmaps of "scene1" become glithcy
6. Finally, press D to unload scene "scene1"
7. In built project's .exe folder there should be "log.txt" which recorded list of LightmapSettings.lightmaps throughout steps 4-6
8. Right at the top of that file, there's list which shows that there are 7 lightmaps
9. In the middle of the log file there should be line "Set scene2 as active scene!". Notice that Lightmaps list after this line only contains two lightmaps
Not reproducible in editor.
Reproduced with: 5.3.1f1, 5.3.4p3, 5.4.0b14
Comments (1)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Murcho
Apr 14, 2016 23:56
Reproduced in 5.4.0b14