Search Issue Tracker

Won't Fix

Votes

2

Found in [Package]

2022.3.19f1

Issue ID

ARFB-467

Regression

No

[Linux] iOS builds from Linux fail in Xcode when built from Terminal

Package: AR Foundation

-

How to reproduce:
1. Download and extract the attached Project "unity-linux-reprod-main 2"
2. Open the terminal and run the following command: "<PATH_TO_UNITY> -batchmode -nographics -quit -logFile - -releaseCodeOptimization -EnableCacheServer -executeMethod GHA.Builder.Build -projectPath <PATH_TO_PROJECT>"
3. Build and Run the generated Xcode Project on an iOS device
4. Observe the Xcode Console

Expected outcome: No issues appear
Actual outcome: "Failed to load session subsystem.
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.XR.ARKit.ARKitLoader:Initialize()
UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync()
UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK()" error appears

Reproduced with: 2022.3.19f1 (User-provided info)

Notes:
- Running the terminal command again produces a working build on macOS, however, deleting the Library causes the issue to reproduce again
- Does not reproduce when Project is built through the Editor Build Window

  1. Resolution Note:

    There are no fixes planned for this Bug

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.