"Adding player twice" error?

Options
Hey, the other day I tried to get punTeams set up before giving up due to being tired. I removed the code i typed in and now, when i join a room, I get this error: "Adding player twice: 1". As well as that, when the player instantiates, the "Owner" field in it's photonView is set to "No PhotonPlayer Found". I don't know what's happened. Can someone help me out with this? I have a 2 week deadline to meet.

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @LeytonMate,

    What PUN Classic version are you using?

    Let's tackle each issue separately and start with "Adding player twice: 1" error.
    Could you copy/paste the full stack trace of the error?
    Could you provide minimal repro steps?
  • LeytonMate
    Options
    Turns out, I'd left a bit of code in where I'd converted PhotonPlayer to MonoBehavior to test. Oopsie