What's the best way to have 2 local instances running?
I want to test my kick stick and the current method I have is to make a build that I then upload to the alpha channel of my game and then run it in my headset and unity play mode.
3 Replies
Hi @Alix Ollivier. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
The recommended way to test multiplayer with two local instances in Normcore is to run a standalone build of your project alongside the Unity Editor. This is a common workflow: you export a standalone build, run it, and then hit Play in the Unity Editor. Both instances will connect to the same room, allowing you to test multiplayer features like your kick stick in real time. This approach is described in the official getting started guide and is the standard for local multiplayer testing with Normcore projects:
Export a standalone build to run next to the Unity Editor. Open the standalone build, hit Play in the editor and a second player should appear. Use the WASD keys to move around; you should see your Hoverbird player update in real time in both windows.Getting Started Uploading to an alpha channel and running on a headset is not required for local multiplayer testing unless you specifically want to test on different hardware (e.g., PC and VR headset). For most development and debugging, running a build and the editor on the same machine is the fastest and most efficient workflow. Note: If you are using Normcore's offline mode, be aware that it does not support multiple local clients connecting to the same offline room; each instance will have its own separate state. For multiplayer testing, make sure you are connecting to an online room instead Offline Mode. If you need to test with a VR headset and a desktop client, your current method (build for headset, run editor on PC) is valid, but for most rapid iteration, running two desktop instances is the most efficient. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
<@185325614775926784> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Check out Multiplayer Play Mode or ParallelSync