utopia-rise / godot-kotlin-jvm

Godot Kotlin JVM Module
MIT License
614 stars 44 forks source link

Editor crashes when *.gdj files are added to Godot project root #568

Closed liza-kl closed 4 months ago

liza-kl commented 8 months ago

Hello :)

I'm on a MacOS Sonoma 14.3 / ARM64, using the editor from the latest release (0.8.1, but I tried this also with 0.8.0)

A little help would be highly appreciated!

piiertho commented 8 months ago

Hello ! Can you start app from a terminal by executing Contents/MacOS/Godot exe inside editor app to check if there is any log ?

liza-kl commented 8 months ago

Hello ! Can you start app from a terminal by executing Contents/MacOS/Godot exe inside editor app to check if there is any log ?

Hello :) It worked indeed by starting it from the Contents/MacOS/Godot. However, it asked every time (about 12? times per startup) for permissions for the Documents folder. After moving the whole project to the home directory, it stopped asking and works for now (also executing the basic "Hello World" script)

piiertho commented 8 months ago

I think this is because your JAVA_HOME env variable is not defined using launchctl, and so is available in terminal only.
You really should embed a JVM in your project. On our side we should add a warn popup for this error.

liza-kl commented 8 months ago

After executing launchctl setenv JAVA_HOME </path/to/jdk> I am now able to start the Godot Engine from the Applications folder and nothing is crashing :)