Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
3
Found in
2019.3
2019.3.8f1
2020.1
2020.2
Issue ID
1237323
Regression
No
Memory leak when Multithreading is enabled for Physics 2D
Reproduction steps:
1. Open the "Assets/InitScene" Scene in the attached "case_1237323_package_mods.zip" project
2. Ensure that Use Multithreading is enabled (Edit -> Project Settings -> Physics 2D -> Job Options (Experimental) -> Use Multithreading)
3. Enter Play Mode
4. Observe the Editor's memory usage in Task Manager/System Monitor/Profiler
Actual result: Gradual increase in memory usage when compared to entering Play Mode without using multithreading
Reproduces on: 2019.3.11f1, 2020.1.0b6, 2020.2.0a9
Could not test with: 2017.4.40f1, 2018.4.22f1 - (Unable to strip the project enough to be able to downgrade and to run without compilation errors)
Developer's Note:
- Reduce the number of "Visitors" being spawned in the park from 1000 as that takes a long time to spawn. I reduced it to 100-200 as this clearly demonstrates the leak. Do this by selecting "Park1 > VisitorSpawner" GameObject. In the "Visitor Spawner" script, change the "Max Population" field.
Comments (3)
-
snmatan
Jun 14, 2020 01:07
Still occurs on the 2019.4
-
luizb_unity
Jun 04, 2020 13:11
I'm checking this on Unity 2019.3.12f1 and it still happens.
Am I wrong to assume this is fixed for 2019.3?
Thanks -
gr1ns1de
May 01, 2020 22:33
Can't train ml agents fully bcs of this issue - always out of memory occur. Fix it please.
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
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
- [Android] [Adreno] [WebGL] A light cookie is not rendered with shader compile error when WebGL build is launched on a device with Adreno GPU
- Rigibody sliding over a flat surface that is made of several GameObjects detects false collisions when Collision Detection is set to "Continuous" or "Continuous Dynamic"
- UI Toolkit Label height is incorrectly calculated when using max-width with percentage value
- Visual Effect Material causes Scene view to update continuously when both Scene and Game views are open, despite "Always Refresh" being disabled
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a12