# SceneView 4.3.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.3.5 — Pixel 9 production polish: AR demo UX fixes + FR i18n + CI dedup + iOS pull-to-refresh (2026-05-15)

### Added

- iOS pull-to-refresh on Sketchfab Explore feeds.

### Fixed

- 2 stale SPM from: "4.3.3" references bumped to 4.3.4.

### Changed

- Supply-chain guard centralised.

### Fixed

- AR Instant Placement — "Initializing camera" pill overlapped Clear All at startup.
- AR Pose Placement — primitives appeared unlit on Pixel 9.
- Sketchfab model viewer — initial expand rendered model inside a circular crop.
- i18n: missing French translations for streamed-model credits sheet + asset-source chips.
- Debug Overlay — single-sphere case spawned off-screen at (-0.9, -0.9, 0).

## v4.3.4 — Pixel 9 production hotfix: AR Face Mesh + Instant Placement UX + UTF-8 + iOS LightingDemo (2026-05-15)

### Fixed

- Sketchfab Explore — Polish name My�linice shows U+FFFD ( — [](https://github.com/sceneview/sceneview/pull/1202)).
- AR Examples menu — green pills replaced with M3 Expressive grid ( — [](https://github.com/sceneview/sceneview/pull/1202)).
- iOS sample — ARLightingDemo.swift companion to fillLightNode port ( — [](https://github.com/sceneview/sceneview/pull/1202)).

### Added

- Pull-to-refresh on Explore Sketchfab feeds.
- System back exits live AR session.
- Shared-element hero morph between viewer stages.

### Added

- .refreshable on Explore Sketchfab feeds.
- iOS 18 zoom navigation transition Explore card → viewer.

### Fixed

- AR Face Mesh — full black surface on Pixel 9 ( — [](https://github.com/sceneview/sceneview/pull/1198)).
- AR Instant Placement — anchors silently floating after STOPPED ( — [](https://github.com/sceneview/sceneview/pull/1198)).
- AR Image Stabilization (EIS) — demo auto-places helmet on first tracking frame ( — [](https://github.com/sceneview/sceneview/pull/1191)).
- Sketchfab carousels — snap-to-card fling + edge padding ( — [](https://github.com/sceneview/sceneview/pull/1196)).

## v4.3.3 — AR production hotfix: actionable Cloud Anchor error + CI key guard (2026-05-14)

### Fixed

- Cloud Anchor ERROR_NOT_AUTHORIZED now surfaces actionable guidance.
- STREETSCAPE_SETUP.md adds a "Play App Signing key" runbook.

### Verified fixed (closing tracker issues)

- spherePlaneResponse wrong contact point on negative side.
- AR Terrain & Rooftop Anchors fail in release builds (R8 strip).
- AR rendering quality umbrella (multiplicative drift, no default IBL, mirror reflections, EV15 vs EV11.6 exposure).

## v4.3.2 — Sketchfab streaming complete + iOS key + DemoScaffold v2 + APK slim (2026-05-14)

### Security

- Resolved version before fix. : `4.5.6` → after fix: `5.8.0`.
- Severity. : moderate (CVSS 6.1).

### Added

- `## Sketchfab streaming for samples` — copy-paste resolver pattern (8 lines of Kotlin) + hard rules (CC-BY-only, no WebView, never network-required, attribute the author) + LRU cache contract + bounds sanity check.
- `## DemoScaffold v2 — full-screen scene + ModalBottomSheet controls` — DemoScaffold API signature + picker pattern + gesture map.

### Changed

- Selected slug, download landed. Tap places the streamed slug.
- Selected slug, download still in flight. Tap silently falls back to the bundled cycle so the tap is never lost.
- "Bundled cycle" selected v4.3.1 behaviour preserved.

### Added

- Default state. Bundled helmet, same as before.
- Tap "Surprise me".
- No-key build. The FAB is hidden when `SketchfabConfig.apiKey == null` (App Store / no-secret CI builds) — silently falling back to the same helmet would mislead users about the demo's capability.
- Failure modes are silent. A 4xx / 5xx / empty-results path keeps the helmet on screen rather than going black.

### Added

- NEVER ship a build that needs the network to render something useful.
- NEVER open a Sketchfab WebView / external link.

### Fixed

- SketchfabConfig.swift read the key via ProcessInfo.processInfo.environment["SKETCHFAB_API_KEY"].

### Tests

- sceneview/src/androidTest/.../RenderQualityComposeTest.kt.
- sceneview/src/androidTest/.../node/CameraNodeLifecycleTest.kt.
- arsceneview/src/androidTest/.../light/LightEstimatorConcurrentDestroyTest.kt.

## v4.3.1 — CI hardening + iOS AR LightSlot parity + i18n migration (2026-05-14)

### Changed

- The 35 demo call-sites stay byte-identical: `DemoScaffold(title = …, controls = { … }, scene = { … })` — only the placement of the controls panel has changed.
- The sheet supports the partial detent (`skipPartiallyExpanded = false`); drag-down, outside-tap, and back gesture all dismiss it.
- AR demos keep tracking 6DOF while the sheet is at the partial detent — opening the sheet does not pause the AR session.
- Long-press the peek chip toggles `DemoSettings.qaMode` (was previously a long-press on the top-app-bar title).
- New `DemoScaffoldTestTags` object exposes stable testTags (`demo-settings-fab`, `demo-settings-peek`, `demo-settings-sheet`, `demo-qa-pill`) consumed by `DemoInteractionTest` and any future visual smoke tooling.

### Fixed

- Dokka step now passes --no-configuration-cache.
- create-release job no longer veto-gated on publish-api-docs.

### Fixed

- [`IBLPrefilter.specularFilter`](https://github.com/sceneview/sceneview/blob/main/sceneview/src/main/java/io/github/sceneview/environment/IBLPrefilter.kt) — clarified that cost scales with cubemap face count + resolution.

### Fixed

- Fix. : collapse the `android --no-metrics run …` invocation onto a single physical line, matching the documented per-line slicing rule already followed by the `attempts=0; while …; done` loop above it.
- Validator extension.
- Backwards compatibility. : `run:` blocks (which GitHub Actions defaults to `bash -e {0}`, executed as one script) are untouched; backslash continuations remain valid there.

### Fixed

- DemoEntry data class refactor. — `title: String, subtitle: String` → `@StringRes titleRes: Int, @StringRes subtitleRes: Int`.
- 39 per-demo DemoScaffold(title = "…") callsites.
- Top-level UI surfaces migrated.
- strings.xml expanded from 164 → 270+ keys, covering every public-facing UI string in the priority surfaces.
- Locale-flip verified end-to-end.
- Existing legacy keys preserved. (e.g. `demo_lighting`, `demo_geometry`, etc.) for backwards compatibility with any external consumer holding refs to them.
- DeepLinkRouterTest.kt updated to pass `R.string.*` IDs instead of literal `"Title", "Subtitle"` strings — title / subtitle are not part of the route, so any pair satisfies the type.

### Added

- .mainLight(_:) /.fillLight(_:) modifiers on ARSceneView.
- Reactive swap path. — when the caller mutates the modifier value, the previous light's `AnchorEntity` is removed from `arView.scene` and a new one is added in its place.
- ENVIRONMENTAL_HDR parity documented. — `config.environmentTexturing =.automatic` (already set, now annotated) is the ARKit equivalent of ARCore's `Config.LightEstimationMode.ENVIRONMENTAL_HDR`.

## v4.3.0 — Android rendering pipeline overhaul + iOS CameraControls.pan/.firstPerson + ARRecorder + parity table (2026-05-14)

### Added

- async throws API. — `startRecording async throws`, `stopRecording(outputURL: URL? = nil) async throws -> URL`.
- Typed error mapping.
- ARRecorder.remembered factory. — mirrors Android's `rememberARRecorder` for code-generation symmetry.
- ARRecorder.saveToPhotoLibrary(_:) static helper.
- What's recorded. : screen pixels only (NOT ARSession state).

### Added

- .pan. : drag translates the orbit `target` along the camera-aligned right + up vectors (the scene appears to slide), pinch keeps dollying.
- .firstPerson. : drag rotates the view, no orbit translation; pinch adjusts the perspective camera's `fieldOfViewInDegrees` — mirrors Android `FovZoomCameraManipulator` (range `10°..120°`, default `60°`).
- Mode picker in iOS demo. : `CameraControlsDemo` gets a 3-way `Picker` segment so the v4.3.0 wiring can be felt at a glance.

### Added

- .autoCenterContent(_ enabled: Bool) modifier. (default `true`).
- iOS-only vs Android. : Android achieves the same via per-demo `ModelNode(centerOrigin = Position.ZERO)`.

### ⚠️ BREAKING

- IBL intensity (3D + AR).
- AR camera exposure (ARDefaultCameraNode).
- AR IBL specular filter default. : `environmentalHdrSpecularFilter = false` → `true` ( via [](https://github.com/sceneview/sceneview/pull/1086)).
- AR Config.LightEstimationMode default. : ARCore's stock `AMBIENT_INTENSITY` → `ENVIRONMENTAL_HDR` ( acceptance, CORR-A).
- AR ARSceneView two-light defaults.
- SceneView(isOpaque = false) is now actually transparent.

### Fixed

- 🚨 Multiplicative light drift killed mainLight in ~15 frames.
- 🚨 createAREnvironment shipped without IndirectLight.
- 🚨 ARSceneView AR scene baseline now mirrors the 3D Scene v4.1.0 two-light setup + opt in to ARCore real-environment estimate.
- 🚨 SH coefficient swap on bands y20 / y21.
- LightEstimator double-closed ARCore Image objects in cubemap callback.
- LightEstimator robustness — 3 follow-ups to /.
- AR cleanup batch — 4 follow-ups to CORR-B and post-merge audit of /.

### Fixed

- 🚨 PostProcessingDemo silently disabled SSAO on first paint.
- RenderQuality preset clobbered user view tweaks on every recomposition.
- EnvironmentLoader.createHDREnvironment convenience overloads silently dropped indirectLightApply.
- PhysicsDemo stacked 100 000 lux DIRECTIONAL on top of the v4.1.0 default lights.
- cameraNode leaked into shared Scene on SceneView unmount.

### Fixed

- 🚨 Box ray-OBB intersection broken for parallel rays.
- 🚨 spherePlaneResponse returned wrong contact point on negative side.

### Fixed

- SpringAnimator underdamped uses analytical velocity.
- Quaternion.slerp transform uses exponential decay.
- Matrix.decomposeRotation no longer uses this as scratch.
- closestPointsBetweenSegments — Ericson §5.1.9 sign.

### Fixed

- Main + fill light add wrapped in DisposableEffect.
- destroyMaterialsOnDispose flag on RenderableNode + GeometryNode.

### Fixed

- 🚨 Texture.Builder now sets Usage.GEN_MIPMAPPABLE for the ARCore HDR cubemap.

### Fixed

- Sync-versions --fix mode now actually rewrites SwiftPM from: clauses.
- DemoInteractionTest AppBar titles aligned with registry labels.
- OrbitalARDemo Float precision drift. — modulo `2π` on orbit + spin angles (Android + iOS) so cumulative angle survives long-running sessions.
- ExploreTabScreen partial-success path.
- DeepLinkRouterTest.kt JVM compile. — pre-existing breakage since `2556c467` (4-arg `DemoEntry` ctor lost when `icon` field was added).

### Documented

- Filament runtime ↔.filamat ABI invariant. in `CONTRIBUTING.md`: the v4.1.0 → v4.1.1 hotfix lesson, the 12 blob list, the matc recompile recipe.

### Closed without code

- iOS parity v4.2.0 umbrella — SHIPPED end-to-end; deferred items split into focused / / / /.

### Tests

- BoxTest.kt. — 5 new methods (1 perpendicular + 4 parallel-branch on x and z axes) pin `Box.rayIntersection` correct behaviour for thin-slab boxes.
- MeshColliderTest.kt. — 5 new methods pin the twin parallel-ray epsilon fix in `MeshCollider.AABB.rayIntersection` across x and z axes.
- SceneFactoriesTest.kt.
- ARDefaultCameraNodeTest.kt.
- RenderQualityLaunchedEffectTest.kt. (new file) — pins the `LaunchedEffect(view, renderQuality)` re-keying contract via a 25-line JVM simulator.

### CI

- publish-api-docs now gates create-release.
- Composite actions for JDK + MCP setup.
- Render-tests sharding.
