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

Package: Scriptable Render Pipeline Universal

-

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)")

  1. 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.

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.