SceneView 4.17.x¶
All versions · Full release notes on GitHub
Highlights of each release. The full notes on GitHub list every change and pull request.
v4.17.0 — Performance & correctness: the hot-path audit (2026-05-31)¶
- The transform drift is now fully fixed.
- Per-frame work cut across the board.
- Correctness fixes.
- Docs: a hot-path / allocation-free API guidance page so generated code avoids the whole class of bug.
Changed¶
- Samples catalog: unified Camera & Gestures demo.
- Samples catalog: unified Custom Geometry demo.
- Samples catalog: unified Picking & Collision demo.
- Samples catalog: unified 2D in 3D demo.
- Samples catalog: unified Lighting Lab demo.
- Samples catalog: unified Animation & Physics demo.
- Samples catalog: unified Materials demo.
- Samples catalog: unified Models demo.
- Perf: smooth-transform animation hot path (, part of ).
- Cache Filament component instance handles instead of re-querying them on every access (,,, part of ).
- Batch per-frame ARCore updated-set lookups (, part of ).
- ModelNode no longer re-scans static renderables' bounding boxes every frame (, part of ).
Fixed¶
- AR plane renderer no longer shows an opaque white blob over bright scenes.
- Node world-space TRS cache completes the fix.
- Node.transformInstance cached after first lookup.
- NodeAnimationDelegate.onFrame reads node.transform once per frame.
- World ↔ local quaternion conversions no longer run a Mat4 polar decomposition on every call.
- Web refreshContentCentering no longer copies + writes back a mat4 per model per frame.
- Hot-path allocation: Mat4/Mat3.copyColumnsInto buffer-fill overloads.
- Manipulator.transform no longer allocates ~10 objects per frame.
- Eliminated per-triangle Vector3 allocations in ray-vs-mesh collision (, umbrella ).
- SwiftUI auto-rotate no longer drives a full body re-eval at 60 Hz.
- Light-slot refresh removes the previous light by cached reference instead of tree-walking.
- SceneViewSwift: dragging an entity registered with Entity.onDrag { } / NodeGesture.onDrag no longer flies off-screen.
- Review-nit follow-ups from the perf PRs (, part of ).
- ModelNode now evicts a renderable from its sanitize-once latch when its geometry or bounding box is explicitly mutated (, part of ).
- Completed the transform-drift fix — per-component setters no longer re-decompose.
- Fixed
DemoHostActivity(debug deep-link test harness) crashing withUnknown demo idwhen launched fordouble-pendulum,spatial-audio, orplacement-scene— these three demos are registered in the catalog but were missing from the host'swhenrouting.
Tests¶
- Removed the orphaned
shapeDemo_default_staterender-screenshot test left behind by the Batch 1custom-geometryconsolidation: it launched the retiredshapedeep-link slug (aliased tocustom-geometry) against the deletedshape_defaultgolden, so it only ever silentlyassumeTrue-skipped. - Fixed a stale
llms.txtreference naming the retiredgesture-editingdemo as the canonical gesture example; it now points at thecamera-gesturesdemo's Node Gestures tab. - Added
NodeWorldTransformDriftTest, an instrumented (androidTest) Filament-Engine-backed regression test for the world-space TRS cache (, the world half of the transform-drift fix). - Added an Engine-backed instrumented test (
NodeSmoothFollowTest) that pins the AR-reticle smooth-follow glide behavior preserved by.
Docs¶
- Hot-path / allocation-free API guidance.
- Updated the demo catalog count across the docs + website (samples.md, llms-full.txt, try.md, website index) from the stale pre- "59 demos (30 non-AR + 29 AR)" to the current 47 demos (17 non-AR + 30 AR) after the demo consolidation.
- Fixed a broken iOS-samples doc link (
samples-ios.md):ImageDemo.swift→ImagePlaneDemo.swift(the actual file name). - Extended the
camera-gesturesinteraction test to also exercise the Camera Modes tab (the absorbedcamera-controlshalf), not just Node Gestures. - Documentation now stays in sync with the public API automatically, via a two-tier guard.