Skip to content

Avatar performance fix - #393

Merged
ruofeidu merged 10 commits into
google:mainfrom
Peter-Pater:avatar-perf
Jun 18, 2026
Merged

Avatar performance fix#393
ruofeidu merged 10 commits into
google:mainfrom
Peter-Pater:avatar-perf

Conversation

@Peter-Pater

Copy link
Copy Markdown
Collaborator

Previously, running vrm avatars in XR was laggy. Fixed with the following improvements:

  • Applied model optimization from VRMUtils, including redundant vertice removal, morph combination, and skeleton combination.
  • Throttled the framerate for Springbones (Hair) to 30fps

Also disabled Grid. For some reason the grid contributed to the performance issue the most. When the grid was enabled, raycasting to the floor becomes very laggy.

@ruofeidu

Copy link
Copy Markdown
Collaborator

LGTM!

@ruofeidu
ruofeidu merged commit 94855ed into google:main Jun 18, 2026
8 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