PUN - Any way to disable auto disconnect?

I've been implementing a lobby system for a fighting game with PUN, and everything has been quite smooth but I have a problem with being disconnected from photon automatically. I want to be able to support AFK spectators that just watch matches (like a stream) for but right now the client will eventually receive the OnDisconnectedFromPhoton callback and be kicked from the room. Seems to be variable timing, sometimes pretty soon or sometimes after 15+ minutes, ideally should go for much longer (hours). Does anyone have any advice for this?

Thanks

Best Answers

Answers