So if I’m understanding correctly, the long load example should run in Unity 6 with 2.x version of the Vision XR plugin without the need to replace UnityAppController.mm or UnityAppController+Rendering.mm in the generated Xcode project?
I’m trying that out but get an error about LoadingWindow being undefined, and then the application goes to background and doesn’t return.
Accessing Environment<OpenWindowAction>'s value outside of being installed on a View. This will always read the default value and will not update.
No Scene with id 'LoadingWindow' is defined
Accessing Environment<DismissImmersiveSpaceAction>'s value outside of being installed on a View. This will always read the default value and will not update.
Wait a second...
UnityEngine.DebugLogHandler:Internal_Log_Injected(LogType, LogOption, ManagedSpanWrapper&, IntPtr)
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
<LongLoadCoroutine>d__4:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
UnityEngine.MonoBehaviour:StartCoroutineManaged2_Injected(IntPtr, IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
LongLoadTest:SimulateLongLoad()
UnityEngine.Events.InvokableCall:Invoke(Object[])
UnityEngine.Events.InvokableCall:Invoke()
UnityEngine.Events.UnityEvent:Invoke()
UnityEngine.UI.Button:Press()
UnityEngine.UI.Button:OnPointerClick(PointerEventData)
UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData)
UnityEngine.ExpressionEvaluator:EvaluateTokens(String[], T&, Int32, Int32)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:ProcessPointerButton(ButtonDeltaState, PointerEventData)
UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:ProcessTrackedDevice(TrackedDeviceModel&, Boolean)
UnityEngine.XR.Interaction.Toolkit.UI.XRUIInputModule:DoProcess()
UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:Update()
ARPredictorRemoteService <0x127572720>: Query queue is not running.
AR data provider state changed. New state is Paused.
UnityEngine.DebugLogHandler:Internal_Log_Injected(LogType, LogOption, ManagedSpanWrapper&, IntPtr)
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.VisionOS.VisionOSSessionProvider:DataProviderStateChangeHandler(IntPtr, AR_Data_Provider_State, IntPtr, IntPtr)
AR data provider state changed. New state is Paused.
UnityEngine.DebugLogHandler:Internal_Log_Injected(LogType, LogOption, ManagedSpanWrapper&, IntPtr)
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.VisionOS.VisionOSSessionProvider:DataProviderStateChangeHandler(IntPtr, AR_Data_Provider_State, IntPtr, IntPtr)
Presenting a drawable without a device anchor. This drawable won't be presented.
AR data provider state changed. New state is Paused.
UnityEngine.DebugLogHandler:Internal_Log_Injected(LogType, LogOption, ManagedSpanWrapper&, IntPtr)
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.VisionOS.VisionOSSessionProvider:DataProviderStateChangeHandler(IntPtr, AR_Data_Provider_State, IntPtr, IntPtr)
Hand anchors can only be queried when the hand tracking provider is running.
Hand anchors can only be queried when the hand tracking provider is running.
Presenting a drawable without a device anchor. This drawable won't be presented.
-> applicationDidEnterBackground()
AR data provider state changed. New state is Paused.
UnityEngine.DebugLogHandler:Internal_Log_Injected(LogType, LogOption, ManagedSpanWrapper&, IntPtr)
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.VisionOS.VisionOSSessionProvider:DataProviderStateChangeHandler(IntPtr, AR_Data_Provider_State, IntPtr, IntPtr)