Part of #560.
Two follow-ups to the asset-inference ticket:
-
Audit completeness. Walk in-tree projects (flying-platform-labelle and others) for atlases or audio banks loaded only from scripts — i.e., never reachable by Sprite-ref inference. Document which scenes/prefabs will need an explicit AssetManifest post-migration so we don't silently drop assets when the "assets" field is removed.
-
AssetManifest lifetime / refcount. Spec what happens when a prefab carrying AssetManifest is destroyed:
- Reference-counted per bundle?
- Multiple instantiations of the same prefab — single load + single unload, or per-instance refcount?
- Bundles referenced by multiple manifests — unload only when the last manifest is gone?
Default lean: per-bundle global refcount; load on first manifest, unload when refcount hits zero.
Part of #560.
Two follow-ups to the asset-inference ticket:
Audit completeness. Walk in-tree projects (flying-platform-labelle and others) for atlases or audio banks loaded only from scripts — i.e., never reachable by
Sprite-ref inference. Document which scenes/prefabs will need an explicitAssetManifestpost-migration so we don't silently drop assets when the"assets"field is removed.AssetManifestlifetime / refcount. Spec what happens when a prefab carryingAssetManifestis destroyed:Default lean: per-bundle global refcount; load on first manifest, unload when refcount hits zero.