Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.4.X, 2019.2.X
Votes
0
Found in
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1112978
Regression
No
The Prefab Editing Environment skybox and light data are ignored when entering "Prefab Mode"
How to reproduce:
1. Open the user's project
2. Open Scenes > Bug
3. Select "Cube (1)" and enter Prefab Mode
Expected result: Prefab Mode scene looks exactly like the "Prefab-Environment" scene.
Actual result: Prefab Mode loses skybox and light data.
Reproducible with - 2019.2.0a8, 2019.1.0b7, 2018.3.9f1
Could not test with - 2017.4 (No nested prefabs)
Comments (3)
-
Mariusz-Born7
Dec 14, 2021 19:37
It doesn't work in 2020.3.24 HDRP. Prefab preview scene is black, without skybox and lights.
-
Stardog
Apr 14, 2020 00:36
Still happening in 2019.2.3f1.
-
msfredb7
Feb 10, 2020 15:39
If anybody encounters the issue. Try deleting the "Library" folder and restarting Unity. This worked for me. It seems like the old prefab environment was being cached.
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2019.1):
Skybox and lighting for Prefab Mode environment scenes now works correctly. This requires the lighting settings of the environment scene to have Auto Bake disabled.