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
- [Android] Error "Blitter is already initialized" is present when Adaptive Probe Volumes are used with OpenGLES3
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
Add comment