Skip to content

Commit

Permalink
Fixed a bug that would not save the scene correctly when adding the s…
Browse files Browse the repository at this point in the history
…cene data the first time.
  • Loading branch information
JustBuddy committed Mar 25, 2024
1 parent f108920 commit 994fed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Editor/Import.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ static void CopyBuddyworksScene()
Debug.Log(logHeader + logSuccess + "Scene setup finished!");

Debug.Log(logHeader + logInfo + "Saving scene...");
EditorSceneManager.MarkSceneDirty(EditorSceneManager.GetActiveScene());
EditorSceneManager.SaveScene(EditorSceneManager.GetActiveScene(), "Assets/BUDDYWORKS/Avatar Scene/Avatar Scene.unity", false);
Debug.Log(logHeader + logSuccess + "Avatar Scene successfully imported!");
return;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name" : "wtf.buddyworks.scene",
"displayName" : "BUDDYWORKS Avatar Scene",
"version" : "2.4.7",
"version" : "2.4.8",
"unity" : "2019.4",
"description" : "Avatar Scene. Use the toolbar menu to import the template.",
"author": {
Expand Down

0 comments on commit 994fed5

Please sign in to comment.