# Trouble with loading glb model in three js r151

**URL:** <https://discourse.threejs.org/t/trouble-with-loading-glb-model-in-three-js-r151/50358>\
**Category:** Questions\
**Tags:** webglrenderer\
**Created:** [April 14, 2023, 7:16am UTC](https://discourse.threejs.org/t/trouble-with-loading-glb-model-in-three-js-r151/50358 "2023-04-14T07:16:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victorfy1214](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/victorfy1214/32/22926_2.png) [@Victorfy1214](https://discourse.threejs.org/u/Victorfy1214)\
**Post date:** [April 14, 2023, 7:16am UTC](https://discourse.threejs.org/t/trouble-with-loading-glb-model-in-three-js-r151/50358/1 "2023-04-14T07:16:56Z")

</div>

I got an error after i updated the version of three.js from r150.1 to r151.3. It said something like this:

THREE.WebGLProgram: Shader Error 0 - VALIDATE\_STATUS false  
Program Info Log: Vertex shader is not compiled.  
VERTEX  
ERROR: 0:373: ‘uv2’ : undeclared identifier  
ERROR: 0:373: ‘constructor’ : not enough data provided for construction

I don’t quite understand why this error occurred, cause I didn’t use shaders to render my model.  
Here is a demo running normally with version r150.1 [threejsr150 - JSFiddle - Code Playground](https://jsfiddle.net/VictorFang1214/znvx68pe/)  
and the demo with errors [threejsr151 - JSFiddle - Code Playground](https://jsfiddle.net/VictorFang1214/L069woe7/2/)

I haven’t found a feasible solution yet, hoping someone could help me find a way out.  
MANY THANKS!!!

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [April 14, 2023, 9:06am UTC](https://discourse.threejs.org/t/trouble-with-loading-glb-model-in-three-js-r151/50358/2 "2023-04-14T09:06:08Z")

</div>

Do you mind reporting this at the GitHub repository? This could be a regression.

---

<div class="post-metadata">

**Author:** ![Victorfy1214](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/victorfy1214/32/22926_2.png) [@Victorfy1214](https://discourse.threejs.org/u/Victorfy1214)\
**Post date:** [April 14, 2023, 11:33am UTC](https://discourse.threejs.org/t/trouble-with-loading-glb-model-in-three-js-r151/50358/3 "2023-04-14T11:33:32Z")

</div>

Thanks for your reply, I’ll report this issue at the GitHub repository latter.
