OpenVRSettingsCopier does not remove spaces from buildName
kfird214 opened this issue · comments
When trying to build on a project where the Project name has space in it.
When building unity removes the spaces from the data folder.
So the OpenVRSettings.asset
would be copied to the wrong folder.
Cause similar error to ValveSoftware/steamvr_unity_plugin#713
string buildName = buildPath.Name.Replace(buildPath.Extension, "");
Probably can just change to
string buildName = buildPath.Name.Replace(buildPath.Extension, "").Replace(" ", "");
The bug was on the unity side that the build path
was wrong for that script.
Updated unity and it was fixed