Search Issue Tracker
Fixed
Fixed in 2022.3.64f1, 6000.0.52f1, 6000.1.8f1, 6000.2.0b6, 6000.3.0a1, 7000.0.0a35
Votes
2
Found in
2022.3.62f1
6000.0.49f1
6000.1.2f1
6000.2.0a10
6000.3.0a1
7000.0.0a27
Issue ID
UUM-108093
Regression
No
Memory Leak When Using Rigidbody2D Physics in WebGL
When running Rigidbody physics on WebGL, “Unknown” in the memory profiler keeps increasing.
Even after destroying the Rigidbody, the memory is not released.
1. Launch the program
2. Instantiate several objects
3. Wait for a short period
4. Take a snapshot with the profiler
5. Check "Unknown" under "All of Memory"
Disabling the simulated property of the Rigidbody2D prevents the memory increase.
Therefore, I concluded that the issue is related to 2D physics calculations.
It might also be occurring in the editor, but since I am checking it using WebGL diagnostics, I am treating it as a WebGL issue.
Comments (1)
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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
nccsoftNilez
Jun 02, 2025 16:24
This also happens in the editor indeed, also in android aswell.