Describe What
The ProjectScanner was a workaround to rebuild the Godot cache to avoid script loading errors at test run.
Describe Why
With Godot 4.2.2 a new flag --import is provided to rebuild the cache and can be used to rebuild the cache.
For older Godot versions, we have to use $GODOT_BIN --path ./ -e --headless --quit-after 2000
The gdUnit4-action is not using the ProjectScanner, for users that using the ProjectScanner needs to upgrade your workflows
Describe What The
ProjectScanner
was a workaround to rebuild the Godot cache to avoid script loading errors at test run.Describe Why With Godot 4.2.2 a new flag
--import
is provided to rebuild the cache and can be used to rebuild the cache. For older Godot versions, we have to use$GODOT_BIN --path ./ -e --headless --quit-after 2000
The gdUnit4-action is not using theProjectScanner
, for users that using theProjectScanner
needs to upgrade your workflows