Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Resolved OVRLint.cs no argument given that corresponds to the required formal parameter

Discussion in 'VR' started by chilton, May 20, 2022.

  1. chilton

    chilton

    Joined:
    May 6, 2008
    Posts:
    505
    I have this issue in one project:

    Assets/Oculus/VR/Scripts/OVRLint.cs(292,20): error CS7036: There is no argument given that corresponds to the required formal parameter 'buttons' of 'FixRecord.FixRecord(int, string, string, FixMethodDelegate, Object, bool, string[])'

    And in another project, with the same version of Unity and the same version of the Oculus Integration tools, I did not have that problem. That's odd.

    Elsewhere on this forum someone asked about it, and the response from Unity was that it's not in Unity's code, so the thread is closed, and marked resolved.

    Well it didn't look resolved, that thread never explains a resolution, and from what I can tell it's not in the integration package.

    If you run into that problem, hopefully you'll find this post. The only solution I can find that works, is to delete the library folder and the oculus folder, reload the project, then reload the oculus integration tools.

    It appears to be something deeper in the project, but I have no idea what.
     
    MikewLearnroll likes this.