Skip to content

HelloAndroidXR update for May 2026#32

Merged
amyZepp merged 2 commits into
android:mainfrom
amyZepp:jxr-io-update
May 13, 2026
Merged

HelloAndroidXR update for May 2026#32
amyZepp merged 2 commits into
android:mainfrom
amyZepp:jxr-io-update

Conversation

@amyZepp
Copy link
Copy Markdown
Contributor

@amyZepp amyZepp commented May 12, 2026

  • Updated dependencies for latest JXR release
  • Updated BugdroidModel to use new SpatialGltfModel instead of SceneCoreEntity
  • Updated BugdroidViewModel so 'Reset' functionality will stop the glTF animation
  • Reorganized assets to adhere to best practices

- Updated BugdroidModel to use new SpatialGltfModel instead of SceneCoreEntity
- Updated BugdroidViewModel so 'Reset' functionality will stop the glTF animation
- Reorganized assets to adhere to best practices

Change-Id: I0d610f9e3b467ad614312127cbe1bfefb5552a34
@amyZepp amyZepp requested a review from fuentespatrick as a code owner May 12, 2026 22:38
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors 3D model handling by replacing the custom controller with the new SpatialGltfModel API and updates spatial layout modifiers to use the latest movable and resizable components. It also includes library version bumps and minor UI logic adjustments. Feedback highlights several critical issues: the window size logic incorrectly uses a height constant for width checks, asset loading via Paths.get() is incompatible with Android assets, materials are unsafely reused across different XR sessions, and a missing LaunchedEffect key prevents the bugdroid animation from responding to state changes.

Comment thread app/src/main/java/com/example/helloandroidxr/ui/components/BugdroidModel.kt Outdated
@android android deleted a comment from gemini-code-assist Bot May 12, 2026
…droidModel.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@android android deleted a comment from gemini-code-assist Bot May 13, 2026
@amyZepp amyZepp merged commit aac1b91 into android:main May 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants