Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.2p1
Issue ID
766188
Regression
Yes
[HLSLcc] Accessing property by indexer in a loop fails to compile with an ERROR: Use of undeclared identifier 'phase0_Input0'
How to reproduce:
1. Open attached project
2. Allow the shader to compile
- Note the errors thrown in the console:
GLSL compilation failed:
ERROR: 0:17: Use of undeclared identifier 'phase0_Input0'
ERROR: 0:18: Use of undeclared identifier 'phase0_Input0'
ERROR: 0:19: Use of undeclared identifier 'phase0_Input0'
ERROR: 0:20: Use of undeclared identifier 'phase0_Input0'
ERROR: 0:21: Use of undeclared identifier 'phase0_Input0'
ERROR: 0:25: Use of undeclared identifier 'phase0_Input0'
- Reproduced in Version 5.4.0b8 (f1df44d39d69), Version 5.4.0b7 (83df6fa5e23f), Version 5.3.3p1 (828971bd30e1)
- Not reproducible in Version 5.3.1p4 (9ca6c7a9c23e)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment