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
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
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