Unity Issue Tracker - Undo not working correctly with Mesh Output's shader
Fixed
UUM-10400
Undo not working correctly with Mesh Output's shader
Unity: Visual Effects
VFX
Fixed
2023.1.X
2022.3.X
2021.3.X
This issue is related to this one: https://jira.unity3d.com/browse/UUM-561
Verified in version 2022.3.6f1
Steps to repro:
1) Create a new VFX graph, open it
2) Add Output Mesh Block
3) Assign some new SG to its Shader property, perform Undo (notice that undo operation name is generic "VFXGraph" )
4) Observe that shader property stayed the same and an error got thrown:
Material 'Shader Graphs/Lit SG 1' with Shader 'Shader Graphs/Lit SG 1' doesn't have a texture property '_MainTex'
UnityEditor.Undo:Internal_CallUndoRedoPerformed ()
Prioritise and Follow this issue
Have a workaround or additional info about this issue?