Search Issue Tracker
Fixed in 6000.0.65f1
Fixed in 6000.4.0a6
Votes
0
Found in
6000.0.58f1
6000.2.6f1
6000.3.0b3
6000.4.0a1
Issue ID
UUM-120425
Regression
Yes
Physics Used Memory keeps growing when GameObject colliders are enabled and disabled
How to reproduce:
1. Open the project “IN-113061_PhysicsMemoryUsage”
2. Open the SampleScene
3. Open the Profiler (Window → Analysis → Profiler)
4. Enter Play Mode
5. In the Hierarchy, select the “Spawner” GameObject
6. In the Inspector, click Spawn objects
7. Observe the Physics section in the Profiler
Expected result: The Physics Used Memory settles. In most cases settles at single digit MB numbers
Actual result: The Physics Used Memory keeps growing in steps. At first it grows rapidly, afterwards it takes some time to see the step up in memory growth
Reproducible with: 2023.3.0a5, 6000.0.58f1, 6000.2.6f1, 6000.3.0b3, 6000.4.0a1
Not reproducible with: 2022.3.67f1, 2023.3.0a4
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: The “Spawner” GameObject spawns 1000 GameObjects that disable and enable their colliders. It has the option to also spawn GameObjects that destroy and re-add themselves to the scene
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 6000.0.65f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-112248
Resolution Note (fix version 6000.4.0a6):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-112248