This shows system alert dialogs if the system or project is misconfigured (JAVA_HOME missing, no embedded jvm on exported projects).
NOTE: This only handles cases where we would otherwise quit the application directly or would not initialize our module. This also adds a hard exit of the editor where we otherwise just did not initialize our module. But currently our module misbehaves if there are gdj files present but our module is not properly initialized. Until this is fixed, we just exit the editor after displaying the error message.
This should help in detecting issues without the need of looking into the editor (or game) logs
This now also creates a alert dialog upon fatal errors which will close the program and thus should resolve #562 :
This shows system alert dialogs if the system or project is misconfigured (JAVA_HOME missing, no embedded jvm on exported projects).
NOTE: This only handles cases where we would otherwise quit the application directly or would not initialize our module. This also adds a hard exit of the editor where we otherwise just did not initialize our module. But currently our module misbehaves if there are gdj files present but our module is not properly initialized. Until this is fixed, we just exit the editor after displaying the error message.
This should help in detecting issues without the need of looking into the editor (or game) logs![2024-02-08-151450_1029x641_scrot](https://github.com/utopia-rise/godot-kotlin-jvm/assets/22662033/71c88d4c-6036-402e-8bac-7ded4dd66917)
This now also creates a alert dialog upon fatal errors which will close the program and thus should resolve #562 :![2024-02-08-154400_895x426_scrot](https://github.com/utopia-rise/godot-kotlin-jvm/assets/22662033/0eadc1a3-33d1-4c67-b59c-118a1833f321)