From dcc1650dbd4a1782164ede290ca24885b2fe8ff5 Mon Sep 17 00:00:00 2001 From: bd_ Date: Wed, 8 Feb 2023 22:34:50 +0900 Subject: [PATCH] fix: make generated assets easily visible in play mode --- Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs b/Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs index 5d38c348..af45db47 100644 --- a/Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs +++ b/Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs @@ -149,7 +149,7 @@ namespace nadena.dev.modular_avatar.core.editor { AssetDatabase.StartAssetEditing(); nowProcessing = true; - + BoneDatabase.ResetBones(); PathMappings.Init(vrcAvatarDescriptor.gameObject); ClonedMenuMappings.Clear(); @@ -210,6 +210,8 @@ namespace nadena.dev.modular_avatar.core.editor ClonedMenuMappings.Clear(); ErrorReportUI.MaybeOpenErrorReportUI(); + + AssetDatabase.SaveAssets(); } } }