Need help. How to enable lobby statistics?

Options
Hello, I want to use the OnLobbyStatisticsUpdate() function. But the documentation says you have to enable lobby statistics. The docs say do this:

PhotonNetwork.EnableLobbyStatistsics = true;
(Which is read only)

And this:
LoadBalancingClient.EnableLobbyStatistics = true;
(Which gives the error "an object reference is required")

I've also tried:
PhotonNetwork.PhotonServerSettings.EnableLobbySatistics

Best Answer

Answers

  • PhoenixRise
    Options
    Also I'm using PUN 2
  • PhoenixRise
    Options
    Oh ok.ty so much for explaining that.
  • KapilKhatik
    Options

    How to implement this code to show no. of active players in the current lobby? I'm confused about how to implement this? Can you guide me with some resources? It'll be very helpful to me thanks.