Issue with scene not running reliably since V4.7

I am running version 4.7.2 (on linux) after an upgrade from version 4.6.2 (where I had the engine upgrade the project automatically).

The project I am running has several different scenes with scripts experimenting with scene/terrain generation. But for some reason I cannot seem to reliably run even the most basic of scenes. When pressing the “Run Scene (F6)” button 98%+ of the time I see a window with the Godot popup and immediately terminate without ANY OUTPUT in the output window/tab or ANY DEBUG OUTPUT.

the other 2% of the time i actually see the window I expect and the output I expect in the various tabs.

I have a (GD Script) scene as follows:

Node3D (nothing special)

±–world envoronment

+ — directional light

±-- Camera3D (looking at the following 2 nodes)

±-- MeshInstance3D (basic plane providing a backdrop)

±- Node3D (empty except for my script)

With a Script that has (i added the pass/return to eliminate my code beiing the problem):

func _init() → void:

print(“init”)
pass

func _ready() → void:

print(“ready”) 
return

The only issue I have found is that when The scene DOES run (and just shows me my background plane) is that I get the following error:

E 0:00:00:265 _create_instance: Error constructing a GDScriptInstance: ‘Node(Graph.gd)::_init’: Method expected 1 argument(s), but called with 0
<C++ Error> Method/function failed. Returning: nullptr
<C++ Source> modules/gdscript/gdscript.cpp:203 @ _create_instance()

Is there any know issue, or am I doing anything obviously stupid to cause this issue?

Cheers,

Alex.

I have experienced similar crashes in the past.

To help troubleshoot problems like this I always start the Godot Editor from the console (I am on Linux, but this also works on other platforms). This is less convenient than using a task-bar button, or the Start menu, etc, but Godot spits out quite a bit of extra diagnostic information to the console that you will otherwise never see.

On crashes Godot will usually print a C++ stack trace which can help track down the issue, or at least help you if you need to report a bug to the Godot development team. Even on non-crash bugs I will often find useful information in the console output.

Thank you for your insight!

Running from the terminal provided additional information.

This additional information does not help me pinpoint the issue however.

I will report the bug, not sure if that’ll be any more useful (due to lack of hard info) than this forum post…


Godot Engine v4.7.2.stable.official.ed1daf0bf - https://godotengine.org
Vulkan 1.4.318 - Forward+ - Using Device #0: AMD - AMD Radeon 890M Graphics (RADV GFX1150)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.7.2.stable.official (ed1daf0bf001b61586d9930840f2f1394092c079)
Dumping the backtrace. Please include this when reporting the bug on: Issues · godotengine/godot · GitHub
Load address: 400000

[1] 7347cc045330 (libc.so.6+45330) - /lib/x86_64-linux-gnu/libc.so.6(+0x45330) [0x7347cc045330]

[2] 960174 (main+560174) - /home/alex/DevTools/Godot_v4.7.2-stable_linux.x86_64/Godot_v4.7.2-stable_linux.x86_64() [0x960174]
[3] 9606ec (main+5606ec) - /home/alex/DevTools/Godot_v4.7.2-stable_linux.x86_64/Godot_v4.7.2-stable_linux.x86_64() [0x9606ec]
[4] 49489af (main+45489af) - /home/alex/DevTools/Godot_v4.7.2-stable_linux.x86_64/Godot_v4.7.2-stable_linux.x86_64() [0x49489af]
[5] 58f41d (main+18f41d) - /home/alex/DevTools/Godot_v4.7.2-stable_linux.x86_64/Godot_v4.7.2-stable_linux.x86_64() [0x58f41d]
[6] 42bf87 (main+2bf87) - /home/alex/DevTools/Godot_v4.7.2-stable_linux.x86_64/Godot_v4.7.2-stable_linux.x86_64() [0x42bf87]
[7] 7347cc02a1ca (libc.so.6+2a1ca) - /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7347cc02a1ca]
[8] 7347cc02a28b (libc.so.6+2a28b) - /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x7347cc02a28b]
[9] 48a6da (main+8a6da) - /home/alex/DevTools/Godot_v4.7.2-stable_linux.x86_64/Godot_v4.7.2-stable_linux.x86_64() [0x48a6da]
– END OF C++ BACKTRACE –