bitwes / Gut

Godot Unit Test. Unit testing tool for Godot Game Engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Ughuuu opened this issue · comments

Versions

(list all versions where you have replicated the bug)

  • Godot: 4.3 beta 1
  • GUT: Latest
  • OS: macos

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"
]

Related to godotengine/godot#92610 . Sorry just now saw there was an issue on Godot side.

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

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

I tested the PR to fix this and it worked.

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.