Skip to content
Discussion options

You must be logged in to vote

no problems are known atm, i think it most likely is something with your local environment. if that little example crashed randomly we'd hear it from thousands of people.

best try to make a repro, because that code is just common. context loss usually happens when the browser has enough, it has a fixed limit on the amount of canvases it can produce (10-20), after that it will crash any canvas trying to get a context. threejs also deliberately forces context loss when you unmount the canvas, that is done to force the browser to release memory but it is completely harmless.

ps. this is not good:

import { TextureLoader } from 'three/src/loaders/TextureLoader'

this is not how npm works, you'r…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Immerhaze
Comment options

Answer selected by Immerhaze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2108 on March 05, 2022 10:47.