You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When conditionally crendereing the ARCanvas this message is displayed
And this shows in the console ar.js:133 Uncaught TypeError: Cannot set properties of null (setting 'orientation') at HTMLVideoElement.video.onloadedmetadata (ar.js:133:63)
I think it's related to useMemo, maybe use memo instead could fix it?
The text was updated successfully, but these errors were encountered:
Hi @rafelis1997, thank you! I set up an example using conditional rendering for the arcanvas. Seems to work fine turning it on and off, could you try it out please -> https://codesandbox.io/s/sparkling-tdd-82xrpl?file=/src/index.js. Otherwise I would need more insights in your code. Maybe some issues with starting in landscape or what are yout trying to do?
When conditionally crendereing the ARCanvas this message is displayed
And this shows in the console
ar.js:133 Uncaught TypeError: Cannot set properties of null (setting 'orientation') at HTMLVideoElement.video.onloadedmetadata (ar.js:133:63)
I think it's related to useMemo, maybe use memo instead could fix it?
The text was updated successfully, but these errors were encountered: