# Three.js 185 error

**URL:** <https://discourse.threejs.org/t/three-js-185-error/92609>\
**Category:** Questions\
**Created:** [July 3, 2026, 1:16pm UTC](https://discourse.threejs.org/t/three-js-185-error/92609 "2026-07-03T13:16:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ranao](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ranao/32/26878_2.png) [@Ranao](https://discourse.threejs.org/u/Ranao)\
**Post date:** [July 3, 2026, 1:16pm UTC](https://discourse.threejs.org/t/three-js-185-error/92609/1 "2026-07-03T13:16:21Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/1/b/1b365bc8435db5061936db633f82dc5fd352e16b.png)

when I copy paste the new three.js 185 I encounter this error.

---

<div class="post-metadata">

**Author:** ![dubois](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dubois](https://discourse.threejs.org/u/dubois)\
**Post date:** [July 3, 2026, 6:14pm UTC](https://discourse.threejs.org/t/three-js-185-error/92609/2 "2026-07-03T18:14:52Z")

</div>

Feels like either Infinity or NaN was passed somewhere.

---

<div class="post-metadata">

**Author:** ![Lawrence3DPK](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/lawrence3dpk/32/29184_2.png) [@Lawrence3DPK](https://discourse.threejs.org/u/Lawrence3DPK)\
**Post date:** [July 3, 2026, 6:26pm UTC](https://discourse.threejs.org/t/three-js-185-error/92609/3 "2026-07-03T18:26:59Z")

</div>

yeah maybe make a console log at “interactive.js” line 2151 to see what’s being passed to internal three.js functions

---

<div class="post-metadata">

**Author:** ![Ranao](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ranao/32/26878_2.png) [@Ranao](https://discourse.threejs.org/u/Ranao)\
**Post date:** [July 3, 2026, 6:50pm UTC](https://discourse.threejs.org/t/three-js-185-error/92609/4 "2026-07-03T18:50:28Z")

</div>

thanks so much it was a NaN issue,
