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

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

Comments (1)

  1. castor76

    May 12, 2022 13:33

    Any chance of this getting fixed anytime soon? :(

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.