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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Player hangs when activating another maximized application
- [XR] Input is not registered and headset view is headlocked after entering Play Mode with Meta XR SDK on 6000.0.0b16 and higher
- Crash on RtlLookupFunctionEntry when using 10 or more GameObjects with Articulation Body component in the scene
- Polygons are created on the opposite side of the Sprite when the Sprite boundaries are above the edge of the Texture
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
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