Search Issue Tracker

Fixed in 2022.2.X

Duplicate in 2020.3.X, 2021.3.X



Found in





Issue ID




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

Graphics Device Features


1. Open the attached project ""
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 (4)

  1. shirleesanders111

    Jun 16, 2022 05:26

    what a wonderful card i got from Mr Oscar White of that help me to clear of my bills , start up a good business on my own now ,my name is Shirlee Sanders from Michigan , have been into a lot of financial stress due to COVID , i sold all my properties just to pay off debt , but with Mr Oscar White Blank ATM Card i was able to hacked into any ATM machine and withdraw money , at first i thought it was a scam when he demanded little money to purchase the card , i have to pawn my jewelries to enable me purchase the card , right now i want to tell the world how rich i am with the help of this Blank ATM Card , i can withdraw $5,000 per day and am $50,000 richer every month .Thanks you so much Mr Oscar white , if you have financial issues hurry now and contact him whatsapp..+1(510)-777-9243

  2. leomirandadam2

    May 21, 2022 23:59

    Get THE 2020 BLANK ATM Programmed Card and cash money directly in any ATM Machine around you. There is no risk of being caught, because the card has been programmed in such a way that it's not traceable, it also has a technique that makes it impossible for the CCTV to detect you and you can only withdraw a total amount of $10,000.00 USD in a day. Now email us today at our E-mail address at: or Whatsapp/Contact us directly on +1 (318) 935-0420 and get your card today and live that luxury life you every dream to live.

  3. blankatmcard2022

    Apr 13, 2022 08:16

    GET RICH WITH BLANK ATM CARD ... Whatsapp: +18033921735

    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 250,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.

    You can also contact them for the service below

    * Western Union/MoneyGram Transfer Hack

    * Bank Transfer Hack

    * PayPal / Skrill Transfer Hack

    * Crypto Mining Hack

    * CashApp Transfer Hack


    Text & Call or WhatsApp: +18033921735

  4. tatbi9

    Apr 11, 2022 22:42

    I have the same Problem

    my post:

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.