[SDK] Changes in VRC_AvatarDescriptor does not mark scene as dirty.
a
aytimothy
When you edit a parameter on your avatar descriptor, Unity does not mark the scene as dirty. To save your work, you have to edit something else (to dirty the scene) and THEN save it.
This is probably because of the use of a
CustomEditor
that does not EditorSceneManager.MarkSceneDirty
or EditorUtility.SetDirty
when a value is changed.It's really annoying because if I forget to mark the scene as dirty (ie. change a value in one of Unity's default components), all my changes aren't saved, even when you use the "Save" button because to Unity, there's
nothing
to save, even though there is.---
If you don't know what I mean, open a scene with an avatar, change the eye, press Ctrl+S and reload it. DO NOT CHANGE ANY OTHER VALUE; not even a transform.
In fact, you don't even need to press Ctrl+S since Unity doesn't save anything because the scene isn't marked as dirty.
Log In
Observer.
you can right click the scene in the hierarchy and save it at any time, marked dirty or not.
I know it doesn't fix the issue but there is your workaround.
A
Avengeharley
thats because the sdk is not really made for mac they are still making one/ making in compatible the ne that is now out works also kinda for windows but also not that well so the sdk is allso messed up for now
a
aytimothy
Avengeharley: I'm on Windows :P