diff --git a/vfs.gd b/vfs.gd index f0b8175..27f08fb 100644 --- a/vfs.gd +++ b/vfs.gd @@ -94,7 +94,7 @@ func load_supported(path:String, ext_override:String = "")->Variant: var buffer := get_buffer(path) var result:Variant = supported_files[ext].call(buffer) - if not is_instance_valid(result): + if not is_instance_valid(result) and result is not String: push_warning("%s loader tried loading '%s' but received null. Does the file exist?" % [ext, abs_path])