Open MikeSchulze opened 5 days ago
See https://github.com/godotengine/godot/pull/94920 - this brought back the behavior from 4.1 which some users were missing. Those prints hadn't been removed on purpose, so they were added back.
CC @RandomShaper
But I use the flag CACHE_MODE_REUSE
where indicates the resource should only load if not already cached.
So spamming the load message is not correct in this case.
Tested versions
System information
all
Issue description
If verbose enabled, resource loading is now spamming loading messages.
I use
ResourceLoader.load(<script_name>, "GDScript", ResourceLoader.CACHE_MODE_REUSE)
to preload and force reuse scripts to mimimize loading times in my test framework. So I use explicitCACHE_MODE_REUSE
. But from the new log messages looks like the script is load again and again.This spamming messages is filling my console when running my CI workflows now. Godot4.4-dev5 Godot4.3-stable
Steps to reproduce
Use the script and attach it to a scene to reproduce.
Loading resource: res://test/test.tscn Loading resource: res://test/test.gd Loading resource: res://test/example_script.gd --- Debugging process stopped ---