diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index db54179633..b17a0a2223 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -261,7 +261,8 @@ void EditorFileSystem::_scan_filesystem() { cpath = name; } else { - Vector split = l.split("::"); + // The last section (deps) may contain the same splitter, so limit the maxsplit to 8 to get the complete deps. + Vector split = l.split("::", true, 8); ERR_CONTINUE(split.size() < 9); String name = split[0]; String file;