Search Issue Tracker
By Design
Votes
0
Found in
2020.3.40f1
2021.3.10f1
2022.1.17f1
2022.2.0b8
2023.1.0a11
Issue ID
UUM-15641
Regression
No
HasProperty misleadingly returns true when no "_ST"-named property exists in Shader file
How to reproduce:
1. Open the attached “ShaderGraphST” project
2. Select the “Unlit_CustomShader” Shader
3. Select the “Bugs → List Texture Properties” button in the menu
Expected result: HasProperty returns false meaning that “baseColorTexture_ST” property doesn’t exist and no warning is thrown
Actual result: HasProperty returns true meaning that “baseColorTexture_ST” property exists and a corresponding warning is thrown
Reproducible with: 2020.3.40f1, 2021.3.10f1, 2022.1.17f1, 2022.2.0b8, 2023.1.0a11
Reproduced on: macOS 12.5 (Intel), Windows 11
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
- Text overlap and is unreadable in Inspector > Terrain Paint Texture after creating new Terrain Layer
- Event "XRInputSubsystem.trackingOriginUpdated" triggers twice when recentering the view
- UITK TextField value is overwritten incorrectly by the converter result when Binding Mode is set to "To Source"
- Out of memory crash when selecting more than 80000 Assets simultaneously
- UI Toolkit Button text is not rendered when the Button has fixed height with specific Icon font
Resolution Note:
Auxiliary properties for textures are added to the material for each texture declared in the shader. The "_ST" one is not added if the [NoScaleOffset] attribute is present on the texture.
When you declare a custom vector property with the same name, it won't allow you to set the data on a non-texture property.