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 (44)

  1. moorezeed

    Aug 09, 2023 11:37

    Hello ladies and gentlemen, I'm Eric Matias from Atlanta Georgia, i was scammed of $1,233,000 USD early 2023, month of February, i managed to get a recovery hacker hired for my scammed funds recovery and it didn't happen, i got discourage after two attempt of no succes, i was going through an article on reddit when i came across and i felt something different about them and decided contact them and i got referred to WhatsApp +1/ (6262) .64? 5164 and I sent them the information regarding the scam incident and got my funds recovered and sent to my wallet address. please i advise you all who need a recovery help to contact them.

  2. richardharvey601

    Jul 24, 2023 22:55

    I am happy to give this testimony out, I was scammed by some fake online crypto investors I got scammed of $450,000,00 to these fake online crypto investors. A friend of mine introduce Adrian Lamo Hacker who helped me recover all my crypto recently I was very happy and grateful because I have already lost hope and thought I couldn't get my bitcoin back but Adrian Lamo Hacker proved me wrong by recovering them back. I will advise you to consult, share your problem and communicate with Adrian Lamo Hacker via email:(Adrianlamo@ consultant. com) for assistance, he is honest and straightforward.

  3. backusdarchinyan

    Jul 22, 2023 21:47

    Around this time last year, a social imposter managed to fool me into falling for a cryptocurrency scam by promising to make me a significant profit. Unbeknownst to me, he was an unlicensed cryptocurrency trader who claimed to have assisted investors in making big profits. They cheated me out of my $150,000 worth of cryptocurrency. As this was money I had worked so hard to obtain, I was shocked and uncomfortable. After reading favorable reviews and internet testimonials about a legitimate hacker firm called Wizard Web Recovery, I learned how skilled they are at crypto recovery and other types of hacking. My cash was able to be recovered thanks to Wizard Web Recovery, therefore I contacted them right away. This is the best I can offer for them as a token of appreciation. By email: wizardwebrecovery (at) programmer . net, You can get in touch with Wizard Web Recovery to help you get back your stolen funds.

  4. shunkin1

    Jul 20, 2023 12:24

    Initially I had a SCORE of 490 with late payments and lingering debts that would not let me qualify for anything. Then I came across an AD on Reddit about and I contacted them. After 2 weeks they completed working on my score and it amazingly became 820 with my CC debts cleared. I am So happy right now because i can now finance a new home. if you have a bad credit You can Contact them on Gearheadcyberpanacea AT gmail DOT com.

  5. clarkesimard64

    Jul 14, 2023 11:07

    For all of your cryptocurrency and digital asset recovery needs, I highly propose Coder Cyber Services. They adequately helped me in recovering my monies when I had a dilemma with a bitcoin trading platform that had just collapsed, and I'm a contented customer. The best recovery company for cryptocurrencies turned out to be Coder Cyber Services. After I discovered them online and contacted them, they successfully removed my money off the platform. To express my delight and satisfaction, I'm publishing this here. You can email Coder Cyber Services at the following address to get in touch with them at: Codercyberservices @ execs. com

  6. laurentcolette19692244

    Jul 13, 2023 19:56

    In today's digital era, the popularity of cryptocurrencies such as bitcoin has soared, offering individuals the potential for financial gain. However, with this surge in popularity, there has also been a rise in criminal activities targeting cryptocurrency holders. If you have ever experienced the loss of your bitcoin due to an erroneous investment plan or have fallen victim to bitcoin-related criminal activity, I urge you to consider reaching out to Wizard Web Recovery. Wizard Web Recovery is an approved hacker who specializes in the recovery of lost cryptocurrencies. They possess extensive expertise in dealing with online fraudsters and have successfully helped countless individuals retrieve their stolen bitcoin. I personally can attest to their effectiveness, as I myself fell victim to a fraudulent investment scheme, losing a substantial amount of funds from my bitcoin wallet. Despite my repeated attempts to seek help from the authorities, my situation remained unresolved until I engaged the services of Wizard Web Recovery. If you or someone you know has fallen victim to a phony online Ponzi fraud involving cryptocurrency, I strongly encourage you to consider consulting with Wizard Web Recovery. They can be reached through their website, where you will find more information about their services: https:// Additionally, you can also contact them directly via email at wizardwebrecovery(@)

    I sincerely hope that this information proves valuable to you or someone you know. Cryptocurrency fraud can have a devastating impact on individuals and their financial well-being. It is essential that victims have access to reliable and effective recovery services, such as those provided by Wizard Web Recovery.

  7. codyluis789

    Jun 24, 2023 04:13

    A woman reached out to me on social media asking me to trade cryptocurrencies with her business,persistently persuading me to keep raising my deposits for various justifications. In the end, I lost roughly $70,000, and I have never been so inconsolable in my life, having given her my utmost trust only to be duped in this manner. One of those unscrupulous businesses with nothing to offer. If I had read some forum remarks sooner, I wouldn't have had to deal with them. Delighted I located a dependable professional from Coder Cyber Services in several forums who assisted me in recovering all I had lost. I want to recommend the recovery specialists at Coder Cyber Services if you are also a victim of these people or lost money to organizations with similar goals. They'll make sure you recover whatever you lost. Coder Cyber Services can be accessible by using:
    Email: Codercyberservices(at)execs dot com
    Thank you

  8. johnstonspence916

    Jun 06, 2023 14:03

    Good morning everyone. I would rather not frighten people, but the increase in online thievery worries me. An investment fraud business that claimed a 100% return in a week conned a relative of mine. Although it is insatiable, everyone could experience it. Instead of being afraid, the first line of protection is to seek help. You can get help, that much is true. In his case, he finished his research and had the good fortune to discover a legitimate hacking group named SPYWARE CYBER. They were able to quickly seize the money from the dishonest business. I had no idea that was possible, but knowledge truly is power, as they say. In an effort to educate others, I've made the decision to impart that knowledge to others today. Additionally, you can contact SPYWARE(AT)CYBERGAL.COM to report about your stolen cryptocurrency.

    Much Regards.

  9. wilsonstacy503

    May 30, 2023 17:55

    EASYRECOUP130ARTGMAIL DOT COM services are is a one of a kind. I came across this great hacker contact in my search for help recovering my stolen coin, and it was helpful. I invested $150,000 worth of coins with Coin-Flip 3 months ago but they ripped me off the return of investment and the investment capital as well. Thanks to theM for recovering my money back. You can use their help should you find yourself in a similar situation.
    101 N BRAND BLVD.

  10. filippo7643

    May 24, 2023 23:23

    In the last month to six weeks, I had lost around $230,000 worth of Bitcoins to a fake forex trader, hoping I would earn huge from my investment. This was going on for 6 weeks until I ran out of funds, the forex trader wouldn’t allow me to withdraw my profits or my initial investment. Luckily for me, my friend told me about Cryptocurrency scans and the services of AstraWeb, who I contacted immediately to help me retrieve my stolen coins. It took AstraWeb 72 hours to get my funds back and I’m grateful for their service. They are truly an amazing company with ethical standards and professionalism. You can trust them to help you recover your funds.


    Thank you for your time.

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.