diff --git a/Packages/manifest.json b/Packages/manifest.json index f06fa9a..fb84c4b 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -10,11 +10,11 @@ } ], "dependencies": { - "com.atteneder.gltfast": "4.4.8", + "com.atteneder.gltfast": "5.1.0", "com.unity.collab-proxy": "1.14.1", "com.unity.ide.rider": "1.2.1", "com.unity.ide.visualstudio": "2.0.11", - "com.unity.ide.vscode": "1.2.3", + "com.unity.ide.vscode": "1.2.5", "com.unity.nuget.newtonsoft-json": "2.0.0", "com.unity.test-framework": "1.1.29", "com.unity.textmeshpro": "2.1.4", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index f78b26c..0db27db 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -1,15 +1,14 @@ { "dependencies": { "com.atteneder.gltfast": { - "version": "4.4.8", + "version": "5.1.0", "depth": 0, "source": "registry", "dependencies": { "com.unity.modules.jsonserialize": "1.0.0", "com.unity.modules.unitywebrequest": "1.0.0", - "com.unity.modules.unitywebrequesttexture": "1.0.0", - "com.unity.mathematics": "1.2.1", - "com.unity.burst": "1.4.11" + "com.unity.mathematics": "1.2.6", + "com.unity.burst": "1.6.6" }, "url": "https://package.openupm.com" }, @@ -23,7 +22,7 @@ } }, "com.unity.burst": { - "version": "1.4.11", + "version": "1.6.6", "depth": 1, "source": "registry", "dependencies": { @@ -64,14 +63,14 @@ "url": "https://packages.unity.com" }, "com.unity.ide.vscode": { - "version": "1.2.3", + "version": "1.2.5", "depth": 0, "source": "registry", "dependencies": {}, "url": "https://packages.unity.com" }, "com.unity.mathematics": { - "version": "1.2.1", + "version": "1.2.6", "depth": 1, "source": "registry", "dependencies": {}, diff --git a/Packages/webxr-input-profiles-loader/CHANGELOG.md b/Packages/webxr-input-profiles-loader/CHANGELOG.md index 27453d2..7b3c07b 100644 --- a/Packages/webxr-input-profiles-loader/CHANGELOG.md +++ b/Packages/webxr-input-profiles-loader/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Updated glTFast package to 5.1.0. + ## [0.4.0] - 2021-12-12 ### Changed - Updated glTFast package to 4.4.8. diff --git a/Packages/webxr-input-profiles-loader/Runtime/Scripts/InputProfileModel.cs b/Packages/webxr-input-profiles-loader/Runtime/Scripts/InputProfileModel.cs index e47e9ef..f488710 100644 --- a/Packages/webxr-input-profiles-loader/Runtime/Scripts/InputProfileModel.cs +++ b/Packages/webxr-input-profiles-loader/Runtime/Scripts/InputProfileModel.cs @@ -26,10 +26,10 @@ public async void Init(LayoutRouting layoutRouting, string url, System.Action(); } - gltfAsset.loadOnStartup = false; - gltfAsset.url = url; + gltfAsset.LoadOnStartup = false; + gltfAsset.Url = url; var deferAgent = gameObject.AddComponent(); - var loadResult = await gltfAsset.Load(gltfAsset.url, null, deferAgent); + var loadResult = await gltfAsset.Load(gltfAsset.Url, null, deferAgent); OnGltfLoaded(loadResult); } diff --git a/ProjectSettings/BurstAotSettings_WebGL.json b/ProjectSettings/BurstAotSettings_WebGL.json index 751473f..771d37b 100644 --- a/ProjectSettings/BurstAotSettings_WebGL.json +++ b/ProjectSettings/BurstAotSettings_WebGL.json @@ -1,6 +1,6 @@ { "MonoBehaviour": { - "Version": 3, + "Version": 4, "EnableBurstCompilation": true, "EnableOptimisations": true, "EnableSafetyChecks": false, @@ -8,6 +8,7 @@ "CpuMinTargetX32": 0, "CpuMaxTargetX32": 0, "CpuMinTargetX64": 0, - "CpuMaxTargetX64": 0 + "CpuMaxTargetX64": 0, + "OptimizeFor": 0 } } diff --git a/ProjectSettings/CommonBurstAotSettings.json b/ProjectSettings/CommonBurstAotSettings.json new file mode 100644 index 0000000..0293daf --- /dev/null +++ b/ProjectSettings/CommonBurstAotSettings.json @@ -0,0 +1,6 @@ +{ + "MonoBehaviour": { + "Version": 4, + "DisabledWarnings": "" + } +}