# Object disappearance

**URL:** https://discussions.unity.com/t/object-disappearance/351782
**Category:** Questions & Answers
**Tags:** 2D, Windows, Scripting, Question
**Created:** [April 12, 2024, 11:36pm UTC](https://discussions.unity.com/t/object-disappearance/351782 "2024-04-12T23:36:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![YaeruSama](https://avatars.discourse-cdn.com/v4/letter/y/958977/32.png) [@YaeruSama](https://discussions.unity.com/u/YaeruSama)
#### Post date: [April 12, 2024, 11:36pm UTC](https://discussions.unity.com/t/object-disappearance/351782/1 "2024-04-12T23:36:04Z")

</div>

I have an issue where two objects disappear from the game during movement, even though they appear to be performing as intended in the scene. I don’t know if it’s a coding error, an issue with layers, or something else entirely. I’ve already tried fixing it without success. Can someone help me out?

 ![image](https://europe1.discourse-cdn.com/unity/original/3X/1/f/1f686e11d85498eada797b8b55333cb17f2430a1.jpeg)

as in the image, one object apears in the camera but at the second of movement it disappears.

---

<div class="post-metadata">

### Author: ![IndieSeal](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/indieseal/32/85323_2.png) [@IndieSeal](https://discussions.unity.com/u/IndieSeal)
#### Post date: [April 13, 2024, 2:39am UTC](https://discussions.unity.com/t/object-disappearance/351782/2 "2024-04-13T02:39:19Z")

</div>

Make sure the camera Z’s position is like -20, and your objects Z position be lower (-19 to 0 for example)
