Rearrange project loading init to fix #115618
This commit is contained in:
parent
56f3e2611d
commit
f5c27569f0
1 changed files with 8 additions and 7 deletions
|
|
@ -338,15 +338,16 @@ void EditorFileSystem::_first_scan_filesystem() {
|
|||
ep.step(TTR("Verifying GDExtensions..."), 2, true);
|
||||
GDExtensionManager::get_singleton()->ensure_extensions_loaded(extensions);
|
||||
|
||||
// Now that all the global class names should be loaded, create autoloads and plugins.
|
||||
// This is done after loading the global class names because autoloads and plugins can use
|
||||
// global class names.
|
||||
ep.step(TTR("Creating autoload scripts..."), 3, true);
|
||||
ProjectSettingsEditor::get_singleton()->init_autoloads();
|
||||
|
||||
ep.step(TTR("Initializing plugins..."), 4, true);
|
||||
// Now that all the global class names should be loaded, create plugins.
|
||||
// This is done after loading the global class names because plugins can use global class names.
|
||||
ep.step(TTR("Initializing plugins..."), 3, true);
|
||||
EditorNode::get_singleton()->init_plugins();
|
||||
|
||||
// Now that plugins and global class names should be loaded, create autoloads.
|
||||
// This is done last because autoloads can use global class names and plugins.
|
||||
ep.step(TTR("Creating autoload scripts..."), 4, true);
|
||||
ProjectSettingsEditor::get_singleton()->init_autoloads();
|
||||
|
||||
ep.step(TTR("Starting file scan..."), 5, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue