Search Issue Tracker
Fixed
Fixed in 2022.2.10f1, 2023.1.0b7, 2023.2.0a4
Votes
0
Found in
2022.2.0f1
2023.1.0a19
2023.2.0a1
Issue ID
UUM-21675
Regression
No
Forward+: Divergence warning in LightCookieInput.hlsl when using cookie
Steps to reproduce:
1. Open the “14.0.3 SG Shader Error” project
2. Select the “New Shader Graph” shader
3. Observe the shader “Errors” property in the Inspector window
Expected result: Shows no warnings
Actual result: Shows warning “gradient instruction used in a loop with varying iteration, partial derivatives may have undefined value” in LightCookieInput.hlsl:102
Reproducible with: 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a19
Not reproducible with: 2023.1.0a20
Reproduced on: macOS Monterey 12.2 (Intel)
Note: The previous warning message is gone in 2023.1.0a20, but two other warnings appeared:
“gradient instruction used in a loop with varying iteration, partial derivatives may have undefined value” in GlobalIllumination.hlsl:205
“gradient instruction used in a loop with varying iteration, partial derivatives may have undefined value” in GlobalIllumination.hlsl:206
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment