Closed hqnghi88 closed 2 weeks ago
@hqnghi88 How do you run the model/game? I tested with the latest version of the toolchain (both GAMA plugin and Unity Template) and the "Leon" release version of the middleware, and it works well.
First of all, you have in the GAMA model (Multi player game.gaml) to define the number of player (the variable "number_players" of Unity_linker). In my test, I set it to 2. Then, run the "vr_xp" experiment, launch the Unity application for the two players, then in the middleware (where you should see the 2 players in orange), click on "Add everyone to GAMA". And it should work.
Thanks, i will redo witb Leon version, for model and unity, i tested with latest examples on github.
Hi, I tried with commit eaa974d (which is released as Leon version) with 2 gama model demo/Multi/RaceVR and CodeExample/Multi player. They both have:
I was not testing the same model as you. I will test it
I think, you did not run the same model in GAMA and Unity. You should test either:
In both case, be sure for the connection manager to set the right IP and check "Fixed Properties"
Both models/games work on my computer
@ptaillandier @hqnghi88 is this issue fixed ? :)
I close this as I can have the multiplayer now (not sure when or how it is fixed or it's even not an issue) :)
Using the template: Multiplayer Game\Main Scene, with the model RaceVR from LinkToUnity plugin, the first player who connected to middleware is well display in GAMA simulation. But the 2nd, even the middleware has show that player added, but there seems no conversation to GAMA,as the init block of unity_player was not trigger 2nd time. I try with latest code from simple.toolchain (template and gama plugin), the middleware is currently a mesh so i am not sure where is the cause.