#I see, thanks.
1 messages · Page 1 of 1 (latest)
I'm not an expert on Multiplay, so I'm not 100% sure of the answer myself. I will try to get someone more familiar with the subject matter to confirm.
My instict tells me it will not be possible to determine the environment prior to calling InitializeAsync. If it is possible, it's likely going to be a default value set by the service and would potentially change once InitializeAsync is called.
Just confirmed with a Multiplay dev: OnAllocate is only available after initialization via InitializeAsync.
I see, thank you.
I guess this can be a feature request then 🙂 Would be cool if you did it like Google Cloud.
If you host with them they can fallback to the correct environment in all their SDKs.
Should be very very easy to do, just add an environment variable on your hosting machines when they load and read it with your SDK.
I'll ask the team for best practices around environment handling for multiplay servers