# Disappearing and reappearing instances

**URL:** <https://forum.babylonjs.com/t/disappearing-and-reappearing-instances/16890>\
**Category:** Questions\
**Created:** [December 23, 2020, 7:24pm UTC](https://forum.babylonjs.com/t/disappearing-and-reappearing-instances/16890 "2020-12-23T19:24:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![owen](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/owen/32/9325_2.png) [@owen](https://forum.babylonjs.com/u/owen)\
**Post date:** [December 23, 2020, 7:24pm UTC](https://forum.babylonjs.com/t/disappearing-and-reappearing-instances/16890/1 "2020-12-23T19:24:06Z")

</div>

I created several boxes. All of them are instanced from a source box which I have setEnabled(false) to hide it.

**When I pan the camera left and right** the boxes “glitch” in and out. They disappear and then reappear depending on the camera angle.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/1/17b56543ab1c707681ab14534faffd5e1a2bda37.jpeg)

All stacked boxes are the same height, in the screenshot above, you see some instances become momentarily “clipped” as you pan the camera over them.

Is this a bug or am I doing something wrong? I’m viewing the playground using a macbook pro running Chrome browser. Update: Issue also happens on Firefox and Safari.

Here is a link to the playground: [https://playground.babylonjs.com/#JUH9FA](https://playground.babylonjs.com/#JUH9FA)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [December 23, 2020, 8:45pm UTC](https://forum.babylonjs.com/t/disappearing-and-reappearing-instances/16890/2 "2020-12-23T20:45:10Z")

</div>



---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 23, 2020, 9:41pm UTC](https://forum.babylonjs.com/t/disappearing-and-reappearing-instances/16890/3 "2020-12-23T21:41:04Z")

</div>

Fixed by:

> <https://github.com/BabylonJS/Babylon.js/pull/9654>

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 23, 2020, 9:41pm UTC](https://forum.babylonjs.com/t/disappearing-and-reappearing-instances/16890/4 "2020-12-23T21:41:10Z")

</div>



---

<div class="post-metadata">

**Author:** ![owen](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/owen/32/9325_2.png) [@owen](https://forum.babylonjs.com/u/owen)\
**Post date:** [December 29, 2020, 12:21am UTC](https://forum.babylonjs.com/t/disappearing-and-reappearing-instances/16890/5 "2020-12-29T00:21:41Z")

</div>

What an awesome experience to have this fixed within hours of reporting it!
