Skip to content

With v6.6.9 on Vision Pro, first attempt to start a WebXR session fails when rendering VRM models using three-vrm #407

@yourdallaness

Description

@yourdallaness

After updating the packages on my Vision Pro VR web app, found that entering VR on the first attempt on a new page load would always fail.
First narrowed it down to a VRM model I was rendering, removing that would fix the issue.

Then narrowed the issue down further to this package's 6.6.9 version, everything works perfectly until 6.6.8.

The exact issue was that I would either see see a black screen or nothing (i.e. passthrough) upon entering for a few seconds until getting the webpage shows Vision OS' failed to launch error. Next attempt usually succeeds.

Tried to manually revert the minor changes to store.ts. Still doesn't fix the issue which has left me scratching my head as they seem to be the only code changes between 6.6.8 and 6.6.9. No package updates either.

Cannot see any console errors as connecting to Safari Dev Tools on my Mac but attempting to enter VR with dev tools connected just crashes the whole web page on the Vision Pro. This is a known issue separate with Vision OS.

Can upload a video of this.

I was mainly interested to see if this is an issue only I am running into or could someone else independently verity this.

My assumption is not that VRM models are the cause, but some sort of momentary high memory usage causes the crash, VRM models just happen to be resource intensive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions