Latest in AI
SceneView 4.72.0: Fix Legacy Kotlin Code From AI Assistants
Find deprecated SceneView 2.x calls that compile again in 4.72.0, migrate the affected Compose screen, and test it before merging.
A pull request can compile and still use an API your team meant to leave behind. That's the review problem SceneView 4.72.0 introduces for Android teams using coding assistants. Three patterns that could break a 4.x build can now pass it again, with a deprecation warning pointing to the modern API.
The November 23 release restores rememberNodes, Scene(childNodes = …), and ARScene(childNodes = …) as compatibility shims. That helps when an assistant works from old examples or you need to get an existing screen building. It doesn't make those patterns the ones I'd ask an assistant to use for new code.
Find the fallback API in the diff
Start with the version your app already resolves. If the assistant pulled in a 2.x dependency, fix that separately from the Kotlin code. If you're already on 4.72.0, search the changed Compose files for rememberNodes and childNodes in calls to SceneView's legacy composables. Check the import before changing anything: a function called Scene in your own code isn't necessarily the library's.
The maintainer's issue shows why a version bump alone can be confusing. The old examples mixed code that was still valid with a list-based node API that wasn't. You don't have to replace every model-loading call just because one deprecated parameter appears in the file. Let the diff and warnings tell you where to look first.
Give the assistant the API for this checkout
Use the current SceneView migration guide and give the assistant your actual dependency version. For a regular 3D product viewer, ask for the model to be declared as a child inside SceneView. For a tap-to-place AR screen, ask for ARSceneView and an AnchorNode tied to the selected anchor. Keep those requests separate so a 3D viewer doesn't accidentally pick up AR setup.
The 4.71.0 release also added per-page Markdown docs and MCP initialization instructions for hosts that consume them. If your assistant doesn't use either, paste the relevant API section into its context. Don't assume it read the right reference just because it generated plausible Kotlin.
For a small migration, I'd give it a request like this:
Keep this module on its resolved SceneView version. Find the deprecated node-list calls in the product viewer. Migrate only that screen to the current declarative SceneView API. Preserve the same model, scale, and camera interaction. Show the old and new API calls in your summary, and report which checks you actually ran.
Test the screen, not just the compile
Build the affected module and check the compiler output for the specific warnings on the lines you touched. The release includes compile-only tests for several assistant-generated examples. That's useful upstream coverage, but it doesn't tell you whether your product viewer preserves the camera behavior or renders your own model.
For the viewer, open the screen, wait for the asset to load, rotate it, leave, and open it again. Verify the scale and initial camera against the previous build. If your patch also touches an AR screen, use a supported test device: place an object, leave the screen, return, and verify that the previous placement doesn't hang around unintentionally. Keep those checks tied to the behavior your app promises.
Keep the shim where it buys you time
If a deadline makes an existing 2.x-style screen too expensive to refactor now, the shim gives you a path to keep it building. I'd record which screen still uses it and keep new changes free of those warnings. That gives the next reviewer a clear rule: an old screen can have an explicit exception, but a green build doesn't make a new legacy call acceptable.
I'm Paras. I work at the intersection of AI, engineering and distribution.
I help developer-tool teams make migrations and product changes easier to understand through technical writing and practical storytelling.