Search Issue Tracker
Fixed
Fixed in 2022.1.23f1
Votes
0
Found in
2022.1.1f1
Issue ID
UUM-920
Regression
Yes
[Backport] Memory leak on image asset import during tests
Steps to reproduce:
1. Open attached EditorWindowTests.zip project (make sure Library folder is deleted before opening)
2. Open toolbar item Tests -> Test Runner (Generate References)
3. Press "Run All"
4. Observe console window
Expected result: All assets import without issues
Actual result: Warnings/errors thrown
Calling Deallocate on pointer, that can not be deallocated by allocator ALLOC_TEMP_PreviewLoader
Calling Deallocate on pointer, that can not be deallocated by allocator ALLOC_TEMP_MAI
Allocation of 4608 bytes at 00000262407A27D0
Assertion failed: TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 4608
Internal: Stack allocator ALLOC_TEMP_MAIN has unfreed allocations, size 4608
To Debug, run app with -diag-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations.
Reproduced with: 2022.1.0b9, 2022.1.0b8
Didn't reproduce with: 2022.2.0a5, 2022.1.0b7, 2021.2.12f1, 2020.3.29f1, 2019.4.36f1
Note: Only seems to reproduce the first time the project is imported, restarting the editor fixes the issue and subsequent imports do not throw any alloc errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Resources.UnloadUnusedAssets() freezes the Editor when releasing Mesh objects
- 16-bit Sprite Textures have a banding effect and loss of data when packing into Variant Sprite Atlas
- HDRP Cluster artifacts when having more than 100 lights
- ParticleCollisionEvent.intersection generates extremely high values when particles collide while in Play Mode
- Custom attributes are not properly converted to subgraphs
Add comment