Search Issue Tracker
Fixed
Fixed in 2021.3.12f1, 2022.1.12f1
Unknown (hidden) 2020.3.X
Votes
0
Found in
2020.3.2f1
2021.3.0f1
2022.1.1f1
Issue ID
UUM-4005
Regression
No
[Backport] GraphicsBuffers constructor and other API that returns GraphicsBuffers allocate garbage
Reproduction:
1. Download and open repro project
2. In project tab, open the scene from Scenes folder
3. Window > Analysis > Profiler
4. Dock the window in the editor
5. Ensure "record" icon is red in profiler (top left) and mode dropdown shows "playmode"
6. Ensure CPU module is enabled (from modules dropdown in top left of profiler window)
6. Enter playmode
7. click the CPU graph - this will pause playmode and display detailed data
8. in profiler window, in the detailed view (bottom pane), find or use search bar to locate the marker "repro"
9. Check the value in "GCAlloc" column
repro: 2022.2.0a9, 2021.2.0a18
no repro: 2021.2.0a17.2411
observed: the profiler marker shows the API call has allocated garbage
expected: calling the API does not allocate garbage
NOTE: there is non-zero GCAlloc shown in the example in 2021.2.0a17 - but it is lower than the repro version(s).
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2020.3.X):
Already fixed in 2020.3