#Game Server Lifecycle
1 messages · Page 1 of 1 (latest)
You could try reviewing this documentation: https://docs.unity.com/ugs/en-us/manual/game-server-hosting/manual/concepts/server-lifecycle
There is some nuance between the relationship between allocations and server lifecycle outlined here: https://docs.unity.com/ugs/en-us/manual/game-server-hosting/manual/concepts/server-lifecycle#Server_lifecycle_variations
thanks! super useful links
One more question, I've already read the "Deallocations" page, but want to clarify.
As long as I don't deallocate via matchmaker or deallocations REST API, I don't need OnDeallocate() event from the SDK, right?
The only source of deallocation would be Application.Quit(0); from my side.
And same with OnAllocate(), as long as I have the "start on provision" setting disabled and I deallocate only via Application.Quit(0);, I don't need the OnAllocate() event, right? (bcoz in this case binary running = allocated).
@floral gazelle
There is also a TTL on server allocations. I believe the default is still an hour. After which it will deallocate itself.