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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.