diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index b1d591d0f35..b6d1b92f9f6 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;