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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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