Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
9 years ago

Deprecation Errors in Oculus Touch

When I write any simple script for Oculus Touch, I get deprecation errors saying 'UnityEditor.PlayerSettings.renderingPath' is obsolete.  This is from the OVRLint.cs file supplied by Oculus, not my code directly.  How do I fix it?

At the moment, I am trying to follow this person's tutorial:
https://www.youtube.com/watch?v=kD47gUJO7jA

However, I have gotten the same set of deprecation errors attempting other tutorials, also.

Thanks for anything helpful.

2 Replies

Replies have been turned off for this discussion
  • Anonymous's avatar
    Anonymous
    Thanks for the response!  However, "Run API Updater" under Assets is grayed out.  I got the Oculus Utilities into Unity via   Assets-->Import Package --> Custom Package    and then selected the most up-to-date Utitlites which I downloaded from the Oculus Developer site.  I tried updating Unity from 5.5 to 5.6, but again no luck.  The warnings show up as soon as I import the utilities package.
  • Anonymous's avatar
    Anonymous
    I think I finally have this step:  From the Unity website: Put    this.animation.Play ();     inside Start(){  }
    That gets you a pop-up box  Choose:  I Made a backup...  
    API should update.  Oculus and Unity shake and grind, an outright error ensues, there is shutting down and re-booting and shivering and quivering and (metamorphosis?) and updating and various kinds of unhappy messages, but finally, I got things to update and run minimally.

    So, thank you!  That was the hint I needed to take the next baby step!