Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in [Package]
9.0.0-preview.34
Issue ID
1239564
Regression
No
Properties values do not rebind by the property names when changing Shader Graph shaders
How to reproduce:
1. Open the attached project "1239564.zip"
2. Open the "Test" Scene
3. Select the "Cube" GameObject
4. Change "CustomMat" Material shader from "Shader Graphs/Test" to "Shader Graphs/Test0" and then to "Shader Graphs/Test1"
Expected result: values of shader properties are rebound by the property Display Name when changing the shader
Actual result: values of shader properties are only rebound by the property Reference Name, hence, leaving some properties empty
Reproducible with: 2018.4.25f1 (2.0.6-preview, 4.10.0-preview), 2019.4.4f1 (7.4.1), 2020.1.0b16 (8.2.0), 2020.2.0a18 (8.1.0, 8.2.0, 9.0.0-preview.34)
Note:
- Currently, values seem to be rebound only by the property Reference Number, hence, if it does not match between shaders, property in the new shader is left empty
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
A solution for this issue is under design, but for now the workaround is to make sure your reference names match, rather than display names.