Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.1.0f2
2019.2.0a1
2019.3.0a1
Issue ID
1155936
Regression
No
Memory leaks and Editor crashes/freezes when code is stuck in for-loops with allocations.
How to reproduce:
1. Open attached project
2. Select Grid
3. Change it's Size value to 0.1
Reproducible with: 2017.4.27f1, 2018.4.1f1, 2019.1.3f1, 2019.2.0b2, 2019.3.0a3
Expected results: Gizmos should accept decimal values
Actual results: crash/freeze because of the memory leak
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
- Undoing Animator Parameter name change breaks references to it
- Crash on BV4_OverlapBoxAll when moving in play mode
- Custom mesh water surface normal map fades out when Y Position increases
- [Android] Flickering artifacts when using "ScriptableRenderer.EnqueuePass(RenderPassEvent.BeforeRenderingPostProcessing)" multiple times
- The original Scene is built with the additive Scene's contents when loading the additive Scene on Awake
Resolution Note (2019.3.X):
Hi,
After a quick look at the code, the code gets stuck in the for-loops defined in OnDrawGizmos() when you start setting a decimal value starting with "0".
Be aware that OnDrawGizmos() is automatically called within the Editor while you are modifying properties in the inspector. I would suggest a 0 value check before entering in the loops.