Beat Saber
Beat Saber is crashing constantly before menu
Using a Valve Index with the Index controllers. Everything worked fine until 1-2 weeks ago. Now Unity crashes everytime the game loaded up to the main menu. The game freezies the very moment I see the menu and the pilot screen is showing a Unity pop-up. Then I am getting kicked back to SteamVR Home.

Checked file integrity, reinstalled, changed from SteamVR beta to normal version, resetted my SteamVR settings, checked if OpenXR runtime is set to SteamVR mode, deactivating all DLCs, nothing helps.

There was no Windows update or driver update lately, no hardware change, nothing that obviously changed. I cannot explain myself why it just stopped working. Any other VR game still runs just fine.

EDIT: the log says this

XRGeneral Settings awakening... [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Input [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display [Subsystems] Loading plugin UnityOpenXR for subsystem OpenXR Display... [XR] [13648] [13:52:54.936][Info ] Available Layers: (0) [Subsystems] Loading plugin UnityOpenXR for subsystem OpenXR Input... Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/OculusXRPlugin Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/OculusXRPlugin.dll Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/OculusXRPlugin.dll Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/OculusXRPlugin Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/libOculusXRPlugin Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/libOculusXRPlugin.dll Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/libOculusXRPlugin.dll Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/libOculusXRPlugin Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/OculusXRPlugin Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/OculusXRPlugin.dll Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/OculusXRPlugin.dll Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/OculusXRPlugin Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/libOculusXRPlugin Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/libOculusXRPlugin.dll Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/libOculusXRPlugin.dll Fallback handler could not load library D:/Games/_SteamLib_/steamapps/common/Beat Saber/Beat Saber_Data/MonoBleedingEdge/libOculusXRPlugin <RI> Initializing input. New input system (experimental) initialized Using XInput <RI> Input initialized. <RI> Initialized touch support. [XR] [13648] [13:52:55.135][Error ] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE [XR] [13648] [13:52:55.135][Error ] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE [XR] [13648] [13:52:57.094][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE session=1922679506448 time=58695028274300 [XR] [13648] [13:52:57.094][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY session=1922679506448 time=58695028308100 XRTextureManager::RequestCreateTexture XRTextureManager::SetupRenderTextureFromXRRequest (id: 1 col: 000001BFB4CB6BB8 d: 0000000000000000 sr: 0000000000000000) RenderTexture::Create (id: 1) IVRDeviceCallback_CreateEyeTextureResources 000001BFB4CB6BB8 UnloadTime: 28.581300 ms XRTextureManager::RequestCreateTexture XRTextureManager::SetupRenderTextureFromXRRequest (id: 2 col: 000001BFB4CB31F8 d: 0000000000000000 sr: 0000000000000000) RenderTexture::Create (id: 2) IVRDeviceCallback_CreateEyeTextureResources 000001BFB4CB31F8 [XR] [13648] [13:53:02.070][Info ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED session=1922679506448 time=58700132791000 Audio source failed to initialize audio spatializer. An audio spatializer is specified in the audio project settings, but the associated plugin was not found or initialized properly. Please make sure that the selected spatializer is compatible with the target. XRTextureManager::RequestDestroyTexture XRTextureManager::RequestDestroyTexture XRTextureManager::RequestCreateTexture XRTextureManager::SetupRenderTextureFromXRRequest (id: 3 col: 000001BFB4FE0278 d: 0000000000000000 sr: 0000000000000000) RenderTexture::Create (id: 3) IVRDeviceCallback_CreateEyeTextureResources 000001BFB4FE0278 Curl error 6: getaddrinfo() thread failed to start XRTextureManager::RequestCreateTexture XRTextureManager::SetupRenderTextureFromXRRequest (id: 4 col: 000001BFB4FDE578 d: 0000000000000000 sr: 0000000000000000) RenderTexture::Create (id: 4) IVRDeviceCallback_CreateEyeTextureResources 000001BFB4FDE578 Curl error 6: getaddrinfo() thread failed to start XRTextureManager::RequestCreateTexture XRTextureManager::SetupRenderTextureFromXRRequest (id: 5 col: 000001BFB4FDEAB8 d: 0000000000000000 sr: 0000000000000000) RenderTexture::Create (id: 5) IVRDeviceCallback_CreateEyeTextureResources 000001BFB4FDEAB8 Unloading 5 Unused Serialized files (Serialized files now loaded: 0) Unloading 11 unused Assets to reduce memory usage. Loaded Objects now: 7162. Total: 10.989100 ms (FindLiveObjects: 0.417300 ms CreateObjectMapping: 0.168700 ms MarkObjects: 10.363000 ms DeleteObjects: 0.039700 ms) Curl error 6: getaddrinfo() thread failed to start Curl error 6: getaddrinfo() thread failed to start Unloading 9 Unused Serialized files (Serialized files now loaded: 0) Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 9502. Total: 3.932800 ms (FindLiveObjects: 0.716000 ms CreateObjectMapping: 0.230400 ms MarkObjects: 2.963300 ms DeleteObjects: 0.022800 ms) Ping: Error performing ICMP transmission. Possibly because of a timeout Unloading 1 Unused Serialized files (Serialized files now loaded: 0) Unloading 60 unused Assets to reduce memory usage. Loaded Objects now: 7439. Total: 193.846400 ms (FindLiveObjects: 0.420700 ms CreateObjectMapping: 0.154500 ms MarkObjects: 4.704200 ms DeleteObjects: 188.566600 ms) Unloading 15 Unused Serialized files (Serialized files now loaded: 0) Unloading 187 unused Assets to reduce memory usage. Loaded Objects now: 8064. Total: 3.607900 ms (FindLiveObjects: 0.461000 ms CreateObjectMapping: 0.143400 ms MarkObjects: 2.876400 ms DeleteObjects: 0.126700 ms) Unloading 1 Unused Serialized files (Serialized files now loaded: 0) Unloading 191 unused Assets to reduce memory usage. Loaded Objects now: 7275. Total: 4.653400 ms (FindLiveObjects: 0.526700 ms CreateObjectMapping: 0.252000 ms MarkObjects: 3.688900 ms DeleteObjects: 0.185500 ms) Crash!!!

the final error handler report:

A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in: * C:/Users/%username%/AppData/Local/Temp/Hyperbolic Magnetism/Beat Saber/Crashes [XR] [17460] [13:53:29.490][Error ] xrLocateSpace: XR_ERROR_TIME_INVALID [XR] [13648] [13:53:29.502][Error ] xrLocateSpace: XR_ERROR_TIME_INVALID

From the logs I can tell that I played the game at the 05-06-2023 still perfectly fine, but since 05-17-2023 it was not running anymore.

UPDATE:

When I check the Unity logs from te game for in Analytics/ArchievedEvents I see an interesting difference:

05-06-2023 log:
"vr_device_name":"OpenVR",
"vr_device_model":"Index",
"vr_devices":["OpenVR","Oculus"],
"device_info_hash":2280535013,

05-17-2023 log:
"vr_device_name":"OpenXR Display",
"vr_devices":["OpenVR","Oculus"],
"device_info_hash":3536656886,

The device name changed from OpenVR to OpenXR, and the device model is not recognized as an Index anymore.

Unfortunetally there is no way, even not in the developers setting to intentionally set OpenVR for the runtime to use. OpenXR runtime is set to "SteamVR", but this is all that is there and cannot be changed.

UPDATE 2:

The culprit is a small QoL udpate from Beat Saber. Beat Saber now uses OpenXR instead of OpenVR and another Untiy version - this was poorly tested as it seems. I switched to the 'legacy 1.21.9 beta' version and the game runs again. Hope they find a solid solution before they remove the beta.
Автор останньої редакції: Kelrycor; 21 трав. 2023 о 14:46
< >
Показані коментарі 16 із 6
Yes, it's the same here. I don't even get as far as starting the VR environment. It just shuts down, then the VR environment restarts, but not the game. I can't get any further, I have absolutely no idea what to do.

I also ask for help!
Цитата допису Zachlesia:
Yes, it's the same here!

What hardware do you use? Also an Index?
Did you checked in the developers settings in which OpenXR runtime you are running? usually it should be "SteamVR".

Just out of curiosity, can you please check the logs in the folder ArchievedEvents named "e" with at least 2 kb of data in it? Just open them with notepad.

C:\Users\%username%\AppData\LocalLow\Hyperbolic Magnetism\Beat Saber\Unity\<profilenumber>\Analytics\ArchivedEvents\<eventnumber>\e

What does your file(s) say about the values vr_device_name, vr_device_model, vr_devices and device_info_hash? if you have older logs from when the game ran still fine, compare those values. For me there is a significant difference which can be connected to the SteamVR update from the 05-04-2023.
Автор останньої редакції: Kelrycor; 20 трав. 2023 о 7:52
Thanks to Pear I found out it was not the SteamVR update, but a small QoL update from Beat Saber messing with the VR mode and game engine that broke it for me.

https://steamcommunity.com/app/620980/eventcomments/3821911405393962936

Workaround: switch to the Beat Saber legacy 1.29.1 beta version in Steam to make it run again.

Seems the devs didn't properly tested things before rolling out a crucial update like this.
Hello,

Sorry, I have an HTC VIVE Cosmos, not a Valve. In the meantime I have changed to the corresponding version, but it still doesn't work.

I just looked up the protocol, but it's still from Friday, I don't know why a new one wasn't created.

(s)|{"appid":"aa1de77d-511f-4ac0-93e9-522113c22b84","userid":"0ee76e4a5f098b7468f96a027b519074","sessionid":8187557837204106918,"platform":"WindowsPlayer","platformid":2,"sdk_ver":"u2021.3.16f1","sdk_rev":"4016570cf34f","session_count":135,"localprojectid":"e65bdd05a1338f049b9d9268a5d8a8bb","build_guid":"823b584c9cf54ee41a08c33ad5ad6bf9","deviceid":"7743d19f371a77a83abd58c2766ce98d05da1cbb","identity_token":"0ee76e4a5f098b7468f96a027b519074"}
(g)|2
{"type":"analytics.SubsystemStop.v1","msg":{"subsystem":"OpenXR Input","ts":1684492791357,"t_since_start":14164460}}
{"type":"analytics.SubsystemStop.v1","msg":{"subsystem":"OpenXR Display","ts":1684492791357,"t_since_start":14164638}}
{"type":"analytics.appRunning.v1","msg":{"duration":4,"local_time_offset":-3600000,"ts":1684492792017,"t_since_start":14824142}}
(1){"type":"analytics.appStop.v1","msg":{"ts":1684492792017,"t_since_start":14824870}}

Edit: Another Protocol

Mono path[0] = 'D:/SteamLibrary/steamapps/common/Beat Saber/Beat Saber_Data/Managed'
Mono config path = 'D:/SteamLibrary/steamapps/common/Beat Saber/MonoBleedingEdge/etc'
Initialize engine version: 2019.4.28f1 (1381962e9d08)
[Subsystems] Discovering subsystems at path D:/SteamLibrary/steamapps/common/Beat Saber/Beat Saber_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 1060 6GB (ID=0x1c03)
Vendor:
VRAM: 6043 MB
Driver: 31.0.15.3179
Begin MonoManager ReloadAssembly
- Completed reload, in 0.124 seconds
D3D11 device created for Microsoft Media Foundation video decoding.
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

OpenVR initialized!
(Filename: Line: 839)

Created eye textures with a "double wide" layout. The "single-pass" stereo mode will be used.

UnloadTime: 0.663500 ms
Setting up 8 worker threads for Enlighten.
Thread -> id: 3428 -> priority: 1
Thread -> id: 41d0 -> priority: 1
Thread -> id: 3a64 -> priority: 1
Thread -> id: 5628 -> priority: 1
Thread -> id: 238c -> priority: 1
Thread -> id: 4bf4 -> priority: 1
Thread -> id: 4778 -> priority: 1
Thread -> id: 3160 -> priority: 1
OpenVR Shutdown
(Filename: Line: 1533)

second Edit:

My husband chage the firewall rules.. that was the next error, game works...
Автор останньої редакції: Zachlesia; 22 трав. 2023 о 4:27
same here with the cosmos elite, i'll try the beta workaround ^^
Quest 2 user here... having the same issue. Switching to the beta version of beat saber fixed it. Pretty bad that beat saber hasnt released a fix yet with their broken update... this always makes me stay away from updating the game -.-
< >
Показані коментарі 16 із 6
На сторінку: 1530 50