Is there a way to test the Multiplay-SDK locally?

Is it possible to test the Multiplay-SDK locally in the editor?
I mean the events like Allocate, Deallocate.

When I try to run my game in the editor I get the following error:
"InvalidOperationException: Failed to load ServerConfig. Ensure there is a test server.json file available in the project directory"

I couldn't find a server.json file for testing in the docs.
Am I missing something or is this not possible?

1 Like

Hello,

Currently, there is not a way to test the Allocate and Deallocate events in the editor or on a local build. It is something that is being discussed internally, so please keep an eye on the roadmap for updates on this - https://unity.com/roadmap/unity-gaming-services/multiplayer

In the mean time you can avoid that specific error by creating a server.json file in the local directory where your game server is running. See this docs page for the structure of the file and an example - https://docs.unity.com/game-server-hosting/concepts/server-json.html

[quote=“danri”, post:2, topic: 899398]
Hello,

Currently, there is not a way to test the Allocate and Deallocate events in the editor or on a local build. It is something that is being discussed internally, so please keep an eye on the roadmap for updates on this - https://unity.com/roadmap/unity-gaming-services/multiplayer

In the mean time you can avoid that specific error by creating a server.json file in the local directory where your game server is running. See this docs page for the structure of the file and an example - https://docs.unity.com/game-server-hosting/concepts/server-json.html
[/quote]
Thanks.

Bump :P
Just bumping to let you know that there are more people that would love to get this feature work :smile:

1 Like