10-27-2014 05:16 AM
Assets/OVR/Editor/OVRShimLoader.cs(46,32): error CS0117: `UnityEditor.PlayerSettings' does not contain a definition for `d3d11ForceExclusiveMode'
Assets/OVR/Editor/OVRShimLoader.cs(47,32): error CS0117: `UnityEditor.PlayerSettings' does not contain a definition for `visibleInBackground'
EntryPointNotFoundException: ovr_GetVersionString
Ovr.Hmd.GetVersionString () (at Assets/OVR/Scripts/OvrCapi.cs:1309)
OVRManager.Awake () (at Assets/OVR/Scripts/OVRManager.cs:318)
NullReferenceException: Object reference not set to an instance of an object
OVRCameraRig.ConfigureCamera (OVREye eye) (at Assets/OVR/Scripts/OVRCameraRig.cs:183)
OVRCameraRig.UpdateCameras () (at Assets/OVR/Scripts/OVRCameraRig.cs:112)
OVRCameraRig.Start () (at Assets/OVR/Scripts/OVRCameraRig.cs:77)
Screen position out of view frustum (screen pos 593.000000, 247.000000) (Camera rect 0 0 811 271)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32, Int32)
10-27-2014 06:21 AM
10-27-2014 10:27 AM
"paulharden" wrote:
0.4.3 unity integration seems to be quite broken, and it seems you have 4.6beta, so spotting the issue can be difficult.
I suggest you to revert to unity 4.5.5 and sdk 0.4.2.
I had a hard time to make 0.4.3 work on unity 4.5.5pro but finally i succeeded, however only running the "directtorift" executable in extended mode 😮
10-27-2014 11:29 AM
10-27-2014 11:38 AM
10-27-2014 11:52 AM
10-27-2014 12:26 PM
"TonyVT" wrote:
Assets/OVR/Editor/OVRShimLoader.cs(46,32): error CS0117: `UnityEditor.PlayerSettings' does not contain a definition for `d3d11ForceExclusiveMode'
Assets/OVR/Editor/OVRShimLoader.cs(47,32): error CS0117: `UnityEditor.PlayerSettings' does not contain a definition for `visibleInBackground'
#if (UNITY_5 || UNITY_4_6 || (UNITY_4_5 && !(UNITY_4_5_0 || UNITY_4_5_1 || UNITY_4_5_2 || UNITY_4_5_3 || UNITY_4_5_4)))
#if (UNITY_4_5_5)
"TonyVT" wrote:
EntryPointNotFoundException: ovr_GetVersionString
10-28-2014 05:02 AM
"vrcat" wrote:
I believe that it's been stated elsewhere by Shaver that 4.5.2 and 4.5.5 are the supported versions. Thanks for reporting this issue in 4.6; I've forwarded it to the team.
"DanB" wrote:
I believe Unity 4.5.5 is needed if you want Rift support in the free version. If you want to keep using 4.6 beta, then the beta version which is equivalent to 4.5.5 is 4.6 beta 21, which is bleeding edge and described as "Latest release with minimal testing, Has only been spot tested by Unity QA. No Web Player support."
"vrdaveb" wrote:
Unity 4.6 works with 0.4.3, but you have to make a small change to OVRShimLoader as you found. Unity 4.6 Free will not work, but it sounds like you have a pro license.
10-28-2014 09:37 AM
"vrdaveb" wrote:
Unity 4.6 works with 0.4.3, but you have to make a small change to OVRShimLoader as you found. Unity 4.6 Free will not work, but it sounds like you have a pro license.
It should be fine to comment out those lines or change#if (UNITY_5 || UNITY_4_6 || (UNITY_4_5 && !(UNITY_4_5_0 || UNITY_4_5_1 || UNITY_4_5_2 || UNITY_4_5_3 || UNITY_4_5_4)))
to#if (UNITY_4_5_5)
10-28-2014 10:20 AM
"cwm3D" wrote:
However, it still does not work through the Rift! The demos show in the Unity game area, and the tracking on the HMD is active, but still black screen on the Rift (Orange light on unit/blue light on camera).