ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
353 stars 82 forks source link

OculusVRModule.cs `Pose' is an ambiguous reference 9 (Unity 2017.2.0.b8) #14

Closed bartburkhardt closed 5 years ago

bartburkhardt commented 6 years ago

When using Unity 2017.2.0b8 I get following error;

Assets/HTC.UnityPlugin/VRModule/Modules/OculusVRModule.cs(107,24): error CS0104: Pose' is an ambiguous reference betweenHTC.UnityPlugin.PoseTracker.Pose' and `UnityEngine.Pose'

To correct I changed into PoseTracker.Pose Then I get errer that VRSettings can't be found. I changed it into XRSettings Then again more Pose errors, corrected again using PoseTracker.Pose Then I get error VRDevice can't be found. I changed it into XRDevice

lawwong commented 6 years ago

Thanks for the report, we missed the OculusVRModule.cs.

Also you can use type alias like

using UnityEngine;
using Pose = HTC.UnityPlugin.PoseTracker.Pose;

so you can use Pose in your script.

bartburkhardt commented 6 years ago

I still get 4 errors after these changes; Assertion failed: Assertion failed on expression: 'false && "unsupported texture format" Assertion failed: Assertion failed on expression: 'false && "unsupported texture format" Assertion failed: Assertion failed on expression: 'false && "unsupported texture format" Assertion failed: Assertion failed on expression: 'false && "unsupported texture format"

lawwong commented 6 years ago

Can you help allocate the errors? We can't reproduce the errors on Unity 2017.2.0f3 with OVR v1.20.0