Search Issue Tracker
Fixed in 5.5.1
Fixed in 5.5.X
Votes
0
Found in
5.5.0f3
Issue ID
856507
Regression
No
Error when compiling surface shader when dynamic loop depending on WorldNormalVector is present
Steps to reproduce:
1. Open attached project
2. Select "TestShader" in project view
3. Compile shader
Result: error "Surface shader Input structure needs INTERNAL_DATA for this WorldNormalVector or WorldReflectionVector usage" is thrown even though "INTERNAL_DATA" is added to the Input structure
4. Open "TestShader" and comment the for loop - the errors are gone
Reproducible with: 5.3.1f1, 5.4.3p2, 5.5.0f3, 5.6.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit Editor Window Creator becomes deformed and stretched when the “Enter” key is pressed
- “Assertion failed on expression: 'IsFinite(distanceForSort)’” is spammed in the Console when changing Trail GameObject position to a very high number
- VFX Graph Node documentation icon is pixelated
- Cutout box is covered in a shadow when the object that houses the cutout is casting shadows
- “Metal: Fragment shader missing texture binding at index 0 (_MainTex / Hidden/Preview Alpha)” warnings are thrown when selecting some TextMesh Pro Font Assets
Add comment