Initial start time of Godot game takes a while

Godot Version

4.3-mono

Question

I am currently building a fairly simple 2D game using Godot with C#. All my game does on a technical level is load & animate textures and load a few small sub-scenes within the main scene. I’ve already tried to optimize my texture file sizes as much as possible as well as remove any unused content from the project directory. Since there’s no further complicated logic going on (No physics, 3d models, etc. are being used), I was wondering why my game takes around 35 seconds to first render (From window open to the actual game being rendered).
I’ve tested this on two different Windows-based machines, but the load times are around the same.

Can this be solved through further optimization? If so, what are recommended steps to optimizing 2D Godot games, as I haven’t found many helpful articles so far.

Thank you.

This is difficult for us to judge since we dont really know a lot about your game.
Do you have @tool-scripts running or are your textures-sizes big?

I do have a few @tool scripts running, I wouldn’t see how this is impacting performance that heavily though. About the textures, largest ones are png-files around 320kb, but they’re using up 32MiB of VRAM as CompressedTexture2D, so that’s a possibility to explain these load times. How would one go over optimizing VRAM usage?

I dont know how you could optimize this, but Godot 4.4 will have massive import improvements, so maybe this will fix your issue

1 Like