Search Issue Tracker
Fixed
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
Comments (1)
-
castor76
May 12, 2022 13:33
Any chance of this getting fixed anytime soon? :(
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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