Skip to content

Commit 5867b9b

Browse files
devdeeprcKBonds
andauthored
Updated samples to Unity 2021 (#155)
* Convert all projects to scoped registries and upgrade BasicSample to 2021 (#145) * Convert all projects to scoped registries and upgrade BasicSample to 2021 * downgrade input system to 1.4.4 and rm unnecessary files * Split project into BasicSample2020 and BasicSample2021 * upgrade com.unity.inputsystem to 1.5.1 * Updated samples to 2021 * Rebased * addressed comments --------- Co-authored-by: Keaton Bonds <[email protected]>
1 parent 666f809 commit 5867b9b

36 files changed

+649
-223
lines changed

AzureSpatialAnchorsSample/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,9 @@ crashlytics-build.properties
7373

7474
# Custom additions (don't remove when updating!)
7575
/[Aa]pp*/
76+
77+
# Certificates
78+
*.cert
79+
*.privkey
80+
*.pfx
81+
*.pfx.meta
-2.42 KB
Binary file not shown.

AzureSpatialAnchorsSample/Assets/WSATestCertificate.pfx.meta

Lines changed: 0 additions & 7 deletions
This file was deleted.

AzureSpatialAnchorsSample/Assets/XR/Settings/OpenXR Package Settings.asset

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,26 @@ MonoBehaviour:
4040
company: Microsoft
4141
priority: 0
4242
required: 0
43+
--- !u!114 &-7699304314853719189
44+
MonoBehaviour:
45+
m_ObjectHideFlags: 0
46+
m_CorrespondingSourceObject: {fileID: 0}
47+
m_PrefabInstance: {fileID: 0}
48+
m_PrefabAsset: {fileID: 0}
49+
m_GameObject: {fileID: 0}
50+
m_Enabled: 1
51+
m_EditorHideFlags: 0
52+
m_Script: {fileID: 11500000, guid: c4b862ee14fb479fbfe5fffe655d3ed3, type: 3}
53+
m_Name: MetaQuestTouchProControllerProfile Standalone
54+
m_EditorClassIdentifier:
55+
m_enabled: 0
56+
nameUi: Meta Quest Touch Pro Controller Profile
57+
version: 0.0.1
58+
featureIdInternal: com.unity.openxr.feature.input.metaquestpro
59+
openxrExtensionStrings: XR_FB_touch_controller_pro
60+
company: Unity
61+
priority: 0
62+
required: 0
4363
--- !u!114 &-7328750514922692618
4464
MonoBehaviour:
4565
m_ObjectHideFlags: 0
@@ -326,6 +346,7 @@ MonoBehaviour:
326346
- {fileID: 2333696855832534005}
327347
- {fileID: 4364221165063486383}
328348
- {fileID: 1467233511560887372}
349+
- {fileID: 3737172170738308151}
329350
- {fileID: -3285720064341131936}
330351
- {fileID: -6546865696005500434}
331352
- {fileID: -7265760667752215268}
@@ -551,6 +572,7 @@ MonoBehaviour:
551572
- {fileID: -975029107727130018}
552573
- {fileID: -7312615684370106746}
553574
- {fileID: -7328750514922692618}
575+
- {fileID: -7699304314853719189}
554576
- {fileID: -2514434135902119190}
555577
- {fileID: 3072178605382767156}
556578
- {fileID: -6238270412415427344}
@@ -602,6 +624,26 @@ MonoBehaviour:
602624
company: Unity
603625
priority: 0
604626
required: 0
627+
--- !u!114 &3737172170738308151
628+
MonoBehaviour:
629+
m_ObjectHideFlags: 0
630+
m_CorrespondingSourceObject: {fileID: 0}
631+
m_PrefabInstance: {fileID: 0}
632+
m_PrefabAsset: {fileID: 0}
633+
m_GameObject: {fileID: 0}
634+
m_Enabled: 1
635+
m_EditorHideFlags: 0
636+
m_Script: {fileID: 11500000, guid: c4b862ee14fb479fbfe5fffe655d3ed3, type: 3}
637+
m_Name: MetaQuestTouchProControllerProfile WSA
638+
m_EditorClassIdentifier:
639+
m_enabled: 0
640+
nameUi: Meta Quest Touch Pro Controller Profile
641+
version: 0.0.1
642+
featureIdInternal: com.unity.openxr.feature.input.metaquestpro
643+
openxrExtensionStrings: XR_FB_touch_controller_pro
644+
company: Unity
645+
priority: 0
646+
required: 0
605647
--- !u!114 &4364221165063486383
606648
MonoBehaviour:
607649
m_ObjectHideFlags: 0

AzureSpatialAnchorsSample/Packages/manifest.json

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"dependencies": {
3-
"com.microsoft.azure.spatial-anchors-sdk.core": "file:../../MixedRealityPackages/com.microsoft.azure.spatial-anchors-sdk.core-2.13.0.tgz",
4-
"com.microsoft.azure.spatial-anchors-sdk.windows": "file:../../MixedRealityPackages/com.microsoft.azure.spatial-anchors-sdk.windows-2.13.0.tgz",
5-
"com.microsoft.mixedreality.openxr": "file:../../MixedRealityPackages/com.microsoft.mixedreality.openxr-1.8.0.tgz",
3+
"com.microsoft.azure.spatial-anchors-sdk.core": "2.13.0",
4+
"com.microsoft.azure.spatial-anchors-sdk.windows": "2.13.0",
5+
"com.microsoft.mixedreality.openxr": "1.8.0",
66
"com.microsoft.mixedreality.openxr.sampleshared": "file:../../SampleShared",
7-
"com.microsoft.mixedreality.toolkit.foundation": "file:../../MixedRealityPackages/com.microsoft.mixedreality.toolkit.foundation-2.8.3.tgz",
8-
"com.microsoft.mixedreality.toolkit.standardassets": "file:../../MixedRealityPackages/com.microsoft.mixedreality.toolkit.standardassets-2.8.3.tgz",
7+
"com.microsoft.mixedreality.toolkit.foundation": "2.8.3",
8+
"com.microsoft.mixedreality.toolkit.standardassets": "2.8.3",
99
"com.microsoft.mrtk.graphicstools.unity": "https://github.com/microsoft/MixedReality-GraphicsTools-Unity.git?path=/com.microsoft.mrtk.graphicstools.unity#v0.5.0",
10-
"com.unity.ide.rider": "3.0.18",
11-
"com.unity.ide.visualstudio": "2.0.17",
10+
"com.unity.ide.rider": "3.0.21",
11+
"com.unity.ide.visualstudio": "2.0.18",
1212
"com.unity.ide.vscode": "1.2.5",
1313
"com.unity.textmeshpro": "3.0.6",
14-
"com.unity.timeline": "1.6.4",
14+
"com.unity.timeline": "1.6.5",
1515
"com.unity.ugui": "1.0.0",
16-
"com.unity.xr.arfoundation": "4.2.7",
17-
"com.unity.xr.management": "4.2.1",
18-
"com.unity.xr.openxr": "1.6.0",
16+
"com.unity.xr.arfoundation": "4.2.8",
17+
"com.unity.xr.management": "4.3.3",
18+
"com.unity.xr.openxr": "1.7.0",
1919
"com.unity.modules.ai": "1.0.0",
2020
"com.unity.modules.androidjni": "1.0.0",
2121
"com.unity.modules.animation": "1.0.0",
@@ -47,5 +47,18 @@
4747
"com.unity.modules.vr": "1.0.0",
4848
"com.unity.modules.wind": "1.0.0",
4949
"com.unity.modules.xr": "1.0.0"
50-
}
51-
}
50+
},
51+
"scopedRegistries": [
52+
{
53+
"name": "MR-Unity-Packages",
54+
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry/",
55+
"scopes": [
56+
"com.microsoft.mrtk",
57+
"com.microsoft.mixedreality",
58+
"com.microsoft.windows.mixedreality",
59+
"com.microsoft.azure",
60+
"com.microsoft.spatialaudio"
61+
]
62+
}
63+
]
64+
}

AzureSpatialAnchorsSample/Packages/packages-lock.json

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
11
{
22
"dependencies": {
33
"com.microsoft.azure.spatial-anchors-sdk.core": {
4-
"version": "file:../../MixedRealityPackages/com.microsoft.azure.spatial-anchors-sdk.core-2.13.0.tgz",
4+
"version": "2.13.0",
55
"depth": 0,
6-
"source": "local-tarball",
6+
"source": "registry",
77
"dependencies": {
88
"com.unity.subsystemregistration": "1.0.6",
99
"com.unity.xr.arsubsystems": "4.0.8",
1010
"com.unity.xr.arfoundation": "4.0.12"
11-
}
11+
},
12+
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry"
1213
},
1314
"com.microsoft.azure.spatial-anchors-sdk.windows": {
14-
"version": "file:../../MixedRealityPackages/com.microsoft.azure.spatial-anchors-sdk.windows-2.13.0.tgz",
15+
"version": "2.13.0",
1516
"depth": 0,
16-
"source": "local-tarball",
17+
"source": "registry",
1718
"dependencies": {
1819
"com.microsoft.azure.spatial-anchors-sdk.core": "2.13.0"
19-
}
20+
},
21+
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry"
2022
},
2123
"com.microsoft.mixedreality.openxr": {
22-
"version": "file:../../MixedRealityPackages/com.microsoft.mixedreality.openxr-1.8.0.tgz",
24+
"version": "1.8.0",
2325
"depth": 0,
24-
"source": "local-tarball",
26+
"source": "registry",
2527
"dependencies": {
2628
"com.unity.xr.arfoundation": "4.1.7",
2729
"com.unity.xr.management": "4.2.0",
2830
"com.unity.xr.openxr": "1.5.3",
2931
"com.unity.xr.core-utils": "2.1.0"
30-
}
32+
},
33+
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry"
3134
},
3235
"com.microsoft.mixedreality.openxr.sampleshared": {
3336
"version": "file:../../SampleShared",
@@ -39,20 +42,22 @@
3942
}
4043
},
4144
"com.microsoft.mixedreality.toolkit.foundation": {
42-
"version": "file:../../MixedRealityPackages/com.microsoft.mixedreality.toolkit.foundation-2.8.3.tgz",
45+
"version": "2.8.3",
4346
"depth": 0,
44-
"source": "local-tarball",
47+
"source": "registry",
4548
"dependencies": {
4649
"com.microsoft.mixedreality.toolkit.standardassets": "2.8.3"
47-
}
50+
},
51+
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry"
4852
},
4953
"com.microsoft.mixedreality.toolkit.standardassets": {
50-
"version": "file:../../MixedRealityPackages/com.microsoft.mixedreality.toolkit.standardassets-2.8.3.tgz",
54+
"version": "2.8.3",
5155
"depth": 0,
52-
"source": "local-tarball",
56+
"source": "registry",
5357
"dependencies": {
5458
"com.unity.textmeshpro": "2.1.4"
55-
}
59+
},
60+
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry"
5661
},
5762
"com.microsoft.mrtk.graphicstools.unity": {
5863
"version": "https://github.com/microsoft/MixedReality-GraphicsTools-Unity.git?path=/com.microsoft.mrtk.graphicstools.unity#v0.5.0",
@@ -69,7 +74,7 @@
6974
"url": "https://packages.unity.com"
7075
},
7176
"com.unity.ide.rider": {
72-
"version": "3.0.18",
77+
"version": "3.0.21",
7378
"depth": 0,
7479
"source": "registry",
7580
"dependencies": {
@@ -78,7 +83,7 @@
7883
"url": "https://packages.unity.com"
7984
},
8085
"com.unity.ide.visualstudio": {
81-
"version": "2.0.17",
86+
"version": "2.0.18",
8287
"depth": 0,
8388
"source": "registry",
8489
"dependencies": {
@@ -94,7 +99,7 @@
9499
"url": "https://packages.unity.com"
95100
},
96101
"com.unity.inputsystem": {
97-
"version": "1.4.4",
102+
"version": "1.6.1",
98103
"depth": 1,
99104
"source": "registry",
100105
"dependencies": {
@@ -104,7 +109,7 @@
104109
},
105110
"com.unity.subsystemregistration": {
106111
"version": "1.1.0",
107-
"depth": 2,
112+
"depth": 1,
108113
"source": "registry",
109114
"dependencies": {
110115
"com.unity.modules.subsystems": "1.0.0"
@@ -132,7 +137,7 @@
132137
"url": "https://packages.unity.com"
133138
},
134139
"com.unity.timeline": {
135-
"version": "1.6.4",
140+
"version": "1.6.5",
136141
"depth": 0,
137142
"source": "registry",
138143
"dependencies": {
@@ -153,18 +158,18 @@
153158
}
154159
},
155160
"com.unity.xr.arfoundation": {
156-
"version": "4.2.7",
161+
"version": "4.2.8",
157162
"depth": 0,
158163
"source": "registry",
159164
"dependencies": {
160-
"com.unity.xr.arsubsystems": "4.2.7",
165+
"com.unity.xr.arsubsystems": "4.2.8",
161166
"com.unity.xr.management": "4.0.1",
162167
"com.unity.modules.particlesystem": "1.0.0"
163168
},
164169
"url": "https://packages.unity.com"
165170
},
166171
"com.unity.xr.arsubsystems": {
167-
"version": "4.2.7",
172+
"version": "4.2.8",
168173
"depth": 1,
169174
"source": "registry",
170175
"dependencies": {
@@ -174,7 +179,7 @@
174179
"url": "https://packages.unity.com"
175180
},
176181
"com.unity.xr.core-utils": {
177-
"version": "2.1.0",
182+
"version": "2.2.1",
178183
"depth": 1,
179184
"source": "registry",
180185
"dependencies": {
@@ -193,20 +198,19 @@
193198
"url": "https://packages.unity.com"
194199
},
195200
"com.unity.xr.management": {
196-
"version": "4.2.1",
201+
"version": "4.3.3",
197202
"depth": 0,
198203
"source": "registry",
199204
"dependencies": {
200205
"com.unity.modules.subsystems": "1.0.0",
201206
"com.unity.modules.vr": "1.0.0",
202207
"com.unity.modules.xr": "1.0.0",
203-
"com.unity.xr.legacyinputhelpers": "2.1.7",
204-
"com.unity.subsystemregistration": "1.0.6"
208+
"com.unity.xr.legacyinputhelpers": "2.1.7"
205209
},
206210
"url": "https://packages.unity.com"
207211
},
208212
"com.unity.xr.openxr": {
209-
"version": "1.6.0",
213+
"version": "1.7.0",
210214
"depth": 0,
211215
"source": "registry",
212216
"dependencies": {
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!387306366 &1
4+
MemorySettings:
5+
m_ObjectHideFlags: 0
6+
m_EditorMemorySettings:
7+
m_MainAllocatorBlockSize: -1
8+
m_ThreadAllocatorBlockSize: -1
9+
m_MainGfxBlockSize: -1
10+
m_ThreadGfxBlockSize: -1
11+
m_CacheBlockSize: -1
12+
m_TypetreeBlockSize: -1
13+
m_ProfilerBlockSize: -1
14+
m_ProfilerEditorBlockSize: -1
15+
m_BucketAllocatorGranularity: -1
16+
m_BucketAllocatorBucketsCount: -1
17+
m_BucketAllocatorBlockSize: -1
18+
m_BucketAllocatorBlockCount: -1
19+
m_ProfilerBucketAllocatorGranularity: -1
20+
m_ProfilerBucketAllocatorBucketsCount: -1
21+
m_ProfilerBucketAllocatorBlockSize: -1
22+
m_ProfilerBucketAllocatorBlockCount: -1
23+
m_TempAllocatorSizeMain: -1
24+
m_JobTempAllocatorBlockSize: -1
25+
m_BackgroundJobTempAllocatorBlockSize: -1
26+
m_JobTempAllocatorReducedBlockSize: -1
27+
m_TempAllocatorSizeGIBakingWorker: -1
28+
m_TempAllocatorSizeNavMeshWorker: -1
29+
m_TempAllocatorSizeAudioWorker: -1
30+
m_TempAllocatorSizeCloudWorker: -1
31+
m_TempAllocatorSizeGfx: -1
32+
m_TempAllocatorSizeJobWorker: -1
33+
m_TempAllocatorSizeBackgroundWorker: -1
34+
m_TempAllocatorSizePreloadManager: -1
35+
m_PlatformMemorySettings: {}

0 commit comments

Comments
 (0)