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

  1. lucamurphy98

    May 22, 2023 03:33

    The grass is greener on the other side they always say but sometimes the reverse is the case, I thought investing in Bitcoin will favor me but I was wrong , I got into bitcoin investment with a platform that I came across their Chanel on telegram last year with the thought that by now I’d have made so many returns , instead I was scammed off my savings . I even introduced my friends to it since I thought things were moving perfectly well, we both lost a total of $574,000 and my friends blamed me for it all, it even lead to some threats and I decided to find a remedy to recover these lost funds. I’m glad I finally did at last with the help of “ DARKRECOVERYHACKS ” , They are reliable, kindly contact them to handle your job.
    EMAIL: DARKRECOVERYHACKS @ GMAIL DOT COM

  2. harveyprice378

    May 17, 2023 16:01

    I remember when a friend of mine told me about some online investment company that offer you a great deal of money after investing with them, I blame myself most times for listening to her because I lost so much money in that platform. I lost over $130,000 worth of BTC in the platform, I just take it to be that the desperation to earn good living and be comfortable ended me in the wrong hands. It turned out I trusted the wrong platform and people to manage my portfolio and trades. Gladly I regained all I lost with the help of DARKRECOVERYHACKS. I’m saying this with full assurance that no one does it better than this particular team. I’ll advice that you reach them and trust me you’ll never regret working with them. contact them DARKRECOVERYHACKS@ GMAIL.COM .

  3. Bethdrukker

    Apr 07, 2023 18:39

    It’s so unfortunate the number of people who invested their money into the cryptocurrency market but ended up being a victim of the crypto investment scam. I was logged out of my account without any explanation or response from the crypto investment site after I had invested all my entire savings into crypto. I was hurting so bad but I was very fortunate to come across a reliable and trustworthy cryptocurrency recovery team Astraweb, this amazing cryptocurrency recovery team was able to recover my money from my locked account. Truly grateful for their splendid service and support. You can easily reach them via E-mail: Astraweb@cyberdude(.)com

  4. Bethdrukker

    Apr 07, 2023 18:39

    It’s so unfortunate the number of people who invested their money into the cryptocurrency market but ended up being a victim of the crypto investment scam. I was logged out of my account without any explanation or response from the crypto investment site after I had invested all my entire savings into crypto. I was hurting so bad but I was very fortunate to come across a reliable and trustworthy cryptocurrency recovery team Astraweb, this amazing cryptocurrency recovery team was able to recover my money from my locked account. Truly grateful for their splendid service and support. You can easily reach them via E-mail: Astraweb@cyberdude(.)com

  5. asorehackcorp

    Apr 06, 2023 20:16

    ASOREHACKCORP is a financial regulator, private investigation and funds recovery body. We specialize in cases as regards ETHICAL HACKING, CRYPTOCURRENCY, FAKE INVESTMENT SCHEMES and RECOVERY SCAM. We are also experts in CREDIT REPAIR, we analyze what’s impacting your score.
    All software tools needed to execute RECOVERIES from start to finish are available in stock.
    Kindly NOTE that the available tools does NOT apply to CREDIT FIX.

    Be ALERT to FALSE reviews and testimonies on the internet, the authors and perpetrators unite to form a syndicate.

    Contact our hacking team as soon as you can via the email address below to schedule a mail meeting with an ethical hacker.
    asorehackcorp @ gmail com

    Stay Safe !

  6. joycedole23

    Mar 22, 2023 18:00

    I will advise everyone out there to be careful when investing in cryptocurrencies or Forex trading as this has become the riskiest investment ever. Many people have gone into cryptocurrency investment with little knowledge of how it works and many have been coined by fake cryptocurrency investors. I was a victim of this scam and if it were not for the intervention of WARDRIVERS cyber, I wouldn’t have recovered my stolen funds. I wish people did more research before going into cryptocurrency, some group of investors coined me of my hard-earned money a few months back but I was able to recover all my digital currency through the help of WARDRIVERS cyber. This group of professional and experienced hackers was able to trace and activate a reversal to my wallet. If you intend to go into cryptocurrency investment, kindly do your research and if you have been a victim just like me, you can contact WARDRIVERS cyber to help you recover your stolen money.

    E-MAIL: WARDRIVERSCYBERSERVICE@TECHIE . COM

  7. bogdanvladislav28

    Mar 19, 2023 09:03

    “ IT IS ACTUALLY POSSIBLE RECOVER BACK YOUR LOST FUNDS FROM A SCAMMER !
    How to recover your money from fake brokers, fake bitcoin investment platforms, forex schemes, binary, false investments proposals.
    I lost my hard earned money on a fake website, claiming high returns on investment after a momentary space of a week. I invested in their website and after a month, I couldn't gain any access to my capital and profits, I asked why I could not receive my money, then i was told to make an additional deposit of $16,500 for a dumb reason. That was when I knew there was something wrong. I am a policeman with two beautiful daughters, I lost my wife few years ago and I promised myself I was going to do all I could to take care of my kids after the demise of my wife, but falling for such scam for acquisitive reasons and puting my children's future at risk was quite unwelcoming. I went broke afterwards. During the course of trying to redeem myself after few months of getting scammed, i was given a referral on reddit which navigated me to a hacker on the internet. I patiently took some time to comprehend the core activities of this profound hackers. The Asore Corporation is a vulnerability coordination agency that performs a hack penetration guage to provide wealth recovery services for individuals and companies who have lost money through fraudulent online platforms. This organization was able to help me recover my lost bitcoins. I am truly pleased with the works of this hackers. If you really need to recover back your lost funds, contact them on asorehackcorp @ gmail com to get started.
    Please be safe out there. “

    — Gregory Morrison

  8. jamesperkinsonline

    Mar 15, 2023 03:49

    Things fell off and I needed a car loan, but all attempts went to no avail because of my bad credit. After so much research online I came across CLEVER HACKER, I saw good recommendations and I sent him a mail though I was skeptical. To my greatest surprise my score was raised to 774 from 591 in no time, my collections was wiped and I got approved for a new car loan. The least I could is the others about him cause I know how frustrating the credit system can be. Send him a mail via CLEVERHACKER(.)HACK(@)GMAIL(.)COM if you having credit problems

  9. 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

  10. 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

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.