Network and physics

Hello,

I am using photon network, and I would like to know what is the best way to check physics server side.
I mean, is it possible to use directly Unity physics ? I don’t know, maybe by disabling the graphics and making a console program with Unity ?

Thank you very much.

You can run a headless instance, not sure if you need pro.
Check the docs for it.

Not, it’s not possible to use Unity’s physics in Photon.
It’s relatively tricky to get Unity’s built in physics to run on any server. The best option for that is usually running instances in headless mode, which is what you said: Turn off the output and run Unity just as process. In that case, Unity would be another “client” like most but doing the checks for everyone.

Unity Headless Clients require Unity Pro yes.

Its not a real console program then (you can’t start it on a console only windows machine) but one that does no longer use audio and graphics

The headless part is outside the server ?

Is there any other way than using a headless server ?

  1. Yes it outside the server. It’s basically using a unity client as a simulation server in headless mode so it doesn’t run graphics or audio.

  2. No. I will say I have heard of people doing some crazy shit to have the server have a bit map copy of the terrain or something like that but it’s a bit beyond me why you would ever try to do this the hard way. But its like the difference of buying a car new and putting on a bumper sticker and building the car yourself.