On 5.6.272, loading a preview (the stage before the game window pops up) of my largest project now takes up to 75 seconds. On previous versions this took maybe 10-20 seconds. This is on any preview, debugger on or off etc. The project still has some legacy actions in case that matters, like the old “change scene/object variables” action.
I guess you can’t reproduce with small projects, but it is very much noticeable on my end.
I’ve noticed this too. I made a lot of global objects into scene objects to reduce load times previously, and it worked well. It was taking 12 to 15 seconds to load a preview then, before this most recent update. It now takes over a minute.
Could you share one of your projects with this slowdown? Either by uploading it to a web storage and sharing the link, or sending it via hello@gdevelop.io.
We’ll take a look to see if we understand what’s causing this issue.
I have the same issue in my project. In the previous version, the preview loading time was around 10 seconds, but in the latest version it now takes almost 2 minutes. Because of this, I have rolled back to the previous version and I am continuing my project there.
@ayd1903avc Thank you for confirming, but if we don’t have a project to reproduce the issue, we’re not able to fix it.
If someone can share their project, then we’ll look into fixing this preview time.
Thanks
Sorry but I’m not gonna share the entire source code and assets for a fully developed game that is released commercially on Steam. I’d prefer to retain sole responsibility for how these things are secured.
I tried to reproduce this by flooding a dummy project with lots of simple events across 10+ event sheets and then with lots of objects that had lots of animations and variables, but that didn’t actually result in very long load times.