Defold Won’t Respond When Opening Projects

Hello everyone!

I first wrote about this issue on Discord, but I decided to post it here as well, thinking it might be easier to explain. If I find the solution, I’ll share it here so it can help others facing the same problem.

My Defold engine won’t launch anymore. When I try to open the engine with either an existing project or a new blank project, it just freezes. Shortly after, the app notifies me that it’s not responding.

This happens every time I try to launch any project—whether it’s a new blank project or one of my own.

Here is the log I get when the bug occurs:

2024-08-25 22:58:14.291 148 [JavaFX-Launcher] WARN javafx - Unsupported JavaFX configuration: classes were loaded from ‘unnamed module @758d1bb5
2024-08-25 22:58:15.535 1392 [Thread-4] INFO com.defold.libs.ResourceUnpacker - deleting old unpack dirs from C:\Users\wislo\AppData\Local\Defold\unpack
2024-08-25 22:58:15.540 1397 [Thread-4] INFO com.defold.libs.ResourceUnpacker - Already unpacked for the editor version 8a536ed1046ca0190e22eb47f78cb59e840a92a7
2024-08-25 22:58:15.545 1402 [Thread-4] INFO com.defold.libs.ResourceUnpacker - defold.unpack.path=C:\Users\wislo\AppData\Local\Defold\unpack\8a536ed1046ca0190e22eb47f78cb59e840a92a7
2024-08-25 22:58:21.464 7321 [Timer-0] INFO editor.updater - {:line 303, :message “Checking for updates”, :url “https://d.defold.com/editor2/channels/editor-alpha/update-v4.json”}
2024-08-25 22:58:22.327 8184 [Timer-0] INFO editor.updater - {:line 310, :message “No update found”}
2024-08-25 22:58:34.507 20364 [clojure-agent-send-off-pool-0] INFO editor.defold-project - {:line 346, :message “Cached loaded save data in system cache.”, :total 11, :retained 7, :unretained 4, :limit 20000}
2024-08-25 22:58:35.278 21135 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe [git, --version],C:\Program Files\Git\cmd
2024-08-25 22:58:35.328 21185 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe may return ‘git version 2.41.0.windows.3’
2024-08-25 22:58:35.329 21186 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - remaining output:

2024-08-25 22:58:35.331 21188 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe [git, config, --system, --edit],C:\Program Files\Git\cmd
2024-08-25 22:58:35.391 21248 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe may return ‘C:/Program Files/Git/etc/gitconfig’
2024-08-25 22:58:35.392 21249 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - remaining output:

2024-08-25 22:58:35.526 21383 [JavaFX Application Thread] INFO util.http-server - {:line 103, :msg “Http server running”, :local-url “http://localhost:59766”}
2024-08-25 22:58:35.563 21420 [clojure-agent-send-off-pool-0] INFO editor.boot-open-project - {:line 398, :message “project loaded”}
2024-08-25 22:58:36.395 22252 [JavaFX Application Thread] INFO util.http-server - {:line 103, :msg “Http server running”, :local-url “http://localhost:59768”}
2024-08-25 22:59:06.906 52763 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached loaded save data in system cache.”, :total 56, :retained 8, :unretained 48, :limit 20000}
2024-08-25 22:59:26.101 71958 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached loaded save data in system cache.”, :total 56, :retained 8, :unretained 48, :limit 20000}
2024-08-25 23:01:36.645 202502 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached loaded save data in system cache.”, :total 56, :retained 8, :unretained 48, :limit 20000}
2024-08-25 23:01:49.175 215032 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached loaded save data in system cache.”, :total 58, :retained 10, :unretained 48, :limit 20000}
2024-08-25 23:02:36.952 262809 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 153, :retained 25, :unretained 128, :limit 20000}
2024-08-25 23:03:48.750 334607 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 178, :retained 25, :unretained 153, :limit 20000}
2024-08-25 23:05:02.570 408427 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 178, :retained 25, :unretained 153, :limit 20000}
2024-08-25 23:05:08.710 414567 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 177, :retained 25, :unretained 152, :limit 20000}
2024-08-25 23:05:27.888 433745 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached loaded save data in system cache.”, :total 171, :retained 24, :unretained 147, :limit 20000}
2024-08-25 23:05:34.141 439998 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached loaded save data in system cache.”, :total 171, :retained 25, :unretained 146, :limit 20000}
2024-08-25 23:06:33.403 499260 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 192, :retained 26, :unretained 166, :limit 20000}
2024-08-25 23:06:47.744 513601 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 215, :retained 26, :unretained 189, :limit 20000}
2024-08-25 23:07:29.972 555829 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 215, :retained 26, :unretained 189, :limit 20000}
2024-08-25 23:08:10.302 596159 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 186, :retained 26, :unretained 160, :limit 20000}
2024-08-25 23:08:33.391 619248 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 212, :retained 26, :unretained 186, :limit 20000}
2024-08-25 23:09:24.828 670685 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 200, :retained 26, :unretained 174, :limit 20000}
2024-08-25 23:09:34.975 680832 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 201, :retained 26, :unretained 175, :limit 20000}
2024-08-25 23:09:39.485 685342 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 201, :retained 26, :unretained 175, :limit 20000}
2024-08-25 23:09:46.049 691906 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 196, :retained 26, :unretained 170, :limit 20000}
2024-08-25 23:09:50.185 696042 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 194, :retained 26, :unretained 168, :limit 20000}
2024-08-25 23:09:55.756 701613 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 201, :retained 26, :unretained 175, :limit 20000}
2024-08-25 23:10:06.353 712210 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 201, :retained 26, :unretained 175, :limit 20000}
2024-08-25 23:10:10.202 716059 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached compiled build targets in system cache.”, :total 196, :retained 26, :unretained 170, :limit 20000}
2024-08-25 23:11:36.356 802213 [JavaFX Application Thread] INFO editor.defold-project - {:line 346, :message “Cached loaded save data in system cache.”, :total 200, :retained 27, :unretained 173, :limit 20000}

That log is from august last year.
Do you have a more recent one?

1 Like

Could you please try to do Project->Bundle and bundle to a Windows executable and try to run that. Does it start? My guess is that dmengine.exe is blocked by some antivirus or similar.

When you do Project->Build a debug version of the engine will start and it opens some socket connections that the editor can connect to.

I had the same issue after windows 11 update. Restarting my PC helped a few times, but when I returned to older version of windows (now it’s 23H2, 22631.4541), the problem was solved completely.

Hello, sorry, I didn’t realize. I only looked at the day and didn’t check the year or the month. But now everything works fine. I canceled a Windows update on my PC, and that was the problem.

Yeah, I tried to build a project, and the first launch worked without any difficulties. However, sometimes it would freeze and stop responding. But now everything works fine since I canceled a Windows update on my PC.

You’re right, yesterday night I canceled the Windows update because it was the only change I made on my computer before Defold stopped working properly. Since this morning, Defold has been working well again.

1 Like