I am attempting to build HelloMR from the Unity 2.2.1 SDK.
I have spent 12+ hours attempting to get it to run.
It doesnt work.
I have tried Unity 2019.4.40f1 - broken due to grade out of date problems
Unity 2022.3.37f1 is what I am currently using.
I have follow the getting started instructions on Getting Started with NRSDK | NRSDK to the letter, tripled checked, and tried again and again.
I have created new projects 4 times.
I am using an Samsung Galaxy S23 Ultra 5G that is fully up to date on Android 14.
I am using xReal Air 2 Ultra glasses.
I can’t even debug the dang app - it crashes on launch and the debugger doesn’t even pick anything up.
Build output shows clean build.
The only error I can actually seem to find is when attempting Build and Run with wireless ADB - I get the following error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Android.AndroidDeploymentTargetsExtension.StartApplication (UnityEditor.Android.AndroidBuildProperties buildProperties, UnityEditor.Android.AndroidDevice device, UnityEditor.ProgressTaskManager taskManager) (at <29896ac0d75741c388d780aac712a819>:0)
UnityEditor.Android.AndroidDeploymentTargetsExtension+<>c__DisplayClass15_1.<LaunchBuildOnTarget>b__5 () (at <29896ac0d75741c388d780aac712a819>:0)
UnityEditor.ProgressTaskManager.Run () (at <4f70cf68b8b24a78aa3a87c1d6120925>:0)
UnityEditor.Android.AndroidDeploymentTargetsExtension.LaunchBuildOnTarget (UnityEditor.DeploymentTargets.IDeploymentTargetsMainThreadContext context, UnityEditor.BuildProperties buildProperties, UnityEditor.DeploymentTargets.DeploymentTargetId targetId, UnityEditor.ProgressHandler progressHandler) (at <29896ac0d75741c388d780aac712a819>:0)
UnityEditor.DeploymentTargets.DeploymentTargetManager.LaunchBuildOnTarget (UnityEditor.BuildProperties buildProperties, UnityEditor.DeploymentTargets.DeploymentTargetId targetId, UnityEditor.ProgressHandler progressHandler) (at <4f70cf68b8b24a78aa3a87c1d6120925>:0)
UnityEditor.PostprocessBuildPlayer+<>c__DisplayClass22_1.<LaunchOnTargets>b__1 () (at <4f70cf68b8b24a78aa3a87c1d6120925>:0)
UnityEditor.ProgressTaskManager.Run () (at <4f70cf68b8b24a78aa3a87c1d6120925>:0)
UnityEditor.PostprocessBuildPlayer.LaunchOnTargets (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget buildTarget, UnityEditor.Build.Reporting.BuildReport buildReport, System.Collections.Generic.List`1[T] launchTargets) (at <4f70cf68b8b24a78aa3a87c1d6120925>:0)
UnityEditor.Android.PostProcessAndroidPlayer.Launch (UnityEditor.BuildTarget target, System.String installPath, UnityEditor.Build.Reporting.BuildReport report) (at <29896ac0d75741c388d780aac712a819>:0)
UnityEditor.Android.AndroidBuildPostprocessor.LaunchPlayer (UnityEditor.Modules.BuildLaunchPlayerArgs args) (at <29896ac0d75741c388d780aac712a819>:0)
UnityEditor.PostprocessBuildPlayer.Launch (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget buildTarget, System.String path, System.String productName, UnityEditor.BuildOptions options, UnityEditor.Build.Reporting.BuildReport buildReport) (at <4f70cf68b8b24a78aa3a87c1d6120925>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
There is no StartApplication or Launch command in the manifest file.
Help. Please. I’ve lost a full day of time and cant even get your first tutorial to work.
And the documentation itself is really difficult to use, it is inconsistent from page to page about unity versions, screenshots, and devices. Most of the pages still reference the nReal Light device even though it’s no longer supported?