autodesk forge – view cube bindTexture error when I loaded model

when I try to load model in the viewer the view cube get some warning text “WebGL: INVALID_OPERATION: bindTexture: object does not belong to this context”.

The screenshot of view cube without texture

Warning text in console

How can I deal with it or what mistake did I make?

As I have initialed serveral viewers in the page with diffirent container element, I’m not sure if that will cause a problem.

            viewer = new Autodesk.Viewing.GuiViewer3D(container3D, config)
            viewer.start()
            viewer.setTheme('dark-theme')
            bimViewer_3D = viewer

Read more here: Source link