unity-xr-plugin icon indicating copy to clipboard operation
unity-xr-plugin copied to clipboard

Fix for Linux action manifest load failing

Open OwlchemyDawson opened this issue 2 years ago • 1 comments

Corrects the UserProjectSettings::SetUserDefinedSettings logic to properly replace backslashes with forward slashes in the settings.actionManifestPath string before attempting to determine if the file exists.

OwlchemyDawson avatar Dec 09 '22 20:12 OwlchemyDawson

Thanks. This PR helped me to get steamvr working in Unity.

Sadly, it was not enough: std::string fullPath = UserProjectSettings::GetCurrentWorkingPath() + "\\Assets\\" + settings.actionManifestPath; needed to be changed to: std::string fullPath = UserProjectSettings::GetCurrentWorkingPath() + "/Assets/" + settings.actionManifestPath;

Additionally, the Unity 2021.3 editor still crashes with default settings, but setting "Mirror View Mode" to "None" and "Stereo Rendering Mode" to "Multi Pass" fixes that. (The game view is sadly black, but VR is working).

cklarhorst avatar Jan 03 '23 13:01 cklarhorst