# Cannot find child entity of parent "Root" - Editor error, can't delete entities

**URL:** <https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048>\
**Category:** Help & Support\
**Tags:** editor\
**Created:** [November 24, 2021, 12:44pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048 "2021-11-24T12:44:48Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Natalia\_Quinde](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/natalia_quinde/32/22369_2.png) [@Natalia\_Quinde](https://forum.playcanvas.com/u/Natalia_Quinde)\
**Post date:** [July 25, 2022, 10:11am UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/22 "2022-07-25T10:11:22Z")

</div>

the project still fails with the below message.  
[https://playcanvas.com/editor/scene/1481874](https://playcanvas.com/editor/scene/1481874)  
 ![Captura de pantalla 2022-07-25 025119](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/d/2/d2416a5f1c092756ffbd2373a7cfcc22d272819b.jpeg)

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [July 25, 2022, 10:12am UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/23 "2022-07-25T10:12:01Z")

</div>

Have you taken the steps above in the first post to attempt to fix the issue?

---

<div class="post-metadata">

**Author:** ![Natalia\_Quinde](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/natalia_quinde/32/22369_2.png) [@Natalia\_Quinde](https://forum.playcanvas.com/u/Natalia_Quinde)\
**Post date:** [July 25, 2022, 3:46pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/24 "2022-07-25T15:46:03Z")

</div>

No, could you help me

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [July 25, 2022, 3:46pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/25 "2022-07-25T15:46:33Z")

</div>

Are you okay with me adding myself to the project to fix?

If so, can you give me the project ID please?

---

<div class="post-metadata">

**Author:** ![Natalia\_Quinde](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/natalia_quinde/32/22369_2.png) [@Natalia\_Quinde](https://forum.playcanvas.com/u/Natalia_Quinde)\
**Post date:** [July 25, 2022, 3:47pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/26 "2022-07-25T15:47:16Z")

</div>

Yes please

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [July 25, 2022, 3:47pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/27 "2022-07-25T15:47:51Z")

</div>

Can you give me the project ID please @Natalia_Quinde ?

---

<div class="post-metadata">

**Author:** ![Natalia\_Quinde](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/natalia_quinde/32/22369_2.png) [@Natalia\_Quinde](https://forum.playcanvas.com/u/Natalia_Quinde)\
**Post date:** [July 25, 2022, 3:48pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/28 "2022-07-25T15:48:58Z")

</div>

[https://playcanvas.com/editor/scene/1481874](https://playcanvas.com/editor/scene/1481874)

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [July 25, 2022, 3:49pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/29 "2022-07-25T15:49:20Z")

</div>

That has the scene id, I need the project id to add myself to the project. Please post the URL to the dashboard

---

<div class="post-metadata">

**Author:** ![Natalia\_Quinde](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/natalia_quinde/32/22369_2.png) [@Natalia\_Quinde](https://forum.playcanvas.com/u/Natalia_Quinde)\
**Post date:** [July 25, 2022, 3:50pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/30 "2022-07-25T15:50:50Z")

</div>

[https://playcanvas.com/project/961730/overview/casa-embrujada](https://playcanvas.com/project/961730/overview/casa-embrujada)

---

<div class="post-metadata">

**Author:** ![Natalia\_Quinde](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/natalia_quinde/32/22369_2.png) [@Natalia\_Quinde](https://forum.playcanvas.com/u/Natalia_Quinde)\
**Post date:** [July 25, 2022, 3:51pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/31 "2022-07-25T15:51:54Z")

</div>

Is it this one?

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [July 25, 2022, 3:54pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/32 "2022-07-25T15:54:54Z")

</div>

This has been fixed for you @Natalia_Quinde

 ![image](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/c/b/cbf497e1e5dec26747377d35c27e4cf3fb64857d.png)

I also noticed that you were out of storage so I added an extra 1GB

---

<div class="post-metadata">

**Author:** ![Natalia\_Quinde](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/natalia_quinde/32/22369_2.png) [@Natalia\_Quinde](https://forum.playcanvas.com/u/Natalia_Quinde)\
**Post date:** [July 25, 2022, 4:00pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/33 "2022-07-25T16:00:04Z")

</div>

Ok thank you very much

---

<div class="post-metadata">

**Author:** ![Nicholas\_Taylor1](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/nicholas_taylor1/32/23263_2.png) [@Nicholas\_Taylor1](https://forum.playcanvas.com/u/Nicholas_Taylor1)\
**Post date:** [September 26, 2022, 2:48pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/35 "2022-09-26T14:48:46Z")

</div>

I know this sounds dumb but I need someone to fix it for me, my school computer has things disable like the browser dev console, so if someone can fix it for me, the project is [PlayCanvas | HTML5 Game Engine](https://playcanvas.com/editor/scene/1543065)

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [September 26, 2022, 3:18pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/36 "2022-09-26T15:18:31Z")

</div>

@Nicholas_Taylor1 This has now been fixed for you using this method that doesn’t need the dev console

 ![image](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/c/9/c9d93c549ea4630b71f260ad820c61d67fcc18d9.png)

---

<div class="post-metadata">

**Author:** ![Nicholas\_Taylor1](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/nicholas_taylor1/32/23263_2.png) [@Nicholas\_Taylor1](https://forum.playcanvas.com/u/Nicholas_Taylor1)\
**Post date:** [September 26, 2022, 3:42pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/37 "2022-09-26T15:42:09Z")

</div>

Thank you, you’ve saved my game.

Cheers and very many thank yous  
------Nicholas

---

<div class="post-metadata">

**Author:** ![kpaligsa](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/kpaligsa/32/23591_2.png) [@kpaligsa](https://forum.playcanvas.com/u/kpaligsa)\
**Post date:** [October 19, 2022, 2:47pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/38 "2022-10-19T14:47:32Z")

</div>

> [@yaustar](#):
>
> There is a infrequent bug that we have been unable to reproduce on our team where users are unable to delete entities in the scene and will have some error when opening the Editor like this:
> 
> ```javascript
> Cannot find child entity 2fba0d54-fba5-4aae-bfc4-7c56602ec495 of parent "Root" (3272fa01-fd89-11eb-9b62-026349a27a7c)
> 
> ```
> 
> This is because there is an extra entity under the parent entity that doesn’t exist.
> 
> To fix this, you can do the following:
> 
> - Make a checkpoint
> - Branch off the checkpoint
> - Switch to the new branch
> - Merge the branch immediately back to the original
> 
> OR you can do the following:
> 
> - Make a branch or a checkpoint
> - In the browser dev console: `const entity = editor.entities.get('XXXX')` where XXXX is the GUID of the parent. In the example above, this would be `3272fa01-fd89-11eb-9b62-026349a27a7c`
> - Copy and paste the following code in the browser dev console where XXX would be the child entity GUID
> 
> ```javascript
> (function(removeGuid) {
> const children = entity.get('children');
> const newChildren = [];
> for(let i = 0; i < children.length; i++) {
> if (children[i] !== removeGuid) {
> console.log(children[i]);
> newChildren.push(children[i]);
> }
> }
> entity.set('children', newChildren);
> })('XXXX') // This would be '2fba0d54-fba5-4aae-bfc4-7c56602ec495' in this example
> 
> ```
> 
> - Refresh the tab
> 
> If you do hit this issue, please do let us know in this thread and any information you can remember of the steps you did to get to this point. Any information will help us find a reproducible case of this issue happening.

- Make a checkpoint
- Branch off the checkpoint
- Switch to the new branch
- Merge the branch immediately back to the original

Hello there! I tried following this but it didn’t seem to work. It’s only my second time using Playcanvas and I’m really lost on what to do… Please help! [[PlayCanvas 3D HTML5 Game Engine](https://playcanvas.com/project/997311/overview/torongs-escape)]

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [October 19, 2022, 4:10pm UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/39 "2022-10-19T16:10:30Z")

</div>

@kpaligsa I can’t see the issue in your project. Do you still need help?

---

<div class="post-metadata">

**Author:** ![Tirk182](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/tirk182/32/21525_2.png) [@Tirk182](https://forum.playcanvas.com/u/Tirk182)\
**Post date:** [October 31, 2022, 12:19am UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/40 "2022-10-31T00:19:35Z")

</div>

@yaustar So it looks like this issue has hit one of my projects. I add a piece of fence and then it occurred when I moved the fence near the pumpkinTall. I have not been very successful and hoping you can recover this for me.

![image](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/2/3/23bb25a959949e1490cd04f21a5eebb6d2992507.png)

This is a backup I made when it happened.  
[https://playcanvas.com/project/1002406/overview/halloween-jauntback](https://playcanvas.com/project/1002406/overview/halloween-jauntback)

This is the link I am trying to recover.  
[https://playcanvas.com/project/999242/overview/halloween-jaunt--remix](https://playcanvas.com/project/999242/overview/halloween-jaunt--remix)

Having a hard time restoring my project following the instruction above. I hope you will be able to help.

Edit: I have been able to recover using the merge back method above.  
[PlayCanvas 3D HTML5 Game Engine](https://playcanvas.com/project/1002406/overview/halloween-jauntback)

The other is the original and I see a lot of differences in the merge. Please have a look but I now have forward motion again.

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [October 31, 2022, 9:47am UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/41 "2022-10-31T09:47:34Z")

</div>

> [@Tirk182](#):
>
> The other is the original and I see a lot of differences in the merge. Please have a look but I now have forward motion again.

This is the only change I see in the merge and that’s expected as it’s removed the orphaned entity

 ![image](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/8/2/82159a91e191beaa372c9eacc6fe5f98c1714580.png)

---

<div class="post-metadata">

**Author:** ![Tirk182](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/tirk182/32/21525_2.png) [@Tirk182](https://forum.playcanvas.com/u/Tirk182)\
**Post date:** [October 31, 2022, 9:55am UTC](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048/42 "2022-10-31T09:55:27Z")

</div>

@yaustar I will have another look.  
Update: I did have a further look at this and got everything restored. Thanks for looking at it for me. I assume that the links I sent didn’t help nail down a future solution for this?

[Previous page](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048.md?page=1)

[Next page](https://forum.playcanvas.com/t/cannot-find-child-entity-of-parent-root-editor-error-cant-delete-entities/23048.md?page=3)
