Is it a correct way of catching MaxCcuReached callback in PUN2?

Options
Hello,

I am trying to implement MaxCcuReached warning and I am not sure if I did it correct... Could you please help me?
public override void OnDisconnected(DisconnectCause cause)
    {
        if (cause == DisconnectCause.MaxCcuReached) Debug.Log("Server is full, please try again...");
    }

Best Answer

Answers

  • Storm
    Options
    Thanks a lot!
  • Hi, I know I'm reliving a old post but, let me ask a simple question..

    How do I "limit" the CCU in my game? (I mean for example, I have the 2000 CCU with CCU Burst active but, I don't want to use more than 2000 CCU users, how can I do it?) - In my case, I'm having around 21.000 CCU right now, and I already tried contacting Photon to adjust my current subscription but, I want to have a CCU limit instead of using the CCU Burst every time, it is generating too much costs... )