Skip to main content
sh0v0r
Up and Coming
August 31, 2023

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

 

    This topic has been closed for replies.

    2 replies

    sh0v0r
    sh0v0rAuthor
    Up and Coming
    August 31, 2023

    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"

    sh0v0r
    sh0v0rAuthor
    Up and Coming
    August 31, 2023

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