Repository navigation
Description
Summary
After a successful in-editor self-update (1.9.0 → 1.10.0), the restarted editor shows an empty Orca dock — only the "ORCA" label and the "Review edits" button. The plugin is unusable and the UI gives no indication that anything failed.
The update itself reports success, and the installed tree is byte-identical to the release manifest. The failure is in the asset-import ordering during the first editor start after the swap.
Environment
- Orca 1.9.0 → 1.10.0 (self-updater, not a manual install)
- Godot 4.8.beta5.official.a661dfdbc
- macOS (Darwin 25.6.0)
Steps
- Project has Orca 1.9.0 enabled;
addons/orcamatches its manifest. - Open the Orca panel → the update banner announces the new release.
- Press update / restart.
Actual result
The update completes and the editor restarts, but the dock renders as a blank panel. Output:
ERROR: Failed loading resource: res://addons/orca/assets/orca.svg.
ERROR: res://addons/orca/scripts/settings_view.gd:24 - Parse Error: Preload file "res://addons/orca/assets/providerconfig.svg" has no resource loaders (unrecognized file extension).
ERROR: res://addons/orca/scripts/settings_view.gd:25 - Parse Error: Preload file "res://addons/orca/assets/systems.svg" has no resource loaders (unrecognized file extension).
ERROR: res://addons/orca/scripts/settings_view.gd:26 - Parse Error: Preload file "res://addons/orca/assets/about.svg" has no resource loaders (unrecognized file extension).
ERROR: res://addons/orca/scripts/settings_view.gd:27 - Parse Error: Preload file "res://addons/orca/assets/profile.svg" has no resource loaders (unrecognized file extension).
ERROR: res://addons/orca/scripts/settings_view.gd:28 - Parse Error: Preload file "res://addons/orca/assets/extension.svg" has no resource loaders (unrecognized file extension).
ERROR: res://addons/orca/scripts/animated_logo.gd:5 - Parse Error: Preload file "res://addons/orca/assets/orca-animated-sheet.png" has no resource loaders (unrecognized file extension).
ERROR: res://addons/orca/scripts/animated_logo.gd:5 - Parse Error: Cannot infer the type of "SPRITE_SHEET" constant because the value doesn't have a set type.
ERROR: res://addons/orca/scripts/chat_window.gd:322 - Invalid call. Nonexistent function 'new' in base 'GDScript'.
ERROR: modules/gdscript/gdscript_resource_format.cpp:50 - Failed to load script "res://addons/orca/scripts/chat_window.gd" with error "Compilation failed".
Update state on disk is valid:
.orca-update/transaction.json:
{"format":"orca-update-v1","new_hash":"55840dc6bfee465ab9d4f584937e8e97c99cc1ee7fc3c8efa3dfd17ded00b162","old_hash":"4b2da7c302c0e45b58fe573eea8c9829008ebc00cf9f765310629e167b4a4bc6","state":"installed"}
.orca-update/result.json:
{"success":true}
addons/orca/plugin.cfg is 1.10.0, and every manifest entry matches its sha256. The 16 .import sidecars and their .ctex artifacts were written in the same minute the editor started.
Why it looks like an ordering problem
The release ZIP ships no .import files (the manifest has 248 entries, none of them .import), so the first editor start after the swap has to import all 16 SVG/PNG assets. Godot appears to load and compile editor plugins before that import pass has finished, so every preload() of an addon asset fails, which cascades into animated_logo.gd and then chat_window.gd.
Two observations support this and rule out a corrupt package:
- A copy of the project taken after the failure loads with zero errors when opened headlessly — the on-disk files are fine.
- A start after an explicit import pass renders correctly.
Verified workaround
With the editor closed:
Godot --headless --editor --quit --path <project>
This performs the import pass without UI. Opening the editor afterwards renders the dock normally. Quitting and reopening the editor alone was not enough in our case — the failing start was already the post-update restart.
Suggested handling
Either would remove the failure mode:
- Make the restart path wait for the asset import to finish before the plugin is compiled — for example schedule the restart after an import pass, or re-scan and reload the addon once imports complete.
- Detect it instead of rendering an empty dock: after
preload()/script load, check whether the required resources resolved, and if not show an explicit "The addon's assets were not imported yet — restart the editor once more" message rather than a silently empty panel.
A silent blank panel is the worst outcome, because nothing in the UI tells the user that a second start (or an import pass) is all that is needed.
Activity
cold-atom commentedon Nov 27, 2026
Thank you @piaoboo for the detailed report, logs, and verified workaround, these are really helpful.
I reviewed the startup and updater code, and your import-ordering explanation looks consistent with how we currently load the dock and I am prioritizing this issue because a successful update should never leave Orca with a silently blank panel.
I will work on making startup wait for the required asset imports before loading the asset-dependent UI, with a clear status/error message if initialization cannot complete. We also need a regression test that exercises the actual addon after an update with fresh asset imports.
I haven't reproduced your exact macOS/Godot 4.8 beta setup yet, so I'm not treating this as macOS-only. Once a candidate fix is ready, would you be willing to test it in your environment?
Fix blank Orca dock after self-update (#13)