Skip to content

Releases

Adder 0.5.0

Choose a tag to compare

@Nekuzaky Nekuzaky released this 01 Dec 10:35

Changed

  • Adder now supports Unity 6000.0 (Unity 6) and newer, instead of 6000.3. Tested on 6000.0.78f1 and 6000.3.13f1.
  • The editor glyphs are PNG textures instead of SVG files, so the package no longer depends on the Vector Graphics module, which only exists from Unity 6000.3.

Fixed

  • Installing the package in a Unity 6000.0 to 6000.2 project failed with "Package [com.unity.modules.vectorgraphics@1.0.0] cannot be found".

Install: https://github.com/Nekuzaky/Adder-Unity-Additive-Scenes.git?path=Packages/com.nekuzaky.adder#v0.5.0

Adder 0.4.4

Choose a tag to compare

@Nekuzaky Nekuzaky released this 01 Dec 00:06

Added

  • Documentation for newcomers and for AI assistants:
  • The Script Examples sample: the scripts of the Examples page, to import from the Package Manager.

Fixed

  • Documentation: missing steps (adding a Scene Set Loader, opening the core scene before generating zones, the
    Rigidbody that trigger events need), field tables with defaults for every component, the Addressables section that
    contradicted itself, the recommended unload distance, the Map's proxy colour, and snippets that did not compile.

Adder 0.4.3

Choose a tag to compare

@Nekuzaky Nekuzaky released this 30 Nov 22:56

Added

  • Create > Adder > One Scene Set Per Selected Scene: a set for each selected scene, for the chunks of a world.
  • Documentation: a complete API reference generated from the code, an
    open world tutorial, a troubleshooting
    page, and a new index and getting started.
  • Every public member of the runtime is described (summaries, and tooltips on serialized fields).

Fixed

  • Leaving Play Mode could leave an [Adder] object behind ("Some objects were not cleaned up when closing the
    scene"): a component shutting down after Adder's runner recreated it. Adder now stops at the very start of leaving
    Play Mode.
  • The Streaming tab of Adder Studio no longer starts Adder's runtime to read a setting.

Changed

  • The code has no comments any more: the public API keeps a short summary for IntelliSense, everything else reads on
    its own.
  • README with a banner, GIFs of the demo and of Adder Studio, and new screenshots; a social preview image.

Adder 0.4.2

Choose a tag to compare

@Nekuzaky Nekuzaky released this 30 Nov 22:14

Changed

  • The zone budget looks only at the zones in range when a zone wants in, not at every zone: its worst case (every one
    of 1000 zones wanting in) went from 0.32 ms to 0.04 ms per frame.

Verified

  • BenchmarkTests: a 1000-zone world with proxies and four players costs about 16 µs per frame for streaming and
    4 µs for the scheduler, with or without a budget; streaming with proxies and a budget allocates nothing once stable.
    The limits fail the tests if Adder gets several times slower.
  • Tools/Smoke.ps1 reports the Adder.Tick and Adder.Streaming Profiler markers of the built demo at 60 fps:
    5 µs and 10 µs on average, under 0.5 ms on every frame after start-up.
  • 113 EditMode and 17 PlayMode tests.

Adder 0.4.1

Choose a tag to compare

@Nekuzaky Nekuzaky released this 30 Nov 22:04

Fixed

  • The build check warned that every scene was missing from the build when the build was given its scenes by a build
    script or a Build Profile: it now reads the scenes of the build being made.

Verified

  • A stress test: 200 zones sharing terrain scenes, half with proxies, three players walking and teleporting, loads
    finishing out of order, with and without a zone budget, five seeds. Every frame checks the holds, the budget, double
    loads and that no zone ever shows neither its set nor its proxy. Planted bugs in the proxy swap and the budget make
    it fail.
  • The same with real scenes in Play Mode, Adder's state compared with SceneManager every frame.
  • The demo built as a Windows player (development and release) and run for 40 seconds: no error, every chunk and
    proxy streamed, the debug overlay present in development builds only (Tools/Smoke.ps1).
  • 109 EditMode and 17 PlayMode tests.

Adder 0.4.0

Choose a tag to compare

@Nekuzaky Nekuzaky released this 30 Nov 21:49

Added

  • Far proxies (HLOD) on Streaming Zones: a Proxy Set and a Proxy Distance. The proxy shows while a source is
    within that distance and the zone is out of range; walking in or out, each side stays until the other is fully
    loaded, so no frame shows neither. StreamingZone.HoldsSet and HoldsProxy. Shown in purple on the Map and in the
    Scene view, "Proxy" in the Streaming tab.
  • Zone budget: Adder.Settings.m_maxStreamedZones bounds the zones holding their set at once; the closest win.
  • Light probe merging: the probes of additive scenes are merged (LightProbes.TetrahedralizeAsync) once per batch
    of loads and unloads, on by default (m_mergeLightProbes). Logged in the Live tab and counted in
    AdderStats.LightProbeMerges.
  • Adder Debug Overlay component: scenes, zones, proxies, counters and memory over the game, toggled with a key
    (Input System or the Input Manager), removed from release builds by default.
  • Hierarchy labels: each scene row shows the Scene Sets containing it, and its state in Play Mode. Project
    Settings > Adder > Show Sets In Hierarchy.
  • Adder.IsReady(set): true once every scene of the set and its includes is loaded.
  • The demo shows every chunk from afar through a proxy and uses the Debug Overlay (F3).

Changed

  • Streaming Zone events: On Unloaded fires when the zone actually releases its set (after its proxy is in, if it has
    one).
  • The demo's own overlay script is replaced by the Adder Debug Overlay.

Adder 0.3.1

Choose a tag to compare

@Nekuzaky Nekuzaky released this 30 Nov 21:31

Found by looking at every window in a real editor.

Fixed

  • The demo was pink under URP and HDRP: its objects now use the render pipeline's default material.
  • Scene Set panel (inspector and Studio): the Scenes and Behaviour titles were drawn twice and the scene list started
    folded; list elements were labelled with the scene's GUID.
  • A stylesheet warning on every domain reload (:last-child does not exist in USS).
  • Adder Studio in a narrow window: the tabs keep their icons and drop their names, the set's name ends with an
    ellipsis instead of going under the Open buttons.
  • The Map drew every zone's rings into a grid: only the zones in range and the selected one show them.
  • The Streaming tab lists zones by name in Play Mode, and the Live progress bar is empty when idle.
  • Counts read "1 scene", "6 scenes" instead of "scene(s)".

Adder 0.3.0: includes, preloading, transitions, cross-scene references

Choose a tag to compare

@Nekuzaky Nekuzaky released this 30 Nov 17:42

Added

  • Includes: a Scene Set can include other sets (shared terrain, audio, lighting), loaded before its own scenes and
    reference counted like them. Cycles are ignored. Releasing a set gives back exactly what its load took.
  • Priorities: LoadPriority on sets and requests (Adder.Load(set, LoadPriority.High)); high priority scenes
    load first.
  • Preloading: Adder.Preload, Activate, CancelPreload, IsPreloaded, and the new SceneState.Ready. Backends
    opt in with IPreloadSceneBackend.
  • Transitions: AdderTransition assets (fade colour and durations, Loading Screen between the fades, minimum
    duration, pause), Adder.SwitchTo(set, transition), Adder.Load(set, transition), Adder.Transition(...), and a
    Transition field on Scene Set Loaders. TransitionOperation can be yielded or awaited.
  • await on AdderOperation and TransitionOperation.
  • Events: Adder.SetLoaded, SetUnloaded, SceneUnloading (before an unload), and the Scene Events component.
  • Cross-scene references: CrossSceneReference<T>, the Scene Object Id component, SceneObjects lookups,
    and an inspector field that accepts objects from any open scene.
  • Project Settings > Adder: scheduling defaults, a boot set loaded at start (press Play from any scene), the
    panel transitions draw on, a default transition, and a catalog of every set kept up to date.
  • Saves: Adder.CaptureState, RestoreState, AdderState JSON, Adder.Find by id or name, SceneSet.Id.
  • Streaming: velocity lookahead on Streaming Sources, a minimum loaded time on zones, high priority for the zone a
    source stands in.
  • Addressables: AddressablesSceneBackend, compiled when the Addressables package is installed.
  • Editor: a Map tab (zones from above, with distances and sources), the Adder overlay of the Scene view (open,
    add and close sets, show all zones, editor streaming), editor streaming around the Scene view camera, Quick Setup,
    Create Streaming Zones For Selected Sets, Scene Set From Selected Scenes, inspectors and icons for the new
    components, Preload / Activate / Fade To buttons in Play Mode.
  • Profiler markers Adder.Tick and Adder.Streaming.

Changed

  • SceneState gained Ready (between Loading and Loaded): code that compared states by number must be updated.
  • Streaming zones keep their set at least 3 s by default and sources predict 1 s ahead; set Minimum Loaded Time and
    Lookahead to 0 for the old behaviour.
  • AdderOperation constructors and ISceneBackend gained preload support through new interfaces; custom backends
    keep working without it (preloads then load fully).

Install

Window > Package Manager > + > Install package from git URL:

https://github.com/Nekuzaky/Adder-Unity-Additive-Scenes.git?path=Packages/com.nekuzaky.adder#v0.3.0

Adder 0.2.0: Adder Studio and Loading Screen

Choose a tag to compare

@Nekuzaky Nekuzaky released this 30 Nov 16:54

Added

  • Adder Studio (Tools > Adder > Adder Studio, Ctrl+Alt+S), in UI Toolkit, replacing the Adder window:
    • Scene Sets: every set with search, persistent and problem markers, open or loaded chips; the selected set with
      its scenes, active scene menu, checks with one-click fixes, shared scenes, and Open / Load buttons.
    • Live: tracked, loaded and moving scenes, loads and unloads, average load time, last request and last asset
      cleanup durations, the progress of the requests in flight, every tracked scene and the last 64 events.
    • Streaming: every zone with its set, state, distance to the closest source and distances, and every source.
    • Audit: broken sets, scenes missing from the build, zones without a set, shared scenes, with fixes and a count.
    • Double-clicking a Scene Set opens it in the Studio.
  • Loading Screen component: a ready-made screen drawn with UI Toolkit (title, progress bar, percentage, tips), with
    fades and a minimum duration. It only shows for requests given to LoadingScreen.Track or loaded by a Scene Set
    Loader with the new Show Loading Screen option, so streaming never brings it up. The bar always reaches 100%
    before the screen hides. Ships with its own Panel Settings, assigned when the component is added.
  • Adder.Stats: counters, durations and an allocation-free log of the last 64 events. AdderOperation.Duration.
  • Icons for every component and the Scene Set asset, and UI Toolkit inspectors with a card, a live status in Play
    Mode and fixes (Scene Set Loader: Add Trigger). Scene fields show the scene's state in Play Mode.
  • The demo comes up behind the Loading Screen.

Changed

  • The package depends on the built-in UI Elements and Vector Graphics modules.

Install

Window > Package Manager > + > Install package from git URL:

https://github.com/Nekuzaky/Adder-Unity-Additive-Scenes.git?path=Packages/com.nekuzaky.adder#v0.2.0

Adder 0.1.0

Choose a tag to compare

@Nekuzaky Nekuzaky released this 30 Nov 16:22

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, LoadScene and UnloadScene, reference counted across
    sets and single scenes. Requests return a AdderOperation to yield, await through Completed, or poll for
    Progress.
  • Scheduling for memory: unloads before loads, one Resources.UnloadUnusedAssets per 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.
  • ISceneBackend to 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