Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X
Votes
1
Found in
2021.3.42f1
2022.3.42f1
6000.0.15f1
6000.1.0a7
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
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
- [sw-unity-6-1] Scene view renders any light differently when more than one camera exists and neither have the "MainCamera" tag
Add comment