0 votes

I've got a multiplayer game, and I'm using the linux dedicated server binary to run it on a headless machine.

When I run the server windowed on either Linux or Windows, everything is fine. But when I run it via the headless server binary on Linux, I get a ton of these error messages when loading into the level:

ERROR: instance_set_use_lightmap: Condition "lightmap_instance->base_type != VisualServer::INSTANCE_LIGHTMAP_CAPTURE" is true.
   At: servers/visual/visual_server_scene.cpp:713.

The main problem being, it appears I'm leaking a lot of SOMETHING, and only with this dedicated server binary. I'm leaking about 43MB per level load.

I'm using BakedLightMap and I think 43MB about makes sense for that data. But I can't be sure. (The SCN files with the baked light maps are slightly larger in total than 43MB at 49.1MB)

So my main question is, how does the dedicated server binary handle the visual assets, has anyone had experience with it leaking them?

Updated: It's not the light map, removed it and it's still leaking.
Profiled on Windows and windows is 100% not leaking.

in Engine by (32 points)
edited by

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.