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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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