Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.4

2019.4

2020.3

2020.3.7f1

2021.1

2021.2

Issue ID

1336369

Regression

No

Editor crashes after constantly creating and deleting GameObjects with some Component for 40+ hours

Text

-

How to reproduce:
1. Open the attached project ('TMProTestProject.zip')
2. Build and run the project (or simply enter Play Mode)
3. Press the 'p' key to start the Script
4. Wait for 42-44 hours

Reproducible with: 2018.4.35f1, 2019.4.28f1, 2020.3.8f1, 2021.1.8f1, 2021.2.0a17

Notes:
- Reproducible when using TMP_Text, Text, Layout Element, MeshRenderer Components
- Not reproducible when simply instantiating and destroying GameObjects without adding some Components
- Reproducible both in Editor and Player

  1. Resolution Note (2022.1.X):

    The issue here is that we use int32. With assigning at least 100 objects/ frame * 30 frames a second incrementing the m_ObjectID by 1 for each we will eventually run out. We don't reuse instanceIDs are so that unloaded objects can hook back to an object if it appears again

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.