Run WebGL Game on Server, not Device

Hi there, maybe this sounds like a stupid question cause im more or less new on the WebGL side…so 1st : Sorry :slight_smile:

My test prototypes are currently on a standard web server, which I also use to run my website. I would basically like to separate it and the question arises as to whether there are solutions that can also carry out the in-game calculations at the same time.

As far as I understand it, the calculation of the content is carried out by the PC/laptop or whatever end device.
I can track this in the task manager in the graphics card and memory usage.
What does it take to run the applications directly on the server?

Look for Remote rendering, unity has one (Furioos), and there’s many 3rd party solutions too.
or make your own, could use webrtc to “receive video” from application running on cloud Unity Engine - Unity Discussions

1 Like

I looked at furioos, very impressive and in principle exactly what I am looking for. With the concept, the question arises as to whether it is possible, for example, to save game saves or to transmit values to my database.

yes, its just a remote computer running your desktop app (so it should be able to connect internet normally etc).
(just cannot save data locally to that pc, since its temporary instance, and new ones will be spawned/despawned on demand)

1 Like

yea, i also think that it could work during a session, since that virtual machine is going to be deleted when i end the session. But i think about the following scenario:

I create a small “educational game” for our customers, an adventure that shouldn’t last longer than an hour (actually i work with the “Adventure Creator” within Unity. As usual in adventures, the player can collect and use objects. But if the player now wants to end the session after 30 minutes, he should be able to somehow save his progress and load it again at a later point in time. Accordingly, the question would be whether it would be possible to save the progress via code locally on the user’s computer and load it again in another session.

In addition, we would like to transfer the progress to our LMS in the form of points. Here, too, the question arises as to whether communication with databases is possible…I assume based on your last answer: yes :slight_smile:

yes, and since the clients viewer runs in a browser,
pretty sure that you could even save data to the clients machine using javascript too. (cookies, localstorage).
*although haven’t looked into it, not sure if furioos has something for that, or PureWeb sdk.

1 Like

Thank you mgear for your help and patience. i will give it a try :slight_smile: