Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching from AR to Standard view on low memory devices causes the Web3D (Standard veiw) models to not load #93

Open
blundellj opened this issue Sep 14, 2021 · 0 comments

Comments

@blundellj
Copy link
Collaborator

To reproduce:

  1. Use a mobile device with low memory (or force the device to use most of it's memory)
  2. Load the dev spacesuit scene
  3. Start AR mode
  4. Return to standard mode
  5. Notice the toasts that appear stating "Failed to load model derivative: [object ProgressEvent]"

Some solutions could be

  • Because we are switching contexts (AR view to standard view) there is no need to maintain continuity between the two modes. Thus we could just unload the AR model from memory before loading the standard view model (which it seems lit what happens when you enter AR mode currently, unloading the standard view model, then loading the ar model?)
  • or when returning to standard view, first load the much smaller 3D thumbnail before loading the standard view model so only a small model is in memory as we load the standard view model

Failed_to_load_model_derivative_object_ProgressEvent"

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

No branches or pull requests

1 participant