Search Issue Tracker
By Design
Votes
0
Found in [Package]
11.0.0
Issue ID
1354922
Regression
No
[Universal RP] The Prefab in the Inspector preview is dark when uses high ambient color
How to reproduce:
1. Open the user's attached "PrefabPreviewRepro.zip"
2. Select the "Cube" Prefab in the Project window
3. Observe the GameObject in the Inspector preview
Expected result: The Prefab in the Inspector preview is bright
Actual result: The Prefab in the Inspector preview is dark
Reproducible with: 7.7.1 (2019.4.29f1), 10.6.0 (2020.3.16f1), 11.0.0 (2021.1.17f1)
Could not test with: 12.0.0 (Due to the user's Shader error "Shader error in 'Test/Ambient Only': invalid subscript 'posWS' at line 117 (on d3d11)")
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note:
This is by design the ambient color is set to dark gray in the preview window. You can change the prefab environment instead. This can be done by script(see forum discussion for suggestion: https://forum.unity.com/threads/editor-callback-for-prefab-mode-being-open.566803/) or by dragging the scene you wish to use into the given setting described in: https://docs.unity3d.com/Manual/EditingInPrefabMode.html.