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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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