Repository navigation
Adder 0.1.0
Added
- Scene Sets: assets listing scenes loaded together, with an active scene and a persistent flag. Scene references
store the scene's GUID and follow renames and moves. Adder.Load,Unload,Switch,SwitchTo,UnloadAll,LoadSceneandUnloadScene, reference counted across
sets and single scenes. Requests return aAdderOperationto yield, await throughCompleted, or poll for
Progress.- Scheduling for memory: unloads before loads, one
Resources.UnloadUnusedAssetsper batch between them, a limit on
loads in flight, a loading priority applied only while busy, and the last scene kept until its replacement is in. - Streaming Zones and Streaming Sources: box distances with hysteresis, several sources, a fixed number of zones
checked per frame. - Components: Scene Set Loader, Streaming Zone, Streaming Source, Loading Progress.
- Editor: the Adder window, the Scene Set inspector with problems in plain words, scene fields with a Build button,
a box handle and Fit To Open Set for zones, Play Mode loading of scenes missing from the build, a build check, and
menu items to create a set from the open scenes and to add every set to the build. ISceneBackendto load scenes from Addressables or asset bundles.- The Adder Demo sample.
Verified
- 43 EditMode tests (scheduling, streaming, editor tools, performance) and 6 PlayMode tests with real scenes and the
demo. The per-frame update allocates nothing, idle or loading, and an idle update with 100 scenes takes about 4 µs.
Install
Window > Package Manager > + > Install package from git URL:
https://github.com/Nekuzaky/Adder-Unity-Additive-Scenes.git?path=Packages/com.nekuzaky.adder#v0.1.0