Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Publish version 3.1.7
  • Loading branch information
TayouVR committed Dec 19, 2022
commit 6a524aef4306333d6c40155cc208030e56e655b7
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ static SDK3AImportFix()
}
else
{
#pragma warning disable 4014
ReloadSDK();
#pragma warning restore 4014
File.WriteAllText(canaryFilePath, avatarsReimportedKey);
}
}
Expand All @@ -36,7 +38,10 @@ static SDK3AImportFix()
[MenuItem("VRChat SDK/Samples/Avatar Dynamics Robot Avatar")]
private static void OpenAvatarsExampleScene()
{
EditorSceneManager.OpenScene(exampleScenePath);
if(EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo())
{
EditorSceneManager.OpenScene(exampleScenePath);
}
}

public static async Task ReloadSDK()
Expand Down
Git LFS file not shown
2 changes: 1 addition & 1 deletion packages/com.vrchat.avatars/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vrchat.avatars",
"displayName": "VRChat SDK - Avatars",
"version": "3.1.6",
"version": "3.1.7",
"unity": "2019.4",
"description": "Our powerful Avatars 3.0 System",
"vpmDependencies": {
Expand Down
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
2 changes: 1 addition & 1 deletion packages/com.vrchat.base/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vrchat.base",
"displayName": "VRChat SDK - Base",
"version": "3.1.6",
"version": "3.1.7",
"unity": "2019.4",
"description": "Base for VRChat SDK",
"vrchatVersion": "2022.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override void OnInspectorGUI()
sceneDescriptor.gameObject.AddComponent<VRC.Core.PipelineManager>();
}

if (sceneDescriptor.spawns.Length == 0)
if (sceneDescriptor.spawns == null || sceneDescriptor.spawns.Length == 0)
{
sceneDescriptor.spawns = new[] { sceneDescriptor.transform };
UnityEngine.Debug.LogWarning($"Scene Descriptor spawns were empty, adding a default Spawn.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ static SDK3ImportFix()
}
else
{
#pragma warning disable 4014
ReloadSDK();
#pragma warning restore 4014
File.WriteAllText(canaryFilePath, worldsReimportedKey);
}
}
Expand All @@ -36,7 +38,10 @@ static SDK3ImportFix()
[MenuItem("VRChat SDK/Samples/UdonExampleScene")]
private static void OpenSampleUdonExampleScene()
{
EditorSceneManager.OpenScene(exampleScenePath);
if(EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo())
{
EditorSceneManager.OpenScene(exampleScenePath);
}
}

public static async Task ReloadSDK()
Expand Down
Git LFS file not shown
2 changes: 1 addition & 1 deletion packages/com.vrchat.worlds/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vrchat.worlds",
"displayName": "VRChat SDK - Worlds",
"version": "3.1.6",
"version": "3.1.7",
"unity": "2019.4",
"description": "Tools for creating interactive VRChat worlds using Udon",
"dependencies": {
Expand Down