Operation failed: OperationResponse 252: ReturnCode: -2 (Actor with number X not found.). Parameters

I have this error
Operation failed: OperationResponse 252: ReturnCode: -2 (Actor with number 7 not found.). Parameters: {} Server: GameServer
This happened when two players enter a same room at the same time.
But two or many players can join the same room at the same time, so this problem should not happen.
I don't know how to fix this issue.
I hope the Photon Forum Support Admin help me on this problem.
Thanks

Answers

  • Hi @sweetmei25,

    The error means that you are trying to set properties for an actor (actor number 7) that is not joined to the room.
    Either:

    1. the actor is not yet fully joined to the room.
    2. the actor has left the room.

    How are you calling SetProperties and when?
    Could you share the snippet for this?
    Can you have minimal repro steps?
    Can you reproduce this 100% of the time?
Sign In or Register to comment.