First off, sorry for the flurry of questions. Our large budget project was supposed to get outside help on photon for release date concerns and that fell through so I am winging things.. Anyhow
Our design is such that we want a room to stay open if players leave so they can come back and pick up where they left off. I would prefer not to try to save the state off. So I was pretty happy when I saw room TTL which sounded like it would do exactly what I wanted. I have tried to set this value 2 ways. First in the plugin on create room, before i do info.continue I am getting the game state, modifying room and player ttl, then setting it. The change is visible in the debugger afterwords but if i test having the only player in the room leave and then restart and come back, it makes a fresh room for them. Then I thought I would try doing it in PUN in the room options(Not ideal since this is client trusted but worth testing). In this scenario the TTL values I see in GetGameState are all 0s. Is there some other step I am missing to control how this value is used. I would be happy if I could default these for all games to some value and it never be changeable.
Our design is such that we want a room to stay open if players leave so they can come back and pick up where they left off. I would prefer not to try to save the state off. So I was pretty happy when I saw room TTL which sounded like it would do exactly what I wanted. I have tried to set this value 2 ways. First in the plugin on create room, before i do info.continue I am getting the game state, modifying room and player ttl, then setting it. The change is visible in the debugger afterwords but if i test having the only player in the room leave and then restart and come back, it makes a fresh room for them. Then I thought I would try doing it in PUN in the room options(Not ideal since this is client trusted but worth testing). In this scenario the TTL values I see in GetGameState are all 0s. Is there some other step I am missing to control how this value is used. I would be happy if I could default these for all games to some value and it never be changeable.