UNET SetProgramAppID() in C#? What's up with that?

Hello people,

I’d like to use the new NetworkMatch class, in order to get matchlists and such. However, I don’t understand how to use the NetworkMatch.SetProgramAppID method to be able to call UNET functions.

It seems, all you can insert is an enum. How do you use it? Where do you get the suitable object to pass over? Just passing the string from Application.cloudProjectId doesn’t seem to work, neither does that convert to an AppID object. The enum itself, is only offering “Invalid”. Unfortunatly, the docs don’t seem to reveal much about it (or did I just miss something)?

I know it’s being mentioned in another place in the docs, apart from the scripting reference, where a AppID.XXX is put in as an example, but there is no futher information about it.

What am I supposed to do? Can someone help?

It’s a method that’s not necessary to call yourself.

To set up your client id, go to https://multiplayer.unity3d.com, login and make sure your project is set up. Take the guid from there and go to Edit → Project Settings → Player. Clear out the “Cloud Project ID” if anything is there and paste in the GUID you got from the web page.

Is it conceivable that this becomes configurable in the future? I use Photon in another game, for example, where it’s necessary to set the appID at runtime, and it’s been useful.