Search Issue Tracker
Fixed in 2021.3.33f1
Fixed in 2021.3.X, 2022.3.15f1, 2023.2.2f1, 6000.0.X
Votes
4
Found in
2021.3.25f1
2022.2.19f1
2023.1.0b16
6000.0.37f1
Issue ID
UUM-36066
Regression
No
AsyncGPUReadback.RequestIntoNativeArray causes memory leaks in WebGL Player
How to reproduce:
1. Open the “AsyncGPUReadback_Warning” project
2. Switch build to “WebGL” (File > Build Settings > “WebGL” > Switch Platform)
3. Build And Run (File > Build And Run)
4. In Player open the browser console
5. Click on the Button labeled “Render” 8-10 times
6. Observe the browser console
Expected result: no “JobTempAlloc“ warnings are logged to the browser console
Actual result: “JobTempAlloc“ warning is logged to the browser console
Reproduced with: 2021.3.25f1, 2022.2.19f1, 2023.1.0b16
Could not test with: 2020.3.48f1 (AsyncGPUReadback.RequestIntoNativeArray does not execute → “clientWaitSync” warnings are logged / “asynchronous readback” is not supported), 2023.2.0a14 (Player does not fully load)
Browser reproduced on: Firefox, Chrome, Edge
Reproduced on: Windows 11
Warning logged to the browser console:
{noformat}Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak{noformat}
Notes:
1. Not reproducible in Editor
2. Not reproducible in Windows Platform Player
3. The browser console can be opened by different shortcuts. These shortcuts are also different for each browser. The default shortcuts can be located here https://docs.unity3d.com/Manual/webgl-debugging.html
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
devluz
May 25, 2023 05:22
It appears I run into the same issue with AsyncGPUReadbackRequest.Request