Search Issue Tracker
Fixed
Fixed in 2023.2.17f1, 6000.0.0b13
Votes
4
Found in
2023.2.0a21
2023.3.0b5
6000.0.0b11
Issue ID
UUM-61023
Regression
Yes
Memory leak when creating ARC prefab
There is a leak when creating a prefab of an Audio Random Container.
Regression details
Reproducible on 2023.2.0a21 and upward; Not on 2023.2.0a20.
Repro
- Open an empty project.
- Create an audio random container (Assets > Create > Audio > Audio Random Container).
- Drag the audio random container to the hierarchy to create a game object with it.
- Drag the game object that you created to the project view to create a prefab
Expected: A prefab is created and no warnings are thrown in the console.
Actual: A prefab is created but memory leak warnings are thrown.
Note
Behavior seemed different on different versions:
2023.2.0a21: The warning doesn't show immediately when creating the prefab, unlike in other versions, so you have to play a bit around until it appears.
2023.2.8f1: All subsequent prefab creations throw warnings, i.e. non-ARC game objects. They don't throw warnings before the ARC prefab is created. However, I also discovered that this behavior is a bit random – 2023.2.0b5 doesn't do this... yet 2023.2.0b1 does(?).
2023.3.0b5: Only ARC prefabs throw warnings.
Reproduced on
MacOS (M1) 13.6.3
No other environment tested.
Stack trace (1/2)
{code:java}
[Worker0] Internal: There are remaining Allocations on the JobTempAlloc. This is a leak, and will impact performance {code}
Stack trace (2/2)
{code:java}
[Worker0] To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations. {code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment