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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved Error in build due to this compiler error

Discussion in 'VR' started by unity_GgawzqSocF7IqA, Dec 6, 2019.

Thread Status:
Not open for further replies.
  1. unity_GgawzqSocF7IqA

    unity_GgawzqSocF7IqA

    Joined:
    Dec 5, 2019
    Posts:
    1
    Error - Assets\Oculus\VR\Scripts\OVRLint.cs(225,20): error CS7036: There is no argument given that corresponds to the required formal parameter 'buttons' of 'FixRecord.FixRecord(string, string, FixMethodDelegate, Object, bool, string[])'

    Please let me know how to fix it , i have no coding background in C#.
     
  2. badradio

    badradio

    Joined:
    Oct 1, 2019
    Posts:
    2
    Have you managed to fix it? i have it on Line 63:

    Line 63: public FixRecord()
    {
    }

    public FixRecord(string cat, string msg, FixMethodDelegate fix, UnityEngine.Object target, bool editRequired, string[] buttons)
    : base(cat, msg)
    {
    buttonNames = buttons;
    fixMethod = fix;
    targetObject = target;
    editModeRequired = editRequired;
    complete = false;
    }
    }
    }
     
  3. CJTaylormade

    CJTaylormade

    Joined:
    May 24, 2019
    Posts:
    1
    I also have this issue can anyone help I can't compile my project.
     
  4. ChloeAnnaSon

    ChloeAnnaSon

    Joined:
    Aug 10, 2020
    Posts:
    2
    Bump on this issue. I have it as well.
     
  5. mfuad

    mfuad

    Unity Technologies

    Joined:
    Jun 12, 2018
    Posts:
    334
    This looks like an issue related to the Oculus Integration package, which is developed and maintained by Oculus. Can you post this issue on their forums so their team can address? Thanks!
     
Thread Status:
Not open for further replies.