Defold immediately crashes upon launching[Solved]

Windows 11.

Whether i download it from the website or install via steam, Defold will immediately crash upon opening. 9 times out of 10 there won’t be a splash screen.
I can see it pop up in the task manager and immediately close.
Just updated(and rebooted) my nvidia graphics card.
Removed anything related to java or JDK.
Was initially trying on the E drive, now trying on my desktop.

The only log that gets made is
2023-09-14 12:44:48.620 186 [JavaFX-Launcher] WARN javafx - Unsupported JavaFX configuration: classes were loaded from ‘unnamed module @4b04105e

I am not sure what I can do at this point. I’ve rebooted multiple times going through these different things to try out.

1 Like

Hmm, given that you have no other log entries, I assume it’s a jvm crash. When JVM crashes, it usually creates a file called something like hs_err_pid.log. Do you see such files created where the Defold app is located?

The warning is known and it’s not problematic.

Hmm, given that you have no other log entries, I assume it’s a jvm crash. When JVM crashes, it usually creates a file called something like hs_err_pid.log. Do you see such files created where the Defold app is located?

(Love being able to not need to refresh the whole page to see responses that’s pretty cool and ahead of some other forums like rpg maker that I also use)
I don’t see any such file. and in %localappdata%\Defold it’s just the one log by itself.

Hmm, could you try launching defold from terminal? Maybe this way it will show the error…

1 Like

Hmm, could you try launching defold from terminal? Maybe this way it will show the error…

When I use start in Command Prompt(also tried in admin command prompt), flat out nothing happens.

C:\Users\james\Desktop\Defold>start Defold.exe

C:\Users\james\Desktop\Defold>

Is there another way I should be doing this?

What if you only type Defold.exe and hit enter?

1 Like

The same thing unfortunately.
I should note when i run one of those I do see it popup in the task manager and it immediately closes, but as far as command line is concerned nothing happens

defold crash log.txt (26.5 KB)
Out of desperation I tried out some slightly older versions(from most recent stable to 1.4.8 stable), the same stuff would happen until I reached 1.4.8, and the editor splash screen comes up, but it doesn’t do anything beyond show this screen, and there is a more detailed error log this time. It seems like now it’s just stuck on the splashcreen.
Edit- also earlier today saw there were available windows updates, ran them and rebooted, nothing seemed to change.

UPDATE: Looked up the part that included the following line
Caused by: java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge
Looking it up brought me here: Assistive Technology not found: com.sun.java.accessibility.AccessBridge | PaperCut
The solution is as follows, worked for me, and now I can open it on steam and the defold website windows download~

  1. Navigate to C:\Users\<username>
  2. Open the file called .accessibility.properties using a standard text editor (Notepad is fine)
  3. Find the following lines in the config:
  4. assistive_technologies=com.sun.java.accessibility.AccessBridge
  5. screen_magnifier_present=true
  6. Add a hashmark (#) in front of theses lines
  7. Save your changes to the file, restart the User Client Software
4 Likes

Great find @James_Westbrook, and thanks for sticking with us! :smiley:

Hmm, I wonder what the best approach is how to fix this.
@vlaaad do you have any ideas?

2 Likes

I created a ticket so we can investigate how to fix the issue. @James_Westbrook thanks for sharing the details that helped to identify the problem!

2 Likes

I added this workaround to the Windows FAQ (will be live in a few minutes):

3 Likes

Thank all of ya’ll as well. I think I like it here, so I’ll probably drop into the discord seeing your responses to my initial problem, and the responses to when I figured out what caused it and how to fix it has given me quite the good impression :smiley:

5 Likes