Open mikemorran opened 1 year ago
Thanks for the report.
This function is executed at top level in store.js
Probably it is executed before importing AFRAME.
I guess the order of importing depends on building and/or configuration? Anyways we may need to seek a proper way to execute this function after importing AFRAME.
Description Users are reporting that mobile material quality is not defaulting to "low" as expected. This feature is important to allow out mobile users to join Hubs rooms quickly. Unfortunately, the beginning of the line 23 conditional,
window.AFRAME
, is returningundefined
when tested, meaning that this function does not appear to be able to detect whether a user is on mobile and default the correct setting.To Reproduce Steps to reproduce the behavior:
Expected behavior Line 23 should be able to properly detect if the user is on mobile.
Hardware