Search Issue Tracker
Fixed
Fixed in 2022.3.18f1, 2023.2.7f1, 2023.3.0b2
Votes
0
Found in
2023.3.0a17
Issue ID
UUM-59203
Regression
No
Dynamic branching shader code can't be shared with passes that don't declare the keywords
If an include file contains dynamic branching code based on dynamic_branch keywords then all the passes including the file must declare those keywords. Otherwise the compilation will fail.
This is essentially preventing users from using dynamic branching in shared utility includes.
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
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
- [UaaL] Freeze on "GetLightingSettingsOrDefaultsFallback()" when rotating device screen after unloading Unity framework
- A white vertical artifact is present when any Material from HDRI is used for a panoramic skybox
- Editor freezes when handling Havok collision interactions between a thin collider and the player controller
- No blue outline is shown on a folder in the Project tab when an external file is being dragged over the folder
Resolution Note (fix version 2023.3.0b2):
Added auto-generated _KEYWORD_DECLARED defines for all declared keywords. This allows the shader authors to structure their shader includes in a way that depend on the presence of the specific keywords.
Resolution Note (fix version 2023.2.7f1):
Added auto-generated _KEYWORD_DECLARED defines for all declared keywords. This allows the shader authors to structure their shader includes in a way that depend on the presence of the specific keywords.
Resolution Note (fix version 2022.3.18f1):
Added auto-generated _KEYWORD_DECLARED defines for all declared keywords. This allows the shader authors to structure their shader includes in a way that depend on the presence of the specific keywords.