Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Works in editor, view frozen in build.

Discussion in 'VR' started by Reahreic, Nov 7, 2022.

  1. Reahreic

    Reahreic

    Joined:
    Mar 23, 2011
    Posts:
    254
    My app works well when played from the editor, but when I generate a build, the headset image is frozen/locked to the view as if the desktop view is being sent to the headset while ignoring the XR functionality.

    The app does appears to run correctly in the background as log statements indicate the controllers detect, and fire my 'ControllerAdded' & 'OnInputDeviceChanged' callbacks correctly.

    The OpenXR Runtime is set as it should be in unity and windows, the initial loading scene doesn't use any Blits or render features that could interfere with the camera.

    I've scoured through the log file but didn't notice anything that stood out as being problematic. (This system isn't using XR bounds, so the message about being unable to locate bounds is expected.)

    What are some other things I can take a look at?
    Initialize engine version: 2022.1.16f1 (7321c9670bc2)
    [Subsystems] Discovering subsystems at path C:/Users/Blarg/Desktop/EvalBuild V2.0.0 (D3D11)/EvalBuild_Data/UnitySubsystems
    [Subsystems] No descriptors matched for examples in UnitySubsystems/MicrosoftOpenXRPlugin/UnitySubsystemsManifest.json.
    [Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/MicrosoftOpenXRPlugin/UnitySubsystemsManifest.json
    [Subsystems] No descriptors matched for displays in UnitySubsystems/MicrosoftOpenXRPlugin/UnitySubsystemsManifest.json.
    [Subsystems] 1 'meshings' descriptors matched in UnitySubsystems/MicrosoftOpenXRPlugin/UnitySubsystemsManifest.json
    [Subsystems] No descriptors matched for examples in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
    [Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
    [Subsystems] 1 'displays' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
    [Subsystems] No descriptors matched for meshings in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
    GfxDevice: creating device client; threaded=1; jobified=1
    [XR] [3588] [07:41:08.557][Info ] Available Layers: (0)
    Direct3D:
    Version: Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA TITAN X (Pascal) (ID=0x1b00)
    Vendor: NVIDIA
    VRAM: 12147 MB
    Driver: 27.21.14.6231
    XRGeneral Settings awakening...
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.XR.Management.XRGeneralSettings:Awake()

    [Subsystems] OpenXR Extension successfully registered Provider for OpenXR Mesh Extension
    [XR] [MROpenXR][Info ][07:41:09.222353][tid:e04] MeshProvider_RegisterLifecycleProvider
    [Subsystems] OpenXR Extension successfully registered Provider for OpenXR Input Extension
    [Subsystems] OpenXR Extension successfully registered Provider for OpenXR Mesh Extension
    [XR] [MROpenXR][Info ][07:41:09.222409][tid:e04] InputProvider_RegisterLifecycleProvider
    [Subsystems] OpenXR Extension successfully registered Provider for OpenXR Input Extension
    [Subsystems] OpenXR Extension successfully registered Provider for OpenXR Mesh Extension
    [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display
    [Subsystems] OpenXR Extension successfully registered Provider for OpenXR Input Extension
    [Subsystems] OpenXR Extension successfully registered Provider for OpenXR Mesh Extension
    [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Input
    [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display
    [XR] [MROpenXR][Info ][07:41:09.222915][tid:e04] OnPluginStarted UnityVersion=2022.1.16f1 OpenXRPluginVersion=1.4.2 MROpenXRPluginVersion=1.4.2.0 PartA_PrivTags=33554432
    [Subsystems] Loading plugin UnityOpenXR for subsystem OpenXR Display...
    [XR] [3588] [07:41:09.259][Info ] Available Layers: (0)
    [XR] [MROpenXR][Info ][07:41:09.264354][tid:e04] SetPluginOptions nativeToken=1 disableFirstPersonObserver=False enablePoseUpdateOnBeforeRender=False
    [Subsystems] Loading plugin UnityOpenXR for subsystem OpenXR Input...
    [Subsystems] Loading plugin MicrosoftOpenXRPlugin for subsystem OpenXR Mesh Extension...
    [XR] [MROpenXR][Info ][07:41:09.265309][tid:e04] MeshProvider_LifecycleInitialize
    <RI> Initializing input.

    New input system (experimental) initialized
    <RI> Initialized touch support.

    [XR] [MROpenXR][Info ][07:41:09.404962][tid:e04] XrViewConfigurationSettings_OnXrSessionCreated SupportedViewConfigType=XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO SupportedReprojectionModesCount=0
    [XR] [MROpenXR][Info ][07:41:09.404987][tid:e04] OnSessionCreated GraphicsAPI=XR_TYPE_GRAPHICS_BINDING_D3D11_KHR sessionCreationResult=XR_SUCCESS AppName= AppVersion= AppMode= openXRRuntimeName= openXRRuntimeVersion= APIVersion= PartA_PrivTags=33554432
    [XR] [3588] [07:41:09.405][Error ] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE
    [XR] [3588] [07:41:09.405][Error ] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE
    [XR] [3588] [07:41:09.405][Error ] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE
    [XR] [MROpenXR][Info ][07:41:09.477972][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_IDLE
    [XR] [3588] [07:41:09.478][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE session=2 time=610636431081100
    [XR] [MROpenXR][Info ][07:41:09.478057][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_READY
    [XR] [3588] [07:41:09.478][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY session=2 time=610636431088300
    [XR] [MROpenXR][Info ][07:41:09.483737][tid:e04] ViewConfigurationSettings_PrimaryStereoEnabled
    [XR] [MROpenXR][Info ][07:41:09.487325][tid:e04] SetSceneOriginSpace nativeToken=1 oldSpace=0 newSpace=5
    [XR] [MROpenXR][Verbose][07:41:09.487388][tid:e04] MicrosoftOpenXRPlugin_OnSubsystemsStarting NativeLibToken=HoloLens
    XRTextureManager::RequestCreateTexture
    XRTextureManager::RequestCreateTexture
    XRTextureManager::SetupRenderTextureFromXRRequest (id: 1 col: 0000000000000000 d: 000001BD60D8DB78 sr: 0000000000000000)
    RenderTexture::Create (id: 1)
    IVRDeviceCallback_CreateEyeTextureResources 000001BD60D8DB78
    XRTextureManager::SetupRenderTextureFromXRRequest (id: 2 col: 000001BD60D8EB38 d: 0000000000000000 sr: 0000000000000000)
    RenderTexture::Create (id: 2)
    IVRDeviceCallback_CreateEyeTextureResources 000001BD60D8EB38
    [XR] [MROpenXR][Info ][07:41:09.606196][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_SYNCHRONIZED
    [XR] [3588] [07:41:09.606][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED session=2 time=610636620494500
    [XR] [MROpenXR][Info ][07:41:09.606243][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_VISIBLE
    [XR] [3588] [07:41:09.606][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE session=2 time=610636620497500
    [XR] [MROpenXR][Info ][07:41:09.606267][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_FOCUSED
    [XR] [3588] [07:41:09.606][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED session=2 time=610636620499000
    [XR] [3588] [07:41:09.606][Info ]

    ==== Start Unity OpenXR Diagnostic Report ====


    [XR] [3588] [07:41:09.606][Info ] ==== Report Reason: System Startup Completed ====


    [XR] [3588] [07:41:09.606][Info ] ==== OpenXR Init Info ====
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Stage 1 Missing Entry Points: (1)
    [XR] [3588] [07:41:09.606][Info ] xrInitializeLoaderKHR
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Stage 2 Missing Entry Points: (9)
    [XR] [3588] [07:41:09.606][Info ] xrGetD3D12GraphicsRequirementsKHR
    [XR] [3588] [07:41:09.606][Info ] xrGetVulkanInstanceExtensionsKHR
    [XR] [3588] [07:41:09.606][Info ] xrGetVulkanDeviceExtensionsKHR
    [XR] [3588] [07:41:09.606][Info ] xrGetVulkanGraphicsDeviceKHR
    [XR] [3588] [07:41:09.606][Info ] xrGetVulkanGraphicsRequirementsKHR
    [XR] [3588] [07:41:09.606][Info ] xrCreateVulkanInstanceKHR
    [XR] [3588] [07:41:09.606][Info ] xrCreateVulkanDeviceKHR
    [XR] [3588] [07:41:09.606][Info ] xrGetVulkanGraphicsDevice2KHR
    [XR] [3588] [07:41:09.606][Info ] xrGetVulkanGraphicsRequirements2KHR
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] ==== OpenXR Provider Info ====
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Spec Version: 1.0.20
    [XR] [3588] [07:41:09.606][Info ] Provider Version: 1.4.2
    [XR] [3588] [07:41:09.606][Info ] App: EvalBuild #3822434864
    [XR] [3588] [07:41:09.606][Info ] Engine: 2022.1.16f1 #51446785
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] ==== OpenXR Runtime Info ====
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Features requested to be enabled: (5)
    [XR] [3588] [07:41:09.606][Info ] Get XR Device Info: Version=0.0.2, Company="Fireproof Studios"
    [XR] [3588] [07:41:09.606][Info ] HP Reverb G2 Controller Profile: Version=1.4.2, Company="Microsoft", Extensions="XR_EXT_hp_mixed_reality_controller"
    [XR] [3588] [07:41:09.606][Info ] HTC Vive Controller Profile: Version=0.0.1, Company="Unity"
    [XR] [3588] [07:41:09.606][Info ] Mixed Reality Features: Version=1.4.2, Company="Microsoft", Extensions="XR_MSFT_holographic_window_attachment XR_KHR_win32_convert_performance_counter_time XR_MSFT_unbounded_reference_space XR_MSFT_spatial_anchor XR_MSFT_secondary_view_configuration XR_MSFT_first_person_observer XR_MSFT_spatial_graph_bridge XR_MSFT_perception_anchor_interop XR_MSFT_spatial_anchor_persistence XR_MSFT_scene_understanding XR_MSFT_scene_understanding_serialization XR_MSFT_spatial_anchor_export_preview XR_MSFT_composition_layer_reprojection"
    [XR] [3588] [07:41:09.606][Info ] Runtime Debugger: Version=1, Company="Unity"
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Requested feature extensions not supported by runtime: (4)
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_holographic_window_attachment: Feature="Mixed Reality Features": Version=1.4.2, Company="Microsoft"
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_secondary_view_configuration: Feature="Mixed Reality Features": Version=1.4.2, Company="Microsoft"
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_first_person_observer: Feature="Mixed Reality Features": Version=1.4.2, Company="Microsoft"
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_spatial_anchor_export_preview: Feature="Mixed Reality Features": Version=1.4.2, Company="Microsoft"
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Available Runtime Extensions: (27)
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_win32_convert_performance_counter_time: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_D3D11_enable: Version=9
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_D3D12_enable: Version=9
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_composition_layer_depth: Version=6
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_composition_layer_color_scale_bias: Version=5
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_unbounded_reference_space: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_spatial_anchor: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_perception_anchor_interop: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_win32_appcontainer_compatible: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_conformance_automation: Version=3
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_composition_layer_reprojection: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_spatial_graph_bridge: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_spatial_anchor_persistence: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_palm_pose: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_scene_understanding: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_scene_understanding_serialization: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_FB_display_refresh_rate: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_eye_gaze_interaction: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_hand_interaction: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_hand_tracking: Version=4
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_hand_joints_motion_range: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_hand_tracking_mesh: Version=4
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_controller_model: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_visibility_mask: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_samsung_odyssey_controller: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_hp_mixed_reality_controller: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_debug_utils: Version=4
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Available Layers: (0)
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Runtime Name: Windows Mixed Reality Runtime
    [XR] [3588] [07:41:09.606][Info ] Runtime Version: 112.2209.30002
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Form factor: XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Runtime extensions enabled: (13)
    [XR] [3588] [07:41:09.606][Info ] XR_EXT_hp_mixed_reality_controller: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_D3D11_enable: Version=9
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_composition_layer_depth: Version=6
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_visibility_mask: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_KHR_win32_convert_performance_counter_time: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_composition_layer_reprojection: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_perception_anchor_interop: Version=1
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_scene_understanding: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_scene_understanding_serialization: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_spatial_anchor: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_spatial_anchor_persistence: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_spatial_graph_bridge: Version=2
    [XR] [3588] [07:41:09.606][Info ] XR_MSFT_unbounded_reference_space: Version=1
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Available Reference Spaces: (4)
    [XR] [3588] [07:41:09.606][Info ] XR_REFERENCE_SPACE_TYPE_VIEW
    [XR] [3588] [07:41:09.606][Info ] XR_REFERENCE_SPACE_TYPE_LOCAL
    [XR] [3588] [07:41:09.606][Info ] XR_REFERENCE_SPACE_TYPE_STAGE
    [XR] [3588] [07:41:09.606][Info ] XR_REFERENCE_SPACE_TYPE_UNBOUNDED_MSFT
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Instance Id : 0x1
    [XR] [3588] [07:41:09.606][Info ] System Id : 0x1
    [XR] [3588] [07:41:09.606][Info ] Session Id : 0x2
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Available View Configuration Types: (1)
    [XR] [3588] [07:41:09.606][Info ] XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO (Selected): FovMutable=True
    [XR] [3588] [07:41:09.606][Info ] [0]: Recommended: Width=3132, Height=3064, SampleCount=1
    [XR] [3588] [07:41:09.606][Info ] [0]: Maximum: Width=6324, Height=6188, SampleCount=4
    [XR] [3588] [07:41:09.606][Info ] [1]: Recommended: Width=3132, Height=3064, SampleCount=1
    [XR] [3588] [07:41:09.606][Info ] [1]: Maximum: Width=6324, Height=6188, SampleCount=4
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Skip Present To Main Screen: No
    [XR] [3588] [07:41:09.606][Info ]
    [XR] [3588] [07:41:09.606][Info ] Available Environment Blend Modes: (1)
    [XR] [3588] [07:41:09.606][Info ] XR_ENVIRONMENT_BLEND_MODE_OPAQUE (Selected)
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ] System Properties: Name="Windows Mixed Reality", VendorId=1118
    [XR] [3588] [07:41:09.607][Info ] System Graphics Properties: MaxWidth=16384, MaxHeight=16384, MaxLayers=16
    [XR] [3588] [07:41:09.607][Info ] System Tracking Properties: OrientationTracking=True, PositionTracking=True
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ] ==== OpenXR Input ====
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ] Action Sets (2):
    [XR] [3588] [07:41:09.607][Info ] hpmixedrealitycontroller: ActionCount=12
    [XR] [3588] [07:41:09.607][Info ] htcvivecontroller: ActionCount=12
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ] ==== OpenXR Swapchain Details ====
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ] Render Mode: Single Pass Instanced
    [XR] [3588] [07:41:09.607][Info ] Depth Submission Mode: Depth16Bit
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ] Swapchain Formats: [c:29] 91 28 87 40 20 45 [d:55]
    [XR] [3588] [07:41:09.607][Info ] Swapchain Views: (2)
    [XR] [3588] [07:41:09.607][Info ] [0]: Width=3132, Height=3064, SampleCount=1
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ] ==== Last 20 non-XR_SUCCESS returns ====
    [XR] [3588] [07:41:09.607][Info ] [SUCCESS] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE (3x)
    [XR] [3588] [07:41:09.607][Info ]
    [XR] [3588] [07:41:09.607][Info ] ==== Last 20 Events ====
    [XR] [3588] [07:41:09.607][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE
    [XR] [3588] [07:41:09.607][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY
    [XR] [3588] [07:41:09.607][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED
    [XR] [3588] [07:41:09.607][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE
    [XR] [3588] [07:41:09.607][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED
    [XR] [3588] [07:41:09.607][Info ]

    ==== End Unity OpenXR Diagnostic Report ====


    XRTextureManager::RequestCreateTexture
    XRTextureManager::RequestCreateTexture
    XRTextureManager::SetupRenderTextureFromXRRequest (id: 3 col: 0000000000000000 d: 000001BD60D8BBF8 sr: 0000000000000000)
    RenderTexture::Create (id: 3)
    IVRDeviceCallback_CreateEyeTextureResources 000001BD60D8BBF8
    XRTextureManager::SetupRenderTextureFromXRRequest (id: 4 col: 000001BD60D8CBB8 d: 0000000000000000 sr: 0000000000000000)
    RenderTexture::Create (id: 4)
    IVRDeviceCallback_CreateEyeTextureResources 000001BD60D8CBB8
    XRTextureManager::RequestCreateTexture
    XRTextureManager::RequestCreateTexture
    XRTextureManager::SetupRenderTextureFromXRRequest (id: 5 col: 0000000000000000 d: 000001BD60D8CE78 sr: 0000000000000000)
    RenderTexture::Create (id: 5)
    IVRDeviceCallback_CreateEyeTextureResources 000001BD60D8CE78
    XRTextureManager::SetupRenderTextureFromXRRequest (id: 6 col: 000001BD60D8B178 d: 0000000000000000 sr: 0000000000000000)
    RenderTexture::Create (id: 6)
    IVRDeviceCallback_CreateEyeTextureResources 000001BD60D8B178
    UnloadTime: 0.452500 ms
    Setting up 4 worker threads for Enlighten.
    [XR] [MROpenXR][Info ][07:41:14.809305][tid:e04] OpenXRContext_OnEvent_XrEventDataInteractionProfileChanged EventType=XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED session=2 leftHand=none rightHand=/interaction_profiles/hp/mixed_reality_controller
    Added device: 'HP Reverb G2 Controller OpenXR' as a 'HP_Reverb_G2' 'Right' controller.
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    Blarg.XR.XRDeviceManager:ControllerAdded(InputDevice, Handedness)
    Blarg.XR.XRDeviceManager:OnInputDeviceChanged(InputDevice, InputDeviceChange)
    UnityEngine.InputSystem.Utilities.DelegateHelpers:InvokeCallbacksSafe(CallbackArray`1&, TValue1, TValue2, String, Object)
    UnityEngine.InputSystem.InputManager:AddDevice(InputDevice)
    UnityEngine.InputSystem.InputManager:AddDevice(InternedString, Int32, String, InputDeviceDescription, DeviceFlags, InternedString)
    UnityEngine.InputSystem.InputManager:AddDevice(InputDeviceDescription, Boolean, String, Int32, DeviceFlags)
    UnityEngine.InputSystem.InputManager:OnNativeDeviceDiscovered(Int32, String)
    UnityEngineInternal.Input.NativeInputSystem:NotifyDeviceDiscovered(Int32, String)

    [XR] [MROpenXR][Verbose][07:41:18.440859][tid:e04] MicrosoftOpenXRPlugin_OnSubsystemsStopped NativeLibToken=HoloLens
    XRTextureManager::RequestDestroyTexture
    XRTextureManager::RequestDestroyTexture
    XRTextureManager::RequestDestroyTexture
    XRTextureManager::RequestDestroyTexture
    XRTextureManager::RequestDestroyTexture
    XRTextureManager::RequestDestroyTexture
    [XR] [MROpenXR][Info ][07:41:18.441189][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_VISIBLE
    [XR] [3588] [07:41:18.441][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_FOCUSED->XR_SESSION_STATE_VISIBLE session=2 time=610645467364500
    [XR] [MROpenXR][Info ][07:41:18.441233][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_SYNCHRONIZED
    [XR] [3588] [07:41:18.441][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_SYNCHRONIZED session=2 time=610645467366600
    [XR] [MROpenXR][Info ][07:41:18.441259][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_STOPPING
    [XR] [3588] [07:41:18.441][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING session=2 time=610645467368200
    [XR] [MROpenXR][Info ][07:41:18.450966][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_IDLE
    [XR] [3588] [07:41:18.451][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE session=2 time=610645477153900
    [XR] [MROpenXR][Info ][07:41:18.451025][tid:e04] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_EXITING
    [XR] [3588] [07:41:18.451][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_EXITING session=2 time=610645477156700
    [XR] [MROpenXR][Info ][07:41:18.451196][tid:e04] PlaneProvider_DestroySubsystem
    [XR] [MROpenXR][Info ][07:41:18.451227][tid:e04] MeshProvider_LifecycleShutdown
    [XR] [3588] [07:41:18.451][Info ]

    ==== Start Unity OpenXR Diagnostic Report ====


    [XR] [3588] [07:41:18.451][Info ] ==== Report Reason: System Shutdown ====


    [XR] [3588] [07:41:18.451][Info ] ==== OpenXR Init Info ====
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Stage 1 Missing Entry Points: (1)
    [XR] [3588] [07:41:18.451][Info ] xrInitializeLoaderKHR
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Stage 2 Missing Entry Points: (9)
    [XR] [3588] [07:41:18.451][Info ] xrGetD3D12GraphicsRequirementsKHR
    [XR] [3588] [07:41:18.451][Info ] xrGetVulkanInstanceExtensionsKHR
    [XR] [3588] [07:41:18.451][Info ] xrGetVulkanDeviceExtensionsKHR
    [XR] [3588] [07:41:18.451][Info ] xrGetVulkanGraphicsDeviceKHR
    [XR] [3588] [07:41:18.451][Info ] xrGetVulkanGraphicsRequirementsKHR
    [XR] [3588] [07:41:18.451][Info ] xrCreateVulkanInstanceKHR
    [XR] [3588] [07:41:18.451][Info ] xrCreateVulkanDeviceKHR
    [XR] [3588] [07:41:18.451][Info ] xrGetVulkanGraphicsDevice2KHR
    [XR] [3588] [07:41:18.451][Info ] xrGetVulkanGraphicsRequirements2KHR
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] ==== OpenXR Provider Info ====
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Spec Version: 1.0.20
    [XR] [3588] [07:41:18.451][Info ] Provider Version: 1.4.2
    [XR] [3588] [07:41:18.451][Info ] App: F-15E Exterior Walkaround #3822434864
    [XR] [3588] [07:41:18.451][Info ] Engine: 2022.1.16f1 #51446785
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] ==== OpenXR Runtime Info ====
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Features requested to be enabled: (5)
    [XR] [3588] [07:41:18.451][Info ] Get XR Device Info: Version=0.0.2, Company="Fireproof Studios"
    [XR] [3588] [07:41:18.451][Info ] HP Reverb G2 Controller Profile: Version=1.4.2, Company="Microsoft", Extensions="XR_EXT_hp_mixed_reality_controller"
    [XR] [3588] [07:41:18.451][Info ] HTC Vive Controller Profile: Version=0.0.1, Company="Unity"
    [XR] [3588] [07:41:18.451][Info ] Mixed Reality Features: Version=1.4.2, Company="Microsoft", Extensions="XR_MSFT_holographic_window_attachment XR_KHR_win32_convert_performance_counter_time XR_MSFT_unbounded_reference_space XR_MSFT_spatial_anchor XR_MSFT_secondary_view_configuration XR_MSFT_first_person_observer XR_MSFT_spatial_graph_bridge XR_MSFT_perception_anchor_interop XR_MSFT_spatial_anchor_persistence XR_MSFT_scene_understanding XR_MSFT_scene_understanding_serialization XR_MSFT_spatial_anchor_export_preview XR_MSFT_composition_layer_reprojection"
    [XR] [3588] [07:41:18.451][Info ] Runtime Debugger: Version=1, Company="Unity"
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Requested feature extensions not supported by runtime: (4)
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_holographic_window_attachment: Feature="Mixed Reality Features": Version=1.4.2, Company="Microsoft"
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_secondary_view_configuration: Feature="Mixed Reality Features": Version=1.4.2, Company="Microsoft"
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_first_person_observer: Feature="Mixed Reality Features": Version=1.4.2, Company="Microsoft"
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_spatial_anchor_export_preview: Feature="Mixed Reality Features": Version=1.4.2, Company="Microsoft"
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Available Runtime Extensions: (27)
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_win32_convert_performance_counter_time: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_D3D11_enable: Version=9
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_D3D12_enable: Version=9
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_composition_layer_depth: Version=6
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_composition_layer_color_scale_bias: Version=5
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_unbounded_reference_space: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_spatial_anchor: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_perception_anchor_interop: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_win32_appcontainer_compatible: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_conformance_automation: Version=3
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_composition_layer_reprojection: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_spatial_graph_bridge: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_spatial_anchor_persistence: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_palm_pose: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_scene_understanding: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_scene_understanding_serialization: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_FB_display_refresh_rate: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_eye_gaze_interaction: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_hand_interaction: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_hand_tracking: Version=4
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_hand_joints_motion_range: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_hand_tracking_mesh: Version=4
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_controller_model: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_visibility_mask: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_samsung_odyssey_controller: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_hp_mixed_reality_controller: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_debug_utils: Version=4
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Available Layers: (0)
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Runtime Name: Windows Mixed Reality Runtime
    [XR] [3588] [07:41:18.451][Info ] Runtime Version: 112.2209.30002
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Form factor: XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY
    [XR] [3588] [07:41:18.451][Info ]
    [XR] [3588] [07:41:18.451][Info ] Runtime extensions enabled: (13)
    [XR] [3588] [07:41:18.451][Info ] XR_EXT_hp_mixed_reality_controller: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_D3D11_enable: Version=9
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_composition_layer_depth: Version=6
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_visibility_mask: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_KHR_win32_convert_performance_counter_time: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_composition_layer_reprojection: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_perception_anchor_interop: Version=1
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_scene_understanding: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_scene_understanding_serialization: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_spatial_anchor: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_spatial_anchor_persistence: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_spatial_graph_bridge: Version=2
    [XR] [3588] [07:41:18.451][Info ] XR_MSFT_unbounded_reference_space: Version=1
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] Available Reference Spaces: (4)
    [XR] [3588] [07:41:18.452][Info ] XR_REFERENCE_SPACE_TYPE_VIEW
    [XR] [3588] [07:41:18.452][Info ] XR_REFERENCE_SPACE_TYPE_LOCAL
    [XR] [3588] [07:41:18.452][Info ] XR_REFERENCE_SPACE_TYPE_STAGE
    [XR] [3588] [07:41:18.452][Info ] XR_REFERENCE_SPACE_TYPE_UNBOUNDED_MSFT
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] Instance Id : 0x1
    [XR] [3588] [07:41:18.452][Info ] System Id : 0x1
    [XR] [3588] [07:41:18.452][Info ] Session Id : 0x2
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] Available View Configuration Types: (1)
    [XR] [3588] [07:41:18.452][Info ] XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO (Selected): FovMutable=True
    [XR] [3588] [07:41:18.452][Info ] [0]: Recommended: Width=3132, Height=3064, SampleCount=1
    [XR] [3588] [07:41:18.452][Info ] [0]: Maximum: Width=6324, Height=6188, SampleCount=4
    [XR] [3588] [07:41:18.452][Info ] [1]: Recommended: Width=3132, Height=3064, SampleCount=1
    [XR] [3588] [07:41:18.452][Info ] [1]: Maximum: Width=6324, Height=6188, SampleCount=4
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] Skip Present To Main Screen: No
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] Available Environment Blend Modes: (1)
    [XR] [3588] [07:41:18.452][Info ] XR_ENVIRONMENT_BLEND_MODE_OPAQUE (Selected)
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] System Properties: Name="Windows Mixed Reality", VendorId=1118
    [XR] [3588] [07:41:18.452][Info ] System Graphics Properties: MaxWidth=16384, MaxHeight=16384, MaxLayers=16
    [XR] [3588] [07:41:18.452][Info ] System Tracking Properties: OrientationTracking=True, PositionTracking=True
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] ==== OpenXR Input ====
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] Action Sets (2):
    [XR] [3588] [07:41:18.452][Info ] hpmixedrealitycontroller: ActionCount=12
    [XR] [3588] [07:41:18.452][Info ] htcvivecontroller: ActionCount=12
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] ==== OpenXR Swapchain Details ====
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] Render Mode: Single Pass Instanced
    [XR] [3588] [07:41:18.452][Info ] Depth Submission Mode: Depth16Bit
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] Swapchain Formats: [c:29] 91 28 87 40 20 45 [d:55]
    [XR] [3588] [07:41:18.452][Info ] Swapchain Views: (2)
    [XR] [3588] [07:41:18.452][Info ] [0]: Width=3132, Height=3064, SampleCount=1
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] ==== Last 20 non-XR_SUCCESS returns ====
    [XR] [3588] [07:41:18.452][Info ] [SUCCESS] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE (3x)
    [XR] [3588] [07:41:18.452][Info ]
    [XR] [3588] [07:41:18.452][Info ] ==== Last 20 Events ====
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_FOCUSED->XR_SESSION_STATE_VISIBLE
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_SYNCHRONIZED
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE
    [XR] [3588] [07:41:18.452][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_EXITING
    [XR] [3588] [07:41:18.452][Info ]

    ==== End Unity OpenXR Diagnostic Report ====


    Memory Statistics:
    [ALLOC_TEMP_TLS] TLS Allocator
    StackAllocators :
    [ALLOC_TEMP_MAIN]
    Peak usage frame count: [1.0 KB-2.0 KB]: 351 frames, [2.0 KB-4.0 KB]: 337 frames, [16.0 KB-32.0 KB]: 8 frames, [32.0 KB-64.0 KB]: 2 frames, [128.0 KB-256.0 KB]: 2 frames, [2.0 MB-4.0 MB]: 1 frames
    Initial Block Size 4.0 MB
    Current Block Size 4.0 MB
    Peak Allocated Bytes 3.8 MB
    Overflow Count 1
    [ALLOC_TEMP_Loading.AsyncRead]
    Initial Block Size 64.0 KB
    Current Block Size 64.0 KB
    Peak Allocated Bytes 378 B
    Overflow Count 0
    [ALLOC_TEMP_Loading.PreloadManager]
    Initial Block Size 256.0 KB
    Current Block Size 272.0 KB
    Peak Allocated Bytes 265.9 KB
    Overflow Count 8
    [ALLOC_TEMP_Background Job.Worker 8]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Job.Worker 6]
    Initial Block Size 256.0 KB
    Current Block Size 256.0 KB
    Peak Allocated Bytes 18.0 KB
    Overflow Count 0
    [ALLOC_TEMP_Job.Worker 0]
    Initial Block Size 256.0 KB
    Current Block Size 256.0 KB
    Peak Allocated Bytes 18.0 KB
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 10]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 9]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Job.Worker 5]
    Initial Block Size 256.0 KB
    Current Block Size 256.0 KB
    Peak Allocated Bytes 18.0 KB
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 14]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 6]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Job.Worker 4]
    Initial Block Size 256.0 KB
    Current Block Size 256.0 KB
    Peak Allocated Bytes 18.0 KB
    Overflow Count 0
    [ALLOC_TEMP_Job.Worker 3]
    Initial Block Size 256.0 KB
    Current Block Size 256.0 KB
    Peak Allocated Bytes 18.0 KB
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 12]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_EnlightenWorker] x 4
    Initial Block Size 64.0 KB
    Current Block Size 64.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 15]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 1]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 2]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 7]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_[GraniteSDK] Transcoder Thread]
    Initial Block Size 64.0 KB
    Current Block Size 64.0 KB
    Peak Allocated Bytes 141 B
    Overflow Count 0
    [ALLOC_TEMP_[GraniteSDK] Resolver Thread]
    Initial Block Size 64.0 KB
    Current Block Size 64.0 KB
    Peak Allocated Bytes 139 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 5]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_UnityGfxDeviceWorker]
    Initial Block Size 256.0 KB
    Current Block Size 256.0 KB
    Peak Allocated Bytes 38.0 KB
    Overflow Count 0
    [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
    Initial Block Size 64.0 KB
    Current Block Size 64.0 KB
    Peak Allocated Bytes 0 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 13]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Job.Worker 1]
    Initial Block Size 256.0 KB
    Current Block Size 256.0 KB
    Peak Allocated Bytes 18.0 KB
    Overflow Count 0
    [ALLOC_TEMP_Job.Worker 2]
    Initial Block Size 256.0 KB
    Current Block Size 256.0 KB
    Peak Allocated Bytes 18.0 KB
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 3]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 11]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 0]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_HIDInput]
    Initial Block Size 64.0 KB
    Current Block Size 64.0 KB
    Peak Allocated Bytes 10.9 KB
    Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 4]
    Initial Block Size 32.0 KB
    Current Block Size 32.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_TEMP_BatchDeleteObjects]
    Initial Block Size 64.0 KB
    Current Block Size 64.0 KB
    Peak Allocated Bytes 54 B
    Overflow Count 0
    [ALLOC_DEFAULT] Dual Thread Allocator
    Peak main deferred allocation count 165
    [ALLOC_BUCKET]
    Large Block size 4.0 MB
    Used Block count 1
    Peak Allocated bytes 3.9 MB
    Failed Allocations. Bucket layout:
    16B: 9 Subsections = 9216 buckets. Failed count: 0
    32B: 46 Subsections = 23552 buckets. Failed count: 34457
    48B: 32 Subsections = 10922 buckets. Failed count: 27590
    64B: 41 Subsections = 10496 buckets. Failed count: 30180
    80B: 54 Subsections = 11059 buckets. Failed count: 22112
    96B: 34 Subsections = 5802 buckets. Failed count: 20377
    112B: 27 Subsections = 3949 buckets. Failed count: 15988
    128B: 13 Subsections = 1664 buckets. Failed count: 14781
    [ALLOC_DEFAULT_MAIN]
    Peak usage frame count: [8.0 MB-16.0 MB]: 353 frames, [16.0 MB-32.0 MB]: 347 frames, [32.0 MB-64.0 MB]: 1 frames
    Requested Block Size 16.0 MB
    Peak Block count 2
    Peak Allocated memory 33.7 MB
    Peak Large allocation bytes 20.4 MB
    [ALLOC_DEFAULT_THREAD]
    Peak usage frame count: [16.0 MB-32.0 MB]: 701 frames
    Requested Block Size 16.0 MB
    Peak Block count 1
    Peak Allocated memory 20.7 MB
    Peak Large allocation bytes 16.0 MB
    [ALLOC_TEMP_JOB_1_FRAME]
    Initial Block Size 2.0 MB
    Used Block Count 1
    Overflow Count (too large) 0
    Overflow Count (full) 0
    [ALLOC_TEMP_JOB_2_FRAMES]
    Initial Block Size 2.0 MB
    Used Block Count 1
    Overflow Count (too large) 0
    Overflow Count (full) 0
    [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
    Initial Block Size 2.0 MB
    Used Block Count 2
    Overflow Count (too large) 1
    Overflow Count (full) 0
    [ALLOC_TEMP_JOB_ASYNC (Background)]
    Initial Block Size 1.0 MB
    Used Block Count 7
    Overflow Count (too large) 0
    Overflow Count (full) 0
    [ALLOC_GFX] Dual Thread Allocator
    Peak main deferred allocation count 4
    [ALLOC_BUCKET]
    Large Block size 4.0 MB
    Used Block count 1
    Peak Allocated bytes 3.9 MB
    Failed Allocations. Bucket layout:
    16B: 9 Subsections = 9216 buckets. Failed count: 0
    32B: 46 Subsections = 23552 buckets. Failed count: 34457
    48B: 32 Subsections = 10922 buckets. Failed count: 27590
    64B: 41 Subsections = 10496 buckets. Failed count: 30180
    80B: 54 Subsections = 11059 buckets. Failed count: 22112
    96B: 34 Subsections = 5802 buckets. Failed count: 20377
    112B: 27 Subsections = 3949 buckets. Failed count: 15988
    128B: 13 Subsections = 1664 buckets. Failed count: 14781
    [ALLOC_GFX_MAIN]
    Peak usage frame count: [128.0 KB-256.0 KB]: 463 frames, [256.0 KB-0.5 MB]: 237 frames, [2.0 MB-4.0 MB]: 1 frames
    Requested Block Size 16.0 MB
    Peak Block count 1
    Peak Allocated memory 2.9 MB
    Peak Large allocation bytes 0 B
    [ALLOC_GFX_THREAD]
    Peak usage frame count: [0.5 MB-1.0 MB]: 353 frames, [2.0 MB-4.0 MB]: 348 frames
    Requested Block Size 16.0 MB
    Peak Block count 1
    Peak Allocated memory 2.7 MB
    Peak Large allocation bytes 0 B
    [ALLOC_CACHEOBJECTS] Dual Thread Allocator
    Peak main deferred allocation count 4
    [ALLOC_BUCKET]
    Large Block size 4.0 MB
    Used Block count 1
    Peak Allocated bytes 3.9 MB
    Failed Allocations. Bucket layout:
    16B: 9 Subsections = 9216 buckets. Failed count: 0
    32B: 46 Subsections = 23552 buckets. Failed count: 34457
    48B: 32 Subsections = 10922 buckets. Failed count: 27590
    64B: 41 Subsections = 10496 buckets. Failed count: 30180
    80B: 54 Subsections = 11059 buckets. Failed count: 22112
    96B: 34 Subsections = 5802 buckets. Failed count: 20377
    112B: 27 Subsections = 3949 buckets. Failed count: 15988
    128B: 13 Subsections = 1664 buckets. Failed count: 14781
    [ALLOC_CACHEOBJECTS_MAIN]
    Peak usage frame count: [256.0 MB-0.50 GB]: 700 frames, [0.50 GB-1.00 GB]: 1 frames
    Requested Block Size 4.0 MB
    Peak Block count 89
    Peak Allocated memory 0.60 GB
    Peak Large allocation bytes 300.2 MB
    [ALLOC_CACHEOBJECTS_THREAD]
    Peak usage frame count: [64.0 KB-128.0 KB]: 352 frames, [128.0 KB-256.0 KB]: 1 frames, [0.5 MB-1.0 MB]: 348 frames
    Requested Block Size 4.0 MB
    Peak Block count 1
    Peak Allocated memory 0.6 MB
    Peak Large allocation bytes 0 B
    [ALLOC_TYPETREE] Dual Thread Allocator
    Peak main deferred allocation count 0
    [ALLOC_BUCKET]
    Large Block size 4.0 MB
    Used Block count 1
    Peak Allocated bytes 3.9 MB
    Failed Allocations. Bucket layout:
    16B: 9 Subsections = 9216 buckets. Failed count: 0
    32B: 46 Subsections = 23552 buckets. Failed count: 34457
    48B: 32 Subsections = 10922 buckets. Failed count: 27590
    64B: 41 Subsections = 10496 buckets. Failed count: 30180
    80B: 54 Subsections = 11059 buckets. Failed count: 22112
    96B: 34 Subsections = 5802 buckets. Failed count: 20377
    112B: 27 Subsections = 3949 buckets. Failed count: 15988
    128B: 13 Subsections = 1664 buckets. Failed count: 14781
    [ALLOC_TYPETREE_MAIN]
    Peak usage frame count: [1.0 KB-2.0 KB]: 1 frames, [2.0 KB-4.0 KB]: 353 frames, [16.0 KB-32.0 KB]: 347 frames
    Requested Block Size 2.0 MB
    Peak Block count 1
    Peak Allocated memory 20.1 KB
    Peak Large allocation bytes 0 B
    [ALLOC_TYPETREE_THREAD]
    Peak usage frame count: [4.0 KB-8.0 KB]: 353 frames, [16.0 KB-32.0 KB]: 348 frames
    Requested Block Size 2.0 MB
    Peak Block count 1
    Peak Allocated memory 25.3 KB
    Peak Large allocation bytes 0 B

    Unity 2022.1.16f1, Windows Mixed Reality OpenXR 1.4.2.


    I'm generating a build with debugger attachment, but builds take several hours nowadays.
    Debug build generated, but upon attaching the debugger to the build, my system immediately consumes all 32GB of memory making it difficult to debug. (Normal app memory consumption is around 2-3GB)
     
    Last edited: Nov 7, 2022
  2. Reahreic

    Reahreic

    Joined:
    Mar 23, 2011
    Posts:
    254
    After much debugging is appears as though this may yet another be a bug in how the new Input System interacts with OpenXR.

    I have an InputAction that tracks the headset's various inputs. (Position, Rotation, Button on side of Headset) When I press play in the editor,
    InputSystem.onDeviceChange
    fires for each controller as well as the HMD itself allowing me to register my C# events with the InputActions class. When I run a build however, the event is only fired for controllers, resulting in the HMD's not being initialized.