Search Issue Tracker
Fixed in 12.x
Votes
1
Found in [Package]
12.x
Issue ID
1332194
Regression
No
[ShaderGraph] VFX with assigned SG show unexpected modifications in version control when the SG asset is modified
Repro steps:
1. Create a default VFX
2. Create a default VFX Shader Graph, open it, add a color to blackboard, plug it in the Base Color slot, and save the graph
3. Open the VFX and assign the Shader Graph. Save the VFX and close it.
4. Press Ctrl+S to save everything again (just in case)
5. Exit Unity
6. Commit the files to version control
7. Open Unity again
8. Open the ShaderGraph aset and change the graph flow (i.e. add a Multiply node between Color and Base Color, img attached)
9. Save the SG, press Ctrl+S to save everything again
10. Take a look in version control and observe that the VFX file shows as modified with it's default texture slot being removed
Expected outcome:
No change on the VFX side when making changes in ShaderGraph which do not affect exposed properties.
Notes:
- Video attached
- It seems to only repro if there's an exposed property in SG
- The editor restart seems to have an affect on the outcome
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment