Forum Discussion
KrisIntheMix
5 months agoHonored Guest
Build and Run error at setting up new project
I am at the start of my first project and can't manage to test the project in my Meta quest 3. I followed all the steps: Set up Unity for XR development | Meta Horizon OS Developers
When connecting the quest to Unity and hitting "Build and Run" I get 16 errors (3 red and 13 yellow). What am I doing wrong? How can I start this project?
2 Replies
Replies have been turned off for this discussion
- KrisIntheMixHonored Guest
As an example, this is one of the errors I got:
C:\Program Files\Unity\Hub\Editor\6000.0.51f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\16.0\bin\sdkmanager.bat "platforms;android-32", exit code 1 Powershell non elevated output: Arguments are "C:\Program Files\Unity\Hub\Editor\6000.0.51f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\16.0\bin\sdkmanager.bat" "C:\Program Files\Unity\Hub\Editor\6000.0.51f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK" "platforms;android-32" "C:\UnityProjects\Operation Unknown Track\Temp\AndroidSDKTool" WARNING: WARNING: Administrative privileges required Command finished with exit code: 1 Powershell elevated output: <psElevated-null> Batch output: Warning: Failed to download any source lists! Warning: IO exception while downloading manifest Warning: IO exception while downloading manifest Warning: Still waiting for package manifests to be fetched remotely. Warning: Failed to find package 'platforms;android-32' Loading package information... Loading local repository... [ ] 3% Loading local repository... [ ] 3% Fetch remote repository... [= ] 3% Fetch remote repository... [= ] 3% Fetch remote repository... [= ] 3% Fetch remote repository... [= ] 3% Fetch remote repository... [= ] 3% Fetch remote repository... [= ] 3% Computing updates... [=== ] 8% Computing updates... [=== ] 10% Computing updates... [=== ] 10% Computing updates... UnityEditor.Android.AndroidSDKTools.RunAndroidSdkToolElevatedWindowsInternal (System.String elevatedCommandPath, System.String toolName, System.String javaHome, System.String arguments, System.String errorMsg, System.String toolsdir) (at /home/bokken/build/output/unity/unity/PlatformDependent/AndroidPlayer/Editor/Managed/Android/AndroidSDKTools.cs:540) UnityEditor.Android.AndroidSDKTools.RunAndroidSdkToolElevatedWindows (System.String toolName, System.String javaHome, System.String arguments, System.String errorMsg) (at /home/bokken/build/output/unity/unity/PlatformDependent/AndroidPlayer/Editor/Managed/Android/AndroidSDKTools.cs:472) UnityEditor.Android.AndroidSDKTools.InstallPlatform (System.Int32 apiLevel) (at /home/bokken/build/output/unity/unity/PlatformDependent/AndroidPlayer/Editor/Managed/Android/AndroidSDKTools.cs:448) UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at /home/bokken/build/output/unity/unity/PlatformDependent/AndroidPlayer/Editor/Managed/PostProcessor/Tasks/CheckAndroidSDK.cs:129) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at /home/bokken/build/output/unity/unity/PlatformDependent/AndroidPlayer/Editor/Managed/PostProcessor/AndroidPostProcessor.cs:112) UnityEditor.Android.PostProcessAndroidPlayer.PrepareForBuild (UnityEditor.BuildOptions options, UnityEditor.BuildTarget target) (at /home/bokken/build/output/unity/unity/PlatformDependent/AndroidPlayer/Editor/Managed/PostProcessAndroidPlayer.cs:60) UnityEditor.Android.AndroidBuildPostprocessor.PrepareForBuild (UnityEditor.BuildPlayerOptions buildOptions) (at /home/bokken/build/output/unity/unity/PlatformDependent/AndroidPlayer/Editor/Managed/ExtensionModule.cs:1208) UnityEditor.PostprocessBuildPlayer.PrepareForBuild (UnityEditor.BuildPlayerOptions buildOptions) (at <f394fd11ee874a19adab0240ad1e729f>:0) UnityEditor.EditorApplication:Internal_CallDelayFunctions()
- KrisIntheMixHonored Guest
Tried to run it on another (non company laptop) and it worked.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 2 months ago