You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that even opening the MRC preview in the device portal for HoloLens 2 will crash the app.
It was due to some incorrect logic in the secondary view configuration setup that wasn't initializing swapchains because the recommended view dimensions were the same, disregarding the fact that the swapchains hadn't been initialized.
This comment was to remind us that we still needed to initialize the secondary view config swapchains when they're needed:
But when we get to this bit, we don't see any resizing because the secondary view configurations were already initialized with the correct recommended dimensions, we just don't check if the swapchains have been initialized yet:
It seems that even opening the MRC preview in the device portal for HoloLens 2 will crash the app.
It was due to some incorrect logic in the secondary view configuration setup that wasn't initializing swapchains because the recommended view dimensions were the same, disregarding the fact that the swapchains hadn't been initialized.
This comment was to remind us that we still needed to initialize the secondary view config swapchains when they're needed:
BabylonNative/Dependencies/xr/Source/OpenXR/XR.cpp
Lines 661 to 662 in 00ea35e
But when we get to this bit, we don't see any resizing because the secondary view configurations were already initialized with the correct recommended dimensions, we just don't check if the swapchains have been initialized yet:
BabylonNative/Dependencies/xr/Source/OpenXR/XR.cpp
Lines 1477 to 1481 in 00ea35e
The text was updated successfully, but these errors were encountered: