1. 程式人生 > >Three.js three.js Uncaught TypeError: Cannot read property 'getExtension' of null

Three.js three.js Uncaught TypeError: Cannot read property 'getExtension' of null

UNC 錯誤 顯示 nbsp 是不是 cannot three.js error: get

在調試Three.js執行加載幕布的時候,突然爆出這個錯誤three.js Uncaught TypeError: Cannot read property ‘getExtension‘ of null,查詢了半天也沒找到結果

最後突然想到是不是瀏覽器的設置問題,檢查了一下WebGL,果然重新安裝瀏覽器之後沒有開啟,正常開啟之後,顯示正常

留痕MARK一下

PS:可以直接在百度上搜索瀏覽器的WebGL的開啟方式 :)

Three.js three.js Uncaught TypeError: Cannot read property 'getExtension' of null