iOS builds from Linux fail in Xcode when built from Terminal
Package: AR Foundation
Linux
Won't Fix
5.1.X
There are no fixes planned for this Bug
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
Prioritise and Follow this issue
Have a workaround or additional info about this issue?