# SceneView 4.18.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.18.0 — Cross-platform hot-path perf, Android render & CI hardening, demo-quality polish (2026-06-06)

### Added

- Demo app: consolidated demos can now open directly on a specific tab via the launching alias or a ?tab= deep-link / --es tab param.
- Evidence-Stamped Claim Gate — a false "it works / QA complete / live" success-claim can no longer reach the remote.
- SceneViewSwift gains shared preset-polygon helpers — ShapePresets plus ShapeNode.starPoints(...) / ShapeNode.regularPolygonPoints(...).

### Changed

- perf(sceneview, arsceneview): cache/throttle the remaining MED Filament-JNI & per-frame allocation hot paths (, ; …5 + the V1/V2 plane list churn).
- perf(SceneViewSwift): diff-guard applyCamera so an unchanged orbit skips the per-frame RealityKit camera write.
- perf(web): `sceneview-web` now renders on-demand instead of redrawing every frame.
- Perf: cache Node parent/local-transform reads and reuse the Pose.transform scratch buffer — fewer Filament JNI round-trips and per-frame allocations on hot paths (,,, ; audit umbrella ).

### Fixed

- iOS Explore: Sketchfab models no longer fail with "We were unable to load the model".
- macOS App Store app now installs as "SceneView", not "SceneViewDemo".
- App Store "What's New" notes no longer leak other-platform references.
- Demo app: the PBR Materials (`materials`) and Gallery (`model-viewer`) tabs no longer hang forever on the "Streaming material…" / "Streaming model…" loading scrim offline or on the emulator.
- ModelNode(centerOrigin = …) is no longer silently ignored (Android).
- Demo: the Materials → Occlusion tab now reads at a glance.
- Demo: WebP-textured models no longer render black/untextured.
- perf(sceneview): cache the smoothTransform target's TRS in NodeAnimationDelegate — 3 → 0 Mat4 decompositions/frame.
- Five unlit transparent materials no longer wash out / read as an opaque "blob" over bright backgrounds.
- perf(sceneview): trimmed per-frame and per-gesture-event allocations on Android hot paths. `LightComponent.color` reads (overridden in `LightNode`) now reuse a per-instance scratch `FloatArray` instead of allocating a throwaway one every read; `NodeGestureDelegate.onRotate` reuses a shared world-up axis constant instead of allocating a `Float3` per rotate event; `CameraGestureDetector`'s `TouchPair` is built directly from the `MotionEvent` (1–2 `Float2` for the common 1–2-pointer case instead of 3–4); and `ModelNode.applyAnimations` drops its per-frame `MutableIterator`/in-place-removal in favour of a reused scratch list.
- arsceneview Phase-2 hot-path cleanups — per-frame AR allocation/JNI wins.
- Collision math allocation hygiene in sceneview-core.
- perf(SceneViewSwift).
- The weekly doc-audit cron now surfaces failures as a de-duplicated tracking issue instead of failing silently.
- Demo device-QA now builds WITH the API keys and honestly SKIPS the key-gated paths when a key is absent.
- Explore "Open in SceneView" viewer now auto-fits any model to the camera.
- AR Geospatial demos no longer leak the raw FatalException class name into the UI.
- Models demo "Surprise me" button is no longer clipped by the Settings FAB.
- Lighting Lab's Time-of-Day slider now actually swaps the HDR sky.
- iOS Shape Extrude: presets now render as real shapes instead of a collapsed edge-on ribbon.
- iOS Multi-Model "Park" demo no longer renders four identical copies of the same island in keyless mode.
- Camera & Gestures "Free Flight" mode no longer opens on a black void.
- The floating Feedback chip no longer overlaps a content card at rest.
- Flutter & React Native bridges: switching the HDR environment at runtime now actually swaps the skybox.
- Bumped vitest 3.x → ^4.1.0 in the three Cloudflare worker projects to clear GHSA-5xrq-8626-4rwp.
- Demo app: fixed two pre-existing issues found while landing the offline-scrim fix.
- `ViewNode.WindowManager.resume` now arms the off-screen retry listener synchronously when the owner View is detached, instead of deferring through `View.post`.
- A model swapped into a single slot no longer leaves the previous model "stacked" behind the new one.
- iOS AR: ARSceneView no longer leaks RealityKit/ARKit resources when the SwiftUI view is removed (, — ).

### Tests

- iOS gesture-delta tests now drive the production code path instead of a re-implementation.
- Every ALL_DEMOS id is now guaranteed routable by the debug deep-link host, with a pure-JVM guard.
- iOS demo QA can now build WITH the Sketchfab API key, so the Explore/Sketchfab path is exercised instead of shipping untested.
- Web: the published sceneview-web Kotlin/JS bundle could not initialise Filament in a browser — createViewer hung forever on a blank canvas.
- Web: real in-browser smoke test for the compiled Kotlin/JS bundle.
- Unit-tested the iOS camera diff-guard and the web render-gate against their production code paths (same rigor as ).

### Docs

- Documented the new HitResultNode.refreshIntervalMs hit-test throttle in llms.txt.
- iOS docs: fixed BillboardNode / ImageNode signatures that did not exist in the Swift source.
