Description
Tested versions
- Reproducible in v4.3.rc3.official [03afb92], latest master [9f6336b46], v4.0.4.stable.official [fc0b241]
System information
Godot v4.3.rc3 - Ubuntu 24.04 LTS 24.04 - X11 - GLES3 (Compatibility) - Mesa Intel(R) Graphics (ADL GT2) - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)
Issue description
ResourceLoader.load_threaded_get_status
with invalid path returns 3
, which is THREAD_LOAD_LOADED
, after ResourceLoader.load_threaded_request
with that same invalid path. Interestingly, ResourceLoader.load_threaded_request
returns 0
, which is OK
, while printing an error. After call to ResourceLoader.load_threaded_get
with that invalid path, ResourceLoader.load_threaded_get_status
starts to give normal result: 0
, which is THREAD_LOAD_INVALID_RESOURCE
.
By invalid path, i mean something like res://node.tsc
or invalid UID, NOT like res://node.gd
, which results in "File not found" and THREAD_LOAD_FAILED
status.
Steps to reproduce
- Call
ResourceLoader.load_threaded_request
with some invalid path. - Call
ResourceLoader.load_threaded_get_status
with that same path. Notice status equaling to 3.
Minimal reproduction project (MRP)
- Start project.
- Notice output.
- Click "get" to call
ResourceLoader.load_threaded_get
.