Search Issue Tracker
Active
Under Consideration for 2022.3.X
Fixed in 2023.3.0a7
Votes
5
Found in
2021.2.17f1
2022.2.0a8
2023.1.13f1
Issue ID
UUM-1946
Regression
No
[2D][URP] 2DRenderer Custom Lit, 2DLight texture sampling is black in Prefab editing mode and in the Inspector preview window
Reproduction steps:
1. Open the attached project "CustomLitBug.zip"
2. Go to Assets > Scenes and open "SampleScene" and observe the correct rendering for the "Box_001" GameObject for both Scene view and Game view.
3. Go to Assets and select the "Box_001" Prefab, observe the Inspector preview window
4. Open the "Box_001" Prefab and observe the Prefab editing mode
Expected result: Prefab is rendered with lit lighting condition in Prefab editing mode and in the inspector window
Actual result: Prefab is rendered with a black output lighting condition in Prefab editing mode and in the inspector window
Reproducible with: 2019.4.37f1, 2020.3.31f1, 2021.2.17f1, 2022.1.0b12, 2022.2.0a8
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2023.3.0a7):
Made a change to how the Light Texture Node works in Shadergraph, and fixed up some lighting code to support the change