Open simonschreibt-code opened 2 months ago
What happens if you use "Savegame" as the type?
What happens if you use "Savegame" as the type?
I just added the code I use to the main post. There you can see that it does NOT work, when I add "Savegame" as type hint when using binary .res format.
Tested versions
v4.3.stable.official [77dcf97d8]
System information
Godot v4.3.stable - Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1070 (NVIDIA; 32.0.15.5612) - AMD Ryzen 7 1700X Eight-Core Processor (16 Threads)
Issue description
When I supply a type hint AND use a binary format for the ResourceLoader, it can't find the resource. The returned error:
Here is my code:
Steps to reproduce
Open the Project
Press play
Look at the Error log
Then open game.gd
remove the type hint in line 16
Press play again
Now it will work, no error dropped
Minimal reproduction project (MRP)
test_resourceloader_hint.zip