You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EditorGUILayout.LabelField("To build applications targeting AR/VR headsets you need to specify an XR pipeline. "
191
+
EditorGUILayout.LabelField("To build applications for AR/VR headsets you need to specify an XR pipeline. "
191
192
#if UNITY_2019_3_OR_NEWER
192
-
+$"Unity currently provides the following pipelines in this version ({Application.unityVersion}). Please choose the one you would like to use. "
193
+
+$"Unity currently provides the following pipelines in this version ({Application.unityVersion}). Please choose the one you would like to use:"
194
+
+$"\n\nLegacy XR (Recommended) - Choose this if you want maximum stability and are willing to spend more effort when upgrading the project to Unity 2020. Supports HoloLens, Windows Mixed Reality/OpenVR/Oculus headset."
195
+
+$"\n\nXR SDK/XR Management - Choose this if you want to have a smoother upgrade path to Unity 2020. Supports HoloLens, Windows Mixed Reality/Oculus/Magic Leap headset. Note: do NOT choose this if you anticipate using Azure Spatial Anchors as there is a known compatibility issue."
193
196
#else
194
-
+$"Unity currently provides the Legacy XR pipeline in this version ({Application.unityVersion}). Please click on the Enable Legacy XR button if you are targeting AR/VR headsets. "
197
+
+$"Unity currently provides the Legacy XR pipeline in this version ({Application.unityVersion}). Please click on the Enable Legacy XR button if you are targeting AR/VR headsets (e.g. HoloLens, Windows Mixed Reality headset, OpenVR headset etc.). "
195
198
#endif // UNITY_2019_3_OR_NEWER
196
-
+"You may also skip this step and configure manually later. "
197
-
+$"More information can be found at {XRPipelineDocsUrl}",EditorStyles.wordWrappedLabel);
199
+
+"\n\n\nYou may also skip this step and configure manually later.",EditorStyles.wordWrappedLabel);
EditorGUILayout.LabelField("XR Pipeline Setting - LegacyXR in use",EditorStyles.boldLabel);
232
-
EditorGUILayout.LabelField("To build applications targeting AR/VR headsets you need to specify an XR pipeline. "
237
+
EditorGUILayout.LabelField("To build applications for AR/VR headsets you need to specify an XR pipeline. "
233
238
+$"\n\nThe LegacyXR pipeline is detected in the project. Please be aware that the LegacyXR pipeline is deprecated in Unity 2019 and is removed in Unity 2020."
234
-
+$"\n\nFor more information on alternative pipelines, please visit {XRPipelineDocsUrl}",EditorStyles.wordWrappedLabel);
239
+
+$"\n\nFor more information on alternative pipelines, please click on the Learn more button.",EditorStyles.wordWrappedLabel);
EditorGUILayout.LabelField("XR Pipeline Setting - Enabling the XR SDK Pipeline",EditorStyles.boldLabel);
333
-
EditorGUILayout.LabelField("To build applications targeting AR/VR headsets you need to enable an XR pipeline. "
334
-
+"With this pipeline there are two categories of provider plugins for the XR SDK pipeline:"
335
-
+$"\n\nThe Unity OpenXR plugin (possibly along with vender-specific extension plugins) is recommended if you are targeting HoloLens 2 and/or Windows Mixed Reality (WMR) headsets."
336
-
+"\nThe built-in plugins provided by Unity offers a wide range of supported devices, including HoloLens 2 and WMR headsets. "
337
-
+$"\n\nMore information can be found at {XRPipelineDocsUrl}.",EditorStyles.wordWrappedLabel);
338
+
EditorGUILayout.LabelField("To build applications for AR/VR headsets you need to enable an XR pipeline. "
339
+
+"With the XR SDK pipeline there are two categories of provider plugins:"
340
+
+$"\n\nUnity OpenXR plugin (recommended) - Choose this if you want to embrace the new industry standard and easily support a wide range of AR/VR devices in the future! Currently officially supports HoloLens 2 and Windows Mixed Reality headsets with other devices coming soon."
341
+
+"\nBuilt-in Unity plugin (non-OpenXR) - Choose this if your application needs to support platforms beyond just HoloLens 2 and Windows Mixed Reality headsets (e.g. needs to support Oculus/Magic Leap headsets) today."
342
+
+$"\n\nFor more information, please click on the Learn more button.",EditorStyles.wordWrappedLabel);
338
343
CreateSpace(15);
339
344
using(newEditorGUILayout.HorizontalScope())
340
345
{
341
-
if(GUILayout.Button("Use the Unity OpenXR plugin"))
346
+
if(GUILayout.Button("Use the Unity OpenXR plugin (recommended)"))
EditorGUILayout.LabelField("XR Pipeline Setting - Enabling the XR SDK Pipeline with built-in Plugins",EditorStyles.boldLabel);
384
+
EditorGUILayout.LabelField("XR Pipeline Setting - Enabling the XR SDK Pipeline with built-in Plugins (non-OpenXR)",EditorStyles.boldLabel);
375
385
376
-
if(XRSettingsUtilities.XRManagementPresent)
377
-
{
378
-
EditorGUILayout.LabelField("To enable the XR SDK pipeline with built-in Plugins, first press the Show Settings button. "
379
-
+$"\n\nIn the XR management plug-in window that shows up, check the plugin(s) you want to use based on your target device. "
380
-
+"\n\nBe sure to switch to the correct build target (e.g. UWP, Windows standalone) tab first by clicking on the icon(s) right below the XR Plug-in Management title. "
381
-
+$"After checking the desired plugin(s) click on the Next button to continue."
382
-
+$"\n\nMore information can be found at {XRSDKUnityDocsUrl} (Only the first three steps are needed if following instructions on the page)",EditorStyles.wordWrappedLabel);
383
-
}
384
-
else
385
-
{
386
-
EditorGUILayout.LabelField("To enable the XR SDK pipeline with built-in Plugins, first press the Show Settings button. "
387
-
+$"\n\nIn the XR management plug-in window that shows up, click on the install XR Plugin Management button. "
388
-
+"After clicking on that button, please check the plugin(s) you want to use based on your target device. "
389
-
+"\n\nBe sure to switch to the correct build target (e.g. UWP, Windows standalone) tab first by clicking on the icon(s) right below the XR Plug-in Management title. "
390
-
+$"After checking the desired plugin(s) click on the Next button to continue."
391
-
+$"\n\nMore information can be found at {XRSDKUnityDocsUrl} (Only the first three steps are needed if following instructions on the page)",EditorStyles.wordWrappedLabel);
392
-
}
386
+
EditorGUILayout.LabelField("To enable the XR SDK pipeline with built-in Plugins (non-OpenXR), follow the steps below:"
387
+
+"\n\n1. Press the Show Settings button."
388
+
+"\n2. In the XR management plug-in window that shows up, switch to the current build target (e.g. UWP, Windows standalone) tab by clicking on the corresponding icon right below the XR Plug-in Management title. "
389
+
+"\n3. Check the plugin(s) you want to use based on your target device. "
390
+
+"\n\nA new page confirming the setup is successful will be shown in place of this page once you finish the steps."
391
+
+$"\n\nFor more information, please click on the Learn more button. (Only the first three steps are needed if following instructions on the page)",EditorStyles.wordWrappedLabel);
EditorGUILayout.LabelField("XR Pipeline Setting - Configurating OpenXR for HoloLens 2 and HP Reverb G2",EditorStyles.boldLabel);
442
+
EditorGUILayout.LabelField("XR Pipeline Setting - Installing the Microsoft OpenXR plugin",EditorStyles.boldLabel);
452
443
453
-
EditorGUILayout.LabelField("To target HoloLens 2 or HP Reverb G2 headset you need to follow the instructions below."
454
-
+$"\n\nFirst click on the Show XR Plug-in Management Settings button. In the window popping up/getting focus, switch to switch to the correct build target (i.e. UWP or Windows standalone) tab "
455
-
+"by clicking on the icon(s) right below the XR Plug-in Management title. Then you should hover on the question mark to the right of the \"Enable HoloLens 2 feature set\" chekcbox and follow the instructions there."
456
-
+"\n\nNote: Follow the \"Manual setup without MRTK\" section of the instructions on the web page as MRTK is already in the project. Also you do not need to manually select MRTK in the feature tool no matter it is shown as installed or not."
457
-
+"\n\nKeep this window and the Unity project open during the process. A new page confirming the setup is successful will be shown in place of this page once you finish the steps.",EditorStyles.wordWrappedLabel);
444
+
EditorGUILayout.LabelField("To target HoloLens 2 or HP Reverb G2 headset you need to install the Microsoft OpenXR plugin by following the instructions below."
445
+
+"\n\n1. Press the Show instructions button."
446
+
+"\n2. Follow the instructions in the Manual setup without MRTK section as MRTK is already in the project. Also you do not need to manually select MRTK in the feature tool no matter it is shown as installed or not."
447
+
+"\n3. Keep this window and the Unity project open during the process. A new page confirming the setup is successful will be shown in place of this page once you finish the steps."
0 commit comments