Godot doesn't export dependencies
As of Godot 4.3,
Export selected scenes (and dependencies)
might make a non-working build because Godot doesn't
make a complete dependency graph. The following
dependencies will not be included: 1
- Localization files referenced by the
Localization > Translationssetting. .gdshaderincfiles that another GDShader would#include.- Resources that a script will
preloadand store in aconst. - Custom classes only referenced by other scripts, such as classes that contain functions (static or not) that are referenced by other scripts and not used in a scene.
- Bus layout files referenced by the
audio/buses/default_bus_layoutsetting 2
These dependencies will also not be included, but I wouldn't expect Godot to handle these: 1
- Images embedded in
RichTextLabelbbcode. - Resources that are loaded during any execution path, including initialization.
FileAccessdoes not work forres://paths; useResourceLoaderinstead. I'm guessing this is because when the game is built, the game resources are now in the.pckfile and there is no file system to navigate. 2