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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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.