# SceneView 4.26.x

[All versions](../changelog.md) · [Full release notes on GitHub](https://github.com/sceneview/sceneview/blob/main/CHANGELOG.md)

Highlights of each release. The full notes on GitHub list every change and pull request.

## v4.26.0 — 2026-08-04

### Added

- App Store listing drift is now visible read-only, and the assumption the screenshot diff rests on is measured rather than assumed.
- Point & Ask demo: answers are now anchored in world space — a tap that lands on a tracked horizontal surface pins its answer card there (`frame.hitTest` → `createAnchor` → `AnchorNode` + `ViewNode`), so it stays on the object it describes while the camera moves around it.
- iOS port: Cloud Anchors (ar-cloud-anchor).
- Honest unavailable state, no fake success. `SceneViewSwift` deliberately does not vendor Google's `arcore-ios-sdk`, and neither does the demo app, so there is no `GARSession` to reach the ARCore Cloud service with.
- iOS port: Pose Placement (ar-pose).
- iOS demo: ported Android's `placement-scene` demo — the "one-line tap-to-place AR" showcase for `PlacementScene`'s batteries-included bundle (coaching overlay, a placement reticle, an instant-placement-style raycast, and a contact shadow under each model). `PlacementSceneScene.swift` wires `ARSceneView`'s equivalent flags (`showCoachingOverlay`, `showPlacementReticle`, `groundingShadows`) and drops a single bundled `khronos_damaged_helmet` model per tap, with a "models placed" counter and a "Clear All" control — distinct from the existing low-level `ar-placement` demo, not an alias of it.
- iOS port of the `wall-placement` demo — the iOS demo app now mounts a procedural TV on a real wall instead of showing a coming-soon card.
- Honest gap, stated in the demo's own settings sheet: Android's procedural `ContactShadowContext.Wall` pool is not mirrored.
- iOS port: AR Placement Reticle Preview.
- SceneView.framingMargin(_:).
- SceneView.cameraOrbit(azimuth:elevation:). (iOS/macOS/visionOS) — seeds the initial orbit pose.
- Blocking CI gate on assets/CREDITS.md.
- The `automation-map` skill no longer carries a 7-row subset of the version location map: a partial copy of a completeness-critical list is worse than no copy, and one of its rows had already gone stale.

### Changed

- `ContactShadowControls` and the new `WallShadowBeat` are covered by `ContactShadowControlsSnapshotTest` (Robolectric + Roborazzi, pure JVM, no emulator) — including one golden per wall preset, so a regression collapsing the per-preset verdicts back into a single shared caption cannot merge silently ( pattern, ).
- Picking & Collision demo: the "Tapped N times" counter no longer increments on a tap anywhere in the scene.
- iOS demo: two PBR demos now render through the wrapper's studio IBL for catalog + Android parity.
- Docs: `ViewNode` now documents that its rendered view is not interactive — the hosting window is `FLAG_NOT_TOUCHABLE` and no touch is dispatched into it, so an embedded `Button.onClick` never fires.
- The `contact-shadow-preview` demo (Android) is now a grounded-vs-floating comparison rather than a single on/off toggle: two boxes side by side with deliberately different motion — the left one bounces and STRIKES the floor, anchored by a height-responsive contact pool that slides out from under the box along the key light as it lifts (the "ball-in-a-box" depth cue) and snaps back tight and dark on landing; the right one hovers high and never touches down, shadowless.
- The `contact-shadow-preview` demo moved from the Augmented Reality category to Lighting & Environment: the feature lives in `sceneview` (not `arsceneview`) and the demo is a non-AR studio scene, so filing it under AR set the wrong expectation.
- The comparison's lifted-shadow opacity floor was raised (0.28 → 0.45) after on-device QA measured the pool near-invisible at the top of each hop on the demo's light floor — the grounded-vs-floating contrast now reads at every phase of the motion.
- The iOS demo app's `contact-shadow-preview` placeholder moved out of the AR tab too (`@category ar` → `lighting`) and its subtitle now matches Android's: the same "this is not a camera experience" reasoning applies on both platforms, so the two catalogs stay mirrored.
- Reworked the common store-screenshot set shared by the Play Store and App Store capture scripts to a tight three — `model-viewer · dynamic-sky · multi-model` — chosen by judging the ACTUAL captured mosaic, not by picking ids a-priori. model-viewer is the load-any-GLB hero; `dynamic-sky` is the strongest frame (a lit drone against a procedural sky, a theme no other slot carries); `multi-model` is the only non-helmet, non-sky frame, a photoreal-foliage fidelity shot.
- Only the Play Store (Android) screenshots are regenerated in this change; the App Store (iOS) screenshots are left untouched and deferred to.
- The iOS App Store screenshot set is refreshed.
- multi-model is deliberately NOT in the iOS set.
- qa_mode now actually freezes auto-rotation.
- autoRotate(speed: 0) no longer starts a rotation loop.
- Known consequence — becomes live.
- android-demo. — the Scene Gallery and Multi-Model asset-source pills now route through the same `AssetSourceProbe` the two AR demos use, finishing the de-duplication started in.
- The `device-qa` and `android-tooling` skills both claimed "QA on an emulator" and neither said which was which. `device-qa` is the scripted harness and the release gate; `android-tooling` is driving a device by hand.

### Fixed

- Demo: the Materials demo no longer leaks a streamed model per chip switch ( class).
- contact-shadow-preview peek header no longer contradicts the scene.
- Device-QA: the rig's boot-wait loop reported `init.svc.bootanim` as a progress signal while its own boot command passes `-no-boot-anim`, which pins that property to `stopped` for the whole boot — the harness disabled the thing whose absence it then read as evidence, and "boots to ~90% but never finishes" was the false conclusion it produced.
- Demo bottom overlays no longer collide with the Settings FAB.
- Hardened the same script against four failure modes found while capturing, each of which produced a plausible-looking result that was wrong:.
- Tablet screenshots are captured in portrait: the demos frame their scene for a portrait viewport, and in a tablet's natural landscape orientation the subject collapses to roughly 5% of the frame width — `double-pendulum` came out uniform enough that the variance guard rejected it outright.
- Play Store 10" tablet "Materials" screenshot (slot 3): the run committed by captured the app bar and IBL skybox before the 3D model finished loading — the "no 3D at all" defect set out to fix (the 7" counterpart caught the model).
- Auto-filed maintenance issues now close themselves when the condition they describe clears.
- The App Store drift issue no longer tells a maintainer to publish known-wrong screenshots.
- The Play Store graphics README stated the wrong iOS screenshot count.
- `Node.destroy` now returns the entity id to Filament's `EntityManager`, instead of only destroying the entity's components.
- The release is gated on ownership, so a borrowed entity is left to its real owner: a node recycles its id only when it allocated the entity itself (the constructor's `entity` argument omitted). `ModelNode` wraps `modelInstance.root` and its children wrap `gltfio` node entities, all owned by the `AssetLoader` — recycling those would let Filament reissue an id a live asset still uses.
- `SplatNode` also recycles the per-batch renderable entities it allocates.
- `Node.destroy` now removes its entities from the Filament `Scene` it is attached to before recycling the id, so an imperative caller that destroys a node without detaching it first cannot leave a reissued id behind in the scene.
- New: `NULL_ENTITY` (the "no entity" sentinel, and the new default of every optional `entity` constructor parameter) and `Engine.safeRecycleEntity(entity)`.
- The pool also refuses to lease an emulator that is not the pool AVD: a stray device sitting on a pool port used to be leased and driven as if it were the ARCore-ready `Pixel_7a`, producing a QA verdict about a device nobody meant to test.
- Demo: the materials demo now shows the same subject on the same backdrop on every launch.
- iOS CI no longer swallows build/test failures.
- AnchorNode.removeAll / AugmentedImageNode.removeAll now remove every child.
- CameraNode far clip plane now defaults to a deterministic 1000 m.
- iOS environments never lit anything.
- iOS/macOS/visionOS: SceneEnvironment.intensity is applied as the linear multiplier it is documented to be.
- Note for anyone reading this as a parity fix — it is not one.
- The committed App Store screenshots predate this fix.
- dynamic-sky on iOS now demonstrates the sun with a subject that can show it.
- The iOS App Store screenshots are re-captured from a post- build.
- Recorded a capture defect the mosaic surfaced.
- Store-screenshot docs now describe what the repo actually ships instead of a parity that no longer holds. moved the phone class to set v2 (`model-viewer · dynamic-sky · multi-model`) without re-shooting the tablets, so four surfaces had drifted: `PLAY_STORE_SETUP.md` still advertised five phone screenshots and "the same five demos" across all classes; the Play graphics README still presented the retired pre-v2 five as the shipped set; the capture script's own usage example still offered the retired ids as its `--demos` sample, next to the banner warning against re-adding them; and the App Store README claimed parity with Android while its images are the pre-v2 five.
- Play Store: both tablet classes are now on screenshot set v2 (`model-viewer · dynamic-sky`).
- The demo app's Multi-Model ("park") scene now frames itself from the live viewport aspect instead of a hardcoded camera pose, so it composes correctly on a tablet instead of filling the frame with one model's bare flank against the backdrop wall.
- Switching between the Model Viewer's sections no longer carries the camera-distance override across.
- Point & Ask. : anchored answer cards no longer drift and jump.
- Docs: the `ViewNode` KDoc (mirrored in `llms.txt`) claimed there is "no parent to measure against", so `fillMaxWidth` has "nothing to fill".
- The obvious fix here — "just call `emu_lease_acquire`" — is a regression, and the hermetic self-test now pins that.
- The ar leg is no longer graded on its exit code alone.
- Demo: the materials demo no longer goes black after a chip round-trip (follow-up to / ).
- Docs: the demo's reproducibility claim now matches what is coded.
- iOS demo: the Multi-Model "Park" Tree slot renders again, and five other demos stop stalling.
- iOS demo: a corrected bundled asset now actually reaches an already-installed app.
- The Multi-Model demo's per-model visibility chips are labelled from the resolved Sketchfab slug's `displayName` instead of four hardcoded nouns, on Android and iOS.
- The Multi-Model section now shows the scaffold's asset-source pill, and it is measured from the resolved file rather than inferred from `SketchfabConfig.apiKey`.
- Toggling a Multi-Model visibility chip no longer blanks the models that were meant to stay on screen.
- android-demo. — the Scene Gallery asset-source pill now reports the origin it actually rendered.
- iOS demo: the AR placement picker no longer renders a tree scene labelled "Potted Monstera".
- iOS demo: a mistyped or repointed keyless fallback is now caught by a test instead of at runtime.
- Credit three Khronos models that shipped uncredited.
- Demo (Android): a corrected bundled model now reaches installs that already ran the app.
- Demo: a bundled asset that has gone missing degrades instead of throwing.
- The AR camera no longer loses ARCore's projection to Filament's generic 28 mm lens default.
- Relatedly, the self-modification guard no longer fires on a dispatch.
- A blocking verdict now names its own cause.
- android-demo. — the AR Placement and Orbital AR asset-source pills now report the origin they actually rendered.
- contact-shadow-preview: the legend chip is no longer drawn across the grounded box at its landing pose.
- contact-shadow-preview: the Wall preset's verdict line now describes what actually renders.
- iOS demo: a keyless build now says which model it is actually showing, and four stand-ins stopped contradicting their own label.
- Contact-shadow preview (android-demo): `DemoMath.CONTACT_FLOAT_CENTER_Y_METERS` no longer documents a face-to-face clearance the constants do not provide.
- A changelog fragment carrying several <!-- category: --> tags no longer files every bullet under the last one.
- The merge grader was being loaded from the code it was grading.
- The missing-verdict diagnostic now prints the denial messages, not just the count.
- The step written to prevent a false reassurance produced one.
- The Android demo's staged-fallback guard now enforces the same 12-byte floor iOS does. `stagedLooksComplete` gated on `length > 0` plus the `glTF` magic, so a 4-byte file whose entire content *is* that magic counted as a complete GLB and was served once the bundled asset vanished from the APK. iOS gates the same last-resort path on `boundsAreSane`, which carries the floor — the two platforms disagreed about the same file while both comments claimed parity.
- The new test is mutation-tested: restoring `length > 0L` makes it fail with the 4-byte file served instead of refused.
- android-demo.
- `android_cli_install_and_launch` can no longer report success without installing anything.
- The event-driven agent jobs now carry daily budgets, because a public repo's issues and comments spend the maintainer's quota.

### Tests

- Leak-churn guard — a committed instrumented suite that builds and tears down node trees 40 times per test and asserts engine state returns to baseline, so the repo's most recurrent bug class (leaks) is measured on every run instead of only after a user reports it.
- A permanent, *differential* mutation test (leaked vs properly-destroyed control, for both the `LightManager` and `TransformManager` probes) fails loudly if a Filament upgrade ever turns the probes into no-ops — so the suite cannot pass vacuously on a dead instrument. `CONTRIBUTING.md` gains a per-probe guide to reading a red run.
- The harness found a real pre-existing leak on its first run: `Node.destroy` frees an entity's components but never returns the id to `EntityManager`, so every node burns a Filament entity id for the process lifetime — filed as and *pinned* (not asserted) by the suite, so a fix there turns the pin red on purpose.
- Realigned stale SceneViewSwift tests exposed by the iOS CI fix.
- Every guard added here is mutation-tested individually.
- The assumption under the freshness check is tested against the real AssetManager, not a fake.
- iOS demo: repointing an ar_placement fallback back onto a shared asset is now caught by a test.
- iOS demo: the AR placement picker no longer renders one Game Boy under two different labels.

### Docs

- `ViewNode`: documented the gotchas its off-screen window creates — the content inherits no `CompositionLocal`s (re-apply your theme inside, or Material 3 defaults silently win) and has no parent to measure against (give it an explicit size).
- iOS Cloud Anchor docs made skim-safe so AI-generated code stays correct.
- rememberCameraManipulator: orbitHomePosition is now documented truthfully — the old KDoc made an AI generate a camera framing that is ~2× wrong whenever the target is not the origin.
- rememberCameraManipulator: the "returns on double-tap" claim is removed — no such gesture exists.
- autoCenterContent: the docs said the content centroid "lands at the orbit pivot" — it lands on the world origin.
- The CC-BY indicate-changes note names the artefact that actually changed.
- The `android-tooling` skill no longer recommends calling `android run` directly; it documents the measured misbehaviour and points at the helper.
- The helper now returns 2 when the install was proven but the activity would not start, and 1 when the install could not be proven.
- `android_cli_install_stamp` can no longer abort its caller.
- The content gate no longer matches `gcloud firebase test android run` — an unrelated Firebase Test Lab command ending in the same two words.
- The content gate scans all tracked files, with no extension list.
- Its Firebase exclusion is anchored on the adjacent `test android run` phrasing instead of the word `firebase` appearing anywhere on the line.
- The content gate's enumerator passes `--` before the file list and `-r` to `xargs`.
- Its `check_device` claimed "either `android` or `adb` is fine, the CLI being preferred", then required `adb` ten lines below — so the friendly first error could never fire, and the advice it gave (install the CLI) unblocked nobody. `adb` is stated as required; the CLI is optional and explicitly not an installer.
- The helper's launch contract is symmetric.
- The suite pins return-code 2 (install proven, launch failed) on both branches.
