I download the official model-viewer demo,and I wan’t use it in my personal project.In react strict mode,the createGraphicsDevice can’t get a right device.Like this:
I resolved this bug,remove the prerender