Skip to content

Fix for Linux action manifest load failing#126

Open
OwlchemyDawson wants to merge 1 commit intoValveSoftware:masterfrom
OwlchemyDawson:LinuxActionManifestPathFix
Open

Fix for Linux action manifest load failing#126
OwlchemyDawson wants to merge 1 commit intoValveSoftware:masterfrom
OwlchemyDawson:LinuxActionManifestPathFix

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

Comments