title: Getting an error to override onConnectedToMaster() in Unity
body: <p>I have extended &quot;MonoBehaviourPunCallbacks&quot; to my class but still getting the override error. Unity version: 2021.3 and Photon Pun 2.</p>
  <p>Error message</p>
  <blockquote>
  <p>Assets\connectToServer.cs(15,26): error CS0115: 'connectToServer.onConnectedToMaster()': no suitable method found to override</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/ckC79.png" rel="nofollow noreferrer">Image of Class</a></p>