praydog / UEVR

Universal Unreal Engine VR Mod (4.8 - 5.4)
http://uevr.io
3.08k stars 158 forks source link

[BUG]Giraffe and Annika - crash when inject #188

Closed KwaiBird closed 8 months ago

KwaiBird commented 8 months ago

Game Title: Giraffe and Annika https://store.steampowered.com/app/1122100/_/

Describe the bug I have tried via both Virtual Desktop(VDXR, openXR) and Steam VR(OpenVR/OpenXR) but it was failed. When I tried to inject UEVR to the game, it was crashed immediately with Unreal Engine 4 Crash Reporter.

[on Unreal Engine 4 Crash Reporter] Unhandled exception

KERNELBASE UEVRBackend UEVRBackend UEVRBackend UEVRBackend UEVRBackend UEVRBackend UEVRBackend UEVRBackend UEVRBackend kernel32 ntdll

UEVR Beta 1.03 / Nightly 767 Virtual Desktop Streamer 1.30.1 Steam VR beta 2.3.5 SteamLink v.2.0.4.683 Virtual Desktop 1.30.1 Meta Quest 3 software ver. 49829370048400510

PC Specs :

UE4CC-Windows-8F7644D64074AED675C8048236EE5600_0000.zip Giraffe_and_Annika-Win64-Shipping.zip

praydog commented 8 months ago

It looks like it's crashing when attempting to get the path to the global config in %APPDATA%. Likely because there are strange characters in the path I think. Are other games okay? This game seems to work fine for me but I will still look into this issue

KwaiBird commented 8 months ago

Thank you.Your guess is correct. These characters are Japanese.Some Japanese games use the characters for the path. So I rename the path from C:/Program Files (x86)/Steam/steamapps/common/Giraffe and annika(ジラフとアンニカ)/Giraffe_and_Annika/Binaries/Win64/ to C:/Program Files (x86)/Steam/steamapps/common/Giraffe and annika/Giraffe_and_Annika/Binaries/Win64/ ,then I can inject UEVR to the game without crashing. I guess it causes same trouble if the path has other Asian characters such as Chinese or Korean ones. Other games I have tried are okay.

praydog commented 8 months ago

Can you try the newest nightly with the original characters in the filepath and see if the crash goes away? https://github.com/praydog/UEVR-nightly/releases/latest

KwaiBird commented 8 months ago

Sure. The newest nightly works fine with the original characters in the filepath. The crash goes away.Thank you again.

KwaiBird commented 8 months ago

Sorry for reopening. If I choose OpenXR with SteamVR/Virtual Desktop, UEVR the newest nighty in the game with the original filepath shows ‘No runtime loaded’ message. And the frontend does not handle Japanese characters correctly.It supposed to show "C:/Program Files (x86)/Steam/steamapps/common/Giraffe and annika(ジラフとアンニカ)/Giraffe_and_Annika/Binaries/Win64/" as I wrote above. ‘Attempt to Reinitialize’ does not work. If I rename the path to the one only including alphabets, it works with OpenXR.Also if I choose OpenVR as runtime, it is okay. I have tried other game, The Forgotten City, with OpenXR choosed for both SteamVR and VD, it works as well.

P.S. I forgot to mention I use Windows in Japanese. Giraffe_and_Annika-Win64-Shipping.zip path frontend game

praydog commented 8 months ago

Try the latest nightly again

praydog commented 8 months ago

Now newest build should also display the path correctly in the injector UI

KwaiBird commented 8 months ago

Great. UEVR Nightly 771 fixes both issues.

Now I can close the issue again. Thank you.