06-21-2018 02:56 PM
07-17-2018 02:36 PM
07-24-2018 11:21 AM
07-24-2018 04:07 PM
07-24-2018 04:07 PM
07-24-2018 07:57 PM
#if !(UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || UNITY_EDITOR_OSX || (UNITY_ANDROID && !UNITY_EDITOR))
//#define OVRPLUGIN_UNSUPPORTED_PLATFORM
07-25-2018 10:53 AM
07-31-2018 06:25 AM
08-01-2018 03:10 PM
brandoncash said:
For those Mac users, it's easiest to mark macOS as a supported platform rather than fix each instance of the undefined constant.
Line 22 of OVRPlugin.cs lists out the criteria to meet to get the "unsupported' flag (OVRPLUGIN_UNSUPPORTED_PLATFORM) which in turn triggers the error that brought everyone to this page.
Mark macOS as a valid platform by adding UNITY_EDITOR_OSX to the list of platform checks on line 22:#if !(UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || UNITY_EDITOR_OSX || (UNITY_ANDROID && !UNITY_EDITOR))
Alternatively, you can just comment out line 23 to stop the flag from ever getting set://#define OVRPLUGIN_UNSUPPORTED_PLATFORM
I know OSX isn't supported, but like aquaSun123, I develop on OSX sometimes with a target platform of Win64 or Daydream. Cross compiling shouldn't be stopped by this, but that's the result. I'm assuming this is a recent change because an older version of the Oculus Utilities didn't give me this grief.//#if !(UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || (UNITY_ANDROID && !UNITY_EDITOR))
//#define OVRPLUGIN_UNSUPPORTED_PLATFORM
//#endif
08-03-2018 12:16 PM
08-10-2018 07:32 AM