Hi,
I tried to compile the test in the godot-cpp repos.
After some trials, I was able to build all the code correctly and run the Demo using the Godot 4 beta 3.
Then I updated the repos and tried to build again and I got this error when the project loads:
SCRIPT ERROR: Parse Error: Identifier "Example" not declared in the current scope.
at: GDScript::reload (res://main.gd:17)
SCRIPT ERROR: Parse Error: Identifier "Example" not declared in the current scope.
at: GDScript::reload (res://main.gd:18)
SCRIPT ERROR: Parse Error: "Example" was not found in the current scope.
at: GDScript::reload (res://main.gd:28)
SCRIPT ERROR: Parse Error: Identifier "ExampleRef" not declared in the current scope.
at: GDScript::reload (res://main.gd:35)
ERROR: FATAL: Condition "!exists" is true.
at: operator[] (./core/templates/hash_map.h:504)
I don't know how to solve and what can be the cause of the issue.
Thank you