steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

Missing compiler directive causes build error on MacOS

Open chilton opened this issue 7 years ago • 3 comments

Assets/SteamVR/WindowsHelper/SteamVR_Windows_Editor_Helper.cs(19,42): error CS0161: 'SteamVR_Windows_Editor_Helper.GetDefaultBrowser()': not all code paths return a value

Possible Solution: Add an additional set of directives prior to the ifdef.

#else
        return BrowserApplication.Firefox;
#endif

chilton avatar Jan 05 '19 19:01 chilton

Im having the same issue on the Linux Editor

TheArchKnight avatar Jan 12 '19 22:01 TheArchKnight

I believe this issue is fixed in rc2. But there are other osx / linux compatibility issues. https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.2RC2

keithbradner avatar Jan 22 '19 06:01 keithbradner

This particular issue was fixed in the current release. Still issues with linux support though.

keithbradner avatar Jan 31 '19 00:01 keithbradner