bitwes / Gut

Godot Unit Test. Unit testing tool for Godot Game Engine.
1.73k stars 97 forks source link

GUT doesn't work with version 4.3 beta 1. Invalid call. Nonexistent function 'reload' in base 'GDScript' #616

Open Ughuuu opened 1 month ago

Ughuuu commented 1 month ago

Versions

(list all versions where you have replicated the bug)

The Bug

GDScript error:

Debugger Break, Reason: 'Invalid call. Nonexistent function 'reload' in base 'GDScript'.'

Steps To Reproduce

Happens in GUT when running tests with:

"args": [
    "-d",
    "-s",
    "--path",
    "${workspaceFolder:godot-project}",
    "addons/gut/gut_cmdln.gd"
]
Ughuuu commented 1 month ago

Related to https://github.com/godotengine/godot/issues/92610 . Sorry just now saw there was an issue on Godot side.

bitwes commented 1 month ago

Good find. It looks like they have a fix, but this should remain open until implemented since it breaks all doubling in GUT.

bitwes commented 2 weeks ago

Still there in Godot Engine v4.3.beta2.official.b75f0485b

bitwes commented 2 weeks ago

I tested the PR to fix this and it worked.

bitwes commented 2 weeks ago

The fix was merged, but it sounds like they need to review it more. I'm going to leave this open until the next beta release.

jamie-pate commented 1 day ago

Appears to be fixed in v4.3-beta3! :tada: