I haven’t tried this yet, but for a multi-player game I’m hoping to be able to start a second Urho3D context in headless mode to act as the server, to which the currently running Urho3D context can connect to as a client (all in the same process).
Is this possible? Are there any potential pitfalls that I will run into? E.g. what happens when both try writing to the log file? Are the worker threads shared or will there be 2x more worker threads? etc.
Another idea I had was to start the server in a child process.