Search Issue Tracker

Fixed in 2022.2.X

Duplicate in 2020.3.X, 2021.3.X

Votes

0

Found in

2021.2.0a18

2021.3

2022.1

2022.2

Issue ID

1418412

Regression

Yes

Garbage is allocated when GraphicsBuffers constructor and other APIs that returns GraphicsBuffers are called

Graphics Device Features

-

Reproduction:
1. Open the attached project "MinimalRepro-1418412.zip"
2. Open Assets/Scenes/TestMeshGetVertexBufferDoesNotAllocateMemory.unity
3. Open Window > Analysis > Profiler
4. In the Profiler window ensure that the "record" icon is red and the mode dropdown shows "Play Mode"
5. Enter Play Mode
6. Go to the Profiler window and click the CPU Usage graph
7. In the detailed view navigate to PlayerLoop > Update.ScriptRunBehaviorUpdate > BehaviorUpdate > ProfilerMarkersForCreatingGraphicsBuffer.Update() [Invoke] > Repro > Allocation
8. Observe the GC.Alloc

Expected result: < 50 B of garbage is allocated
Actual result: > 330 B of garbage is allocated

Reproducible with: 2021.2.0a18, 2021.3.4f1, 2022.1.6f1, 2022.2.0a16
Not reproducible with: 2020.3.36f1, 2021.2.0a17
Couldn't test with: 2019.4.39f1 (Couldn't resolve console errors)

Reproducible on: Windows 10

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a17

Comments (44)

  1. kylieharvey001

    Mar 12, 2023 21:42

    GET RICH WITH BLANK ATM CARD, Whatsapp: + 1 8 0 3 3 9 2 1 7 3 5

    I want to testify about Dark Web blank atm cards which can withdraw money from any atm machines around the world. I was very poor before and have no job. I saw so many testimony about how Dark Web Cyber hackers send them the atm blank card and use it to collect money in any atm machine and become rich I email them also and they sent me the blank atm card. I have use it to get 500,000 dollars. withdraw the maximum of 5,000 USD daily. Dark Web is giving out the card just to help the poor. Hack and take money directly from any atm machine vault with the use of atm programmed card which runs in automatic mode.

    Email: darkwebonlinehackers @ gmail . com

    Text & Call or Whats App: + 1 8 0 3 3 9 2 1 7 3 5

  2. tarahenderson819

    Feb 25, 2023 07:41

    I wonder if there is any form of humanity in most binary option unregulated broker. They made me deposit more and more just to get a withdrawal, but it was all a lie. I lost almost my savings to them until I sought help elsewhere and I was able to recover my funds through the help of Gavin ray and I'm glad they did, his w h a t s a a p ‪+1 3 52 3 22 2 096 or e mail gavinray78 gmail com

  3. richardweaver120

    Dec 08, 2022 12:29

    Desperately in need of a legitimate hacker to help you recover your lost or stolen crypto assets, spy and monitor a suspected cheating partner, website hacks, phone cloning, credit score upgrade, and many more. contact HACK MAVENS, they are the best for the job. Below is their contact information;

    Email: H A C K M A V E N S 5 (AT) GMAIL DOT COM
    Call/Text/WhatsApp: + 1 (209) 417 – 1957

  4. tatbi9

    Apr 11, 2022 22:42

    I have the same Problem
    thanks

    my post:
    HTTPS://WWW.tatbi9.com/netflix/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.