# SceneView 4.19.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.19.0 — 2026-07-04

### Added

- iOS Cloud Anchor lifecycle parity.
- `NearbyCollaborativeTransport` — a reference [`CollaborativeTransport`] implementation backed by Google Nearby Connections for offline, same-room collaborative AR (no backend).
- PlaneDiscoveryGuide — AR plane-discovery onboarding overlay.
- ShadowReceiverPlane — invisible AR shadow-catcher ground ( Sprint-1, PR 3/6).
- sceneview-web: wired the model { scale(...); autoAnimate(...) } DSL builder options that were silent no-ops.
- `ARSceneView` gains a `renderQuality: RenderQuality?` parameter, closing the 3D/AR API asymmetry the docs previously advertised as symmetric (, audit).

### Changed

- Flutter & React Native demos: the Environment demo now toggles between two distinct HDRs (Studio ↔ Night) at runtime instead of reloading a single HDR (Flutter) or switching HDR↔none (RN).
- Flutter & React Native Android bridges: tidied the mutually-exclusive `rememberEnvironment` call sites into a single stable call site (one keyed `rememberEnvironment` whose factory falls back to the default environment when the HDR path is null), instead of a keyed call plus a separate `environment ?: rememberEnvironment(...)` fallback at the `SceneView` argument.
- The AR View tab now renders via the shared `TapToPlaceArSession` engine (, PR 3/4) — it gains the centre placement reticle, texture-settle gating (no black flash on placement), helmet rotation correction (the Damaged Helmet now lands upright instead of face-down) and PAUSED-surviving anchors.
- Collaborative AR hardening.
- Renamed the Android source files Scene.kt → SceneView.kt and ARScene.kt → ARSceneView.kt.

### Fixed

- Android demo — in-app screen recording restored on Android 14+.
- Node.worldQuaternion (and worldRotation) now round-trips again on parented nodes.
- sceneview-web: Guard the on-demand render gate against a frozen canvas after a failed model/IBL/skybox load.
- macOS App Store demo-app upload no longer rejected for a duplicate CFBundleVersion.
- `rememberModelInstance` (both overloads) no longer leaks the previously loaded `Model` (its Filament textures, vertex/index buffers and materials) when the model path changes.
- sceneview-web: SceneView.destroy no longer leaks the camera entity handle.
- Fixed `generateCapsule` (shared `sceneview-core`, all platforms) emitting a malformed mesh: the three independently-wound vertex blocks (two hemispheres, the cylinder) were stitched with one continuous-grid index loop, producing an inverted cap funnel over the top hemisphere, a degenerate zero-area band at the cylinder/hemisphere seam, and an inverted bottom cap.
- Fixed `Torus` rendering inside-out on default parameters — its triangles were wound clockwise (inward), so the default single-sided material culled the visible outer surface.
- Fixed the Android `Capsule` geometry rendering inside-out on default parameters — same inverted (clockwise) winding as the torus; the capsule now winds outward and renders solid.
- Fixed `setMorphWeights(weights)` being a silent no-op: the `offset` parameter defaulted to `weights.size`, writing the weights past the end of the morph-target buffer instead of at the start.
- Fixed the shared `sceneview-core` `TorusGeometry` generator winding every triangle inward (clockwise), which rendered the torus inside-out under a single-sided material on the web (Filament.js) and the iOS reference path.
- android-demo: Fix the AR View "Start AR Camera" experience always placing the default Damaged Helmet regardless of the model picked.
- ML Kit Object Labels demo: label billboards no longer render oversized, warped or mirrored/upside-down.
- AR Depth of Field demo. : lowered the default blur strength from `2.0×` to `1.0×` (Filament's stock cinematic strength).
- Orbital AR demo: the "Turn around — N models orbiting" banner and the directional edge-arrow now dismiss once the user has turned toward a model (the chase target enters the camera frustum) or after a short onboarding window, instead of staying up for the whole session and cluttering the view.
- AR demos no longer open on a raw black viewport.
- AR Body Tracker. : replaced silent black screen with a camera-init scrim (spinner while ARCore starts) and a persistent in-viewport hint pill ("Point camera at a person — full body visible") that fades out once a skeleton is detected.
- Cloud Anchors demo: made the host→resolve flow discoverable.
- android-demo: The Explore tab's live 3D model viewer no longer flips the model fully upside-down when an orbit drag is carried past the top or bottom pole (, Pixel 9 device review).
- Flutter (Android): the AR plane-discovery bridge now dedupes detected planes by reference identity (`IdentityHashMap`-backed set) instead of `System.identityHashCode`, which is not collision-free — a new plane whose hash collided with an already-reported one could silently drop its `onPlaneDetected` callback.
- `sceneview-core`: `LatheGeometry`'s documented `closed` parameter now has an effect.
- `rememberOnGestureListener` no longer freezes its callbacks at first composition.
- Website showcase viewer: a failed model load (network error, 404, or corrupt GLB) now paints a subtle "3D preview unavailable" placeholder over the canvas — themed from the site's design tokens, light + dark — and logs `console.warn`, instead of leaving a permanently blank canvas.
- Fixed the two-finger camera pan gesture being wildly over-sensitive — the slightest drag could throw the model off-screen.
- AR docs & KDoc: the canonical plane tap-to-place snippet called `frame.createAnchorOrNull(plane.centerPose)`, but no `Frame.createAnchorOrNull` extension exists (ARCore's `Frame.session` field is package-private, so the extension is infeasible).
- iOS demo. : removed the "Sponsor" / GitHub Sponsors card from the About tab to comply with App Store Guideline 3.1.1 (no external payment or donation links).
- Website: fixed the garbled ("forky") GitHub icon in the site header.
- Website. : 3D was dead site-wide — the pages' CSP `script-src` was missing `'unsafe-eval'`, which Filament's Emscripten WASM glue requires, so `Filament` rejected and every viewer spun forever.
- Website. : Filament engine init now has a 15s watchdog and a graceful "3D preview unavailable" placeholder — an init failure (blocked WASM, asset 404, OOM) degrades visibly instead of an infinite "Loading 3D engine…" spinner.
- Website. : "Pricing" nav item now appears on every page (was only on the homepage), same position and markup, desktop and mobile menus.
- Website. : added `:focus-visible` styles — keyboard users get a visible, token-themed focus ring on links, buttons and form controls in both themes (WCAG 2.4.7).
- `arsceneview`: `ARSceneView`'s reactive `LaunchedEffect` for `flashMode` and every typed `Config.*Mode` param (`depthMode`, `planeFindingMode`, `instantPlacementMode`, `geospatialMode`, `streetscapeGeometryMode`, `cloudAnchorMode`, `augmentedFaceMode`, `imageStabilizationMode`, `semanticMode`, `updateMode`, `focusMode`) no longer reverts a `sessionConfiguration` callback override right after session creation. `LaunchedEffect(param)` always runs once on the composable's initial composition — using the parameter's untouched default — not only on genuine later changes; that first run compared the live session config against the default and, on any mismatch, silently pushed the default back into the session without re-invoking `sessionConfiguration`.

### Performance

- PlaneRenderer / PlaneRendererV2: O(1) updated-plane membership in RENDER_CENTER mode (, audit row AR10).

### Tests

- DemoRenderingScreenshotTest now asserts (not silently skips) for 3 more unified demos.
- 4 render-goldens committed from the pinned CI profile (`animationphysics`, `cameragestures`, `lightinglab`, `pickingcollision` `_default`) — harvested from the new `demo-render-goldens` job; `DemoRenderingScreenshotTest` now compares instead of silently skipping for them.

### Docs

- llms.txt, agent skill (cheatsheet + recipes) and llms-full.txt now document the Sprint-1 placement UX kit — `PlaneDiscoveryGuide`, `PlacementReticle`, `ShadowReceiverPlane` — with the honest platform matrix (iOS: native coaching overlay ships today, grounded shadows/continuous reticle tracked under ; Web: coming soon).
- AI-first docs: corrected remaining cross-platform doc↔API parity divergences so an AI no longer emits non-compiling / no-op code.
- Post-merge Tier-2 review follow-up for the new `ARSceneView(renderQuality:)`: fixed a stale `llms.txt` troubleshooting line that still called `rememberARView`'s tone mapper "Linear" (it is Filmic, — the same correction applied to the capabilities row), and documented that the AR `renderQuality` preset is Android-only (the iOS `.renderQuality(_:)` modifier is 3D-`SceneView`-only) in both the `llms.txt` "Android-only" parity table and the iOS agent-skill cheatsheet, so an AI does not generate an `ARSceneView(...).renderQuality(...)` call that fails to compile on iOS.
- Fixed a non-compiling FogNode initializer in the iOS cheatsheets.
