Forum Discussion

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

Rich Presence Compilation Errors in samples after updating to latest Integration v56

Assets\Oculus\Platform\Samples\RichPresenceSample\Scripts\RichPresenceSample.cs(111,13): error CS1061: 'RichPresenceOptions' does not contain a definition for 'SetApiName'

The solution is to delete the samples folder, but this is not my code so why is it broken?

Unity 2022.3.4f1

 

2 Replies

Replies have been turned off for this discussion
  • So I deleted the entire Oculus folder and reimported it, there were Unity notifications about deprecated APIs being used so I said upgrade and the problem still persists.

    So I re imported again this to saying no to the API upgrades and now the error is this:

    "Assets\Oculus\SampleFramework\Usage\TouchPro\Scripts\StylusTip\StylusTip.cs(51,29): error CS1729: 'Pose' does not contain a constructor that takes 2 arguments"

  • I have my own Pose class, all Oculus code including Samples should be inside the Oculus Namespace thanks very much!