Changes to VRC_Avatar Descriptor don't mark the scene as modified so changes do not get saved
hakanai
Steps to reproduce
==============
- Clone project from source control (can give access to GitHub repo if necessary to reproduce)
- Open the project in Unity
- Open the scene
- Click on the main avatar model
- In VRC_Avatar Descriptor, set Custom Standing Anims to CustomOverride
Expected: In Hierarchy, scene should get a
next to it to indicate that it has been modified from the saved version* Actual: In Hierarchy, scene is 'unmodified'
- Try to save the scene
* Expected: Scene gets saved
* Actual: Files on disk do not change
- Quit Unity and reopen the project again
* Expected: Custom Standing Anims is still set
* Actual: Custom Standing Anims has been set back to None (because it wasn't saved)
Workaround
=========
After making changes to the model at step 5 above, add a cube to the scene and delete it again.
The scene name will now have the * on it, saving will save the Custom Standing Anims and after reopening the project the setting is still there.
Hypothesis
=========
VRChat SDK isn't setting the 'scene modified' flag when properties change in VRC_Avatar Descriptor.
This might also be behind the other problem I an experiencing where the custom animation overrides are not being used, assuming that the plugin might be pulling this from the saved files instead of using the correct in-memory values, but I won't be able to verify for another 8 hours or so.
Log In
tsuna vr
Same issue. Very easy to overlook.