Player Actor Number is Zero?

Options
Hello,

Can this be explained? When I check the clients player properties, its actor number is 0. But if I checked the client that created the room (Master Client?), it's actor number is 1. Shouldn't the client that joined room after have Actor Number 2?

Thanks,
jrDev

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @jrDev,

    Actor numbers start from 1 and go higher.
    Could you share the code where you get a player with actor number zero?
  • jrDev
    Options
    Hello,

    I forgot to mention I am using Playmaker at first. The problem seemed to have been my error. I had to Global Events - OnJoinedRoom and OnPlayerEnteredRoom on a state, plus I couldve also made error with not setting the variable to get the Actor Number. It started working after redoing my state setups but I can't seem to recreate the problem currently. I will update if I hit this snag again.

    Thanks,
    jrDev
  • jrDev
    Options
    Hello,

    Wanted to update that I started to use the PlayerNumbering class provided by photon.

    Thanks,
    jrDev