ValveSoftware / unity-xr-plugin

OpenVR plugin for Unity's XR API
BSD 3-Clause "New" or "Revised" License
306 stars 64 forks source link

Black screen when started from within the accent code folder #74

Open shiena opened 3 years ago

shiena commented 3 years ago

Environment

For example, if an accent code such as Pokémon is included in the path of the application, it will be a black screen even if it is started. There is no problem with the legacy VR API.

shiena commented 3 years ago

Even Oculus and OpenXR do not start normally, so the cause may be XR Plug-in Management.

shiena commented 3 years ago

Probably there is a problem with the character encoding of the unity DLL search path. An invalid path string is generated by combining the Japanese system locale and accent code folder or the English system locale and Japanese folder, and the app displays a black screen.

shiena commented 3 years ago

This is a related issue reported to unity. Perhaps this is a problem on the Unity Player launcher side, not the XR Plugin. https://issuetracker.unity3d.com/issues/xr-sdk-oculus-build-crashes-on-xrsdkpreinit-when-running-it-from-folder-with-non-ascii-symbols