utopia-rise / godot-kotlin-jvm

Godot Kotlin JVM Module
MIT License
562 stars 38 forks source link

Game Window closes itself without any error message when GDJ files are outdated #562

Closed MartinHaeusler closed 3 months ago

MartinHaeusler commented 6 months ago

I've experienced the following several times:

The issue here is that we get no error message or any indication of what went wrong. Perhaps we could improve upon this by showing some logs?

chippmann commented 5 months ago

The logs should already be printed to the editor log window as well as to the system terminal (if the editor was launched through that). I'll check what C# does here and suggest that we'll align us with them there as they have the same challanges

MartinHaeusler commented 5 months ago

@chippmann I've never seen this issue again ever since. Maybe it was some sort of race condition between my gradle build running in the background and the godot editor grabbing the GDJ files. But I agree, seeing some kind of message in case of a fatal error would be very useful for debugging.