Search Issue Tracker
Fixed
Fixed in 4.2.10, 5.1.2, 6.0.0-pre.5
Votes
0
Found in [Package]
4.2.2
5.1.0-pre.9
6.0.0-pre.5
Issue ID
ARKB-61
Regression
Yes
[iOS] "Failed to load session subsystem." is thrown in Xcode when the Project is built through terminal with no Library
How to reproduce:
1. Extract the attached Project "unity-linux-reprod-main"
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 result: No errors are thrown in the Xcode Console and the Player shows the device's camera view
Actual result: "Failed to load session subsystem." can be seen in the Xcode Console and the Player shows a black screen
Reproducible with: 4.2.2 (2022.1.0a2), 5.0.6 (2022.3.6f1, 2023.1.7f1), 5.1.0-pre.9 (2023.2.0b3)
Not reproducible with: 4.2.2 (2022.1.0a1), 5.0.6 (2021.3.29f1)
Reproduced on:
- MacOS (12.6.6, Intel); iPhone 13 (iOS 15.0)
- Linux (user-supplied information)
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
- Full error thrown in Xcode:
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()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [OpenXR][HDRP] XR Fails to initialize and black screen is present when waking up the HMD with DLSS enabled
- Baked reflection color of clouds does not match the Scene sky color when generating lighting in Unity
- The sampling result will have black artifacts when using URP Sample Buffer with UV value set to 1
- "Assertion failed on expression" errors thrown in Console when opening Profiler (Standalone Process) window
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
Add comment