Hi there,
We’re working on a multiplayer game, and we’re using dmengine
directly to launch multiple clients on the same machine.
I can launch the first client from the Defold editor, and it works flawlessly. The problem is when I launch the second one (using dmengine
from the commandline) it doesn’t seem to be registering the native modules, such as "mime"
and "luasec"
, which are required for websockets. The game runs but without networking, due to an error when trying to call "mime"
.
Here are the logs from the editor:
NFO:ENGINE: Engine service started on port 54361
INFO:ENGINE: Defold Engine 1.2.126 (32ba5ea)
INFO:ENGINE: Loading data from: build/default
INFO:ENGINE: Initialised sound device 'default'
Registered luasec Extension
Registered timer Extension
Logs from dmengine
(manually from commandline):
INFO:ENGINE: Engine service started on port 8001
INFO:ENGINE: Defold Engine 1.2.129 (30b201a)
INFO:ENGINE: Loading data from: build/default
INFO:ENGINE: Initialised sound device 'default'
As you can see, in the second launch, the messages about registering the extensions are not present.
Is this something we can fix on our side?
I’d appreciate your help! Cheers!