Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Linux action manifest load failing #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OwlchemyDawson
Copy link

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.

…lace back slashes with forward slashes on Linux
@cklarhorst
Copy link

cklarhorst commented Jan 3, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants