Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X
Votes
1
Found in
2021.3.42f1
2022.3.42f1
6000.0.15f1
Issue ID
UUM-82199
Regression
No
A Memory leak occurs when the "JsonSerialization.FromJson" function is executed
How to reproduce:
1. Open the “JsonMemoryBug.zip“ project
2. Open the “Assets/TryFromJson/SerializationBugExample1.unity” Scene
3. Enter Play Mode
4. Observe the Console
Expected result: Nothing is logged
Actual result: A Memory leak warning is logged
Reproducible in: 2021.3.42f1, 2022.3.42f1, 6000.0.15f1
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- Full warning reads: “Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak”
- The Serialization package (com.unity.serialization) is required for the reproduction
- Reproducible both with "JsonSerialization.FromJson" and "JsonSerialization.TryFromJson" functions
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Add comment