-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix long startup time #5
Comments
70 seconds?! instant start on my macbook? Is that bug on windows side? will check with my windows laptop... |
please check whether his happens as well if you replace the whole map by blank tiles, i.e. replace |
peculiar.... this seems to be an issue connected to the windows version of godot? I can reprocuce the long loading time, but this does not change if everything is replaced by collision-free tiles, so it is not connected to collision. |
Good news: Updating from Godot 2.1.3 to 2.1.4 reduced the load time from 70 to 12 seconds (same code as before, I didn't fetch the repo since yesterday). Will try again with Godot 3 RC2 later today. |
As discussed: Removing the debugger output reduced the total load time to <3 seconds. So: Fixed. 😄 |
I stopped the Godot process twice because I thought it crashed before I analyzed the code and realized what happened: Precalculating and placing 52.000 collision objects at startup takes approximately 70 seconds on my machine, without any visual clue of what's happening. 😲
I see two possible improvements for this:
The text was updated successfully, but these errors were encountered: