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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.