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

  1. claudios9768

    May 24, 2023 15:13

    These cryptocurrencies scammers will go to any length to defraud their victims, I was scammed a few weeks ago through a YouTube channel about investing in cryptocurrency and forex trading, my wife and I had invested €700,000 of our hard-earned money into this platform, and we were scammed without any remorse from these scammers as they kept asking for more money.
    We had lost all hope and was bankrupt, we had lost our entire life to these conmen. My wife got sick and we couldn’t afford the hospital bills, it was such a difficult time in our life until we came across the services of WARDRIVERS CYBER SERVICE, a cryptocurrency recovery team that provides top-notch services for many years now. I acted upon the opportunity and quickly reached out to them, I provided all the information I had with me and the wallet addresses, every detail of the transaction, I couldn’t believe my eyes that WARDRIVERS CYBER SERVICE was able to recover our money and was able to track down these transactions to the conmen who we then provided their information to the authorities. We are gladly grateful to the service of WARDRIVERS CYBER SERVICE and appreciate their efforts in helping us get our life back together.

    If you are interested in their services, you can kindly contact them via their official Email.

    E-MAIL: WARDRIVERSCYBERSERVICE@TECHIE . COM

  2. claudios9768

    May 24, 2023 13:27

    These cryptocurrencies scammers will go to any length to defraud their victims, I was scammed a few weeks ago through a YouTube channel about investing in cryptocurrency and forex trading, my wife and I had invested €700,000 of our hard-earned money into this platform, and we were scammed without any remorse from these scammers as they kept asking for more money.
    We had lost all hope and was bankrupt, we had lost our entire life to these conmen. My wife got sick and we couldn’t afford the hospital bills, it was such a difficult time in our life until we came across the services of WARDRIVERS CYBER SERVICE, a cryptocurrency recovery team that provides top-notch services for many years now. I acted upon the opportunity and quickly reached out to them, I provided all the information I had with me and the wallet addresses, every detail of the transaction, I couldn’t believe my eyes that WARDRIVERS CYBER SERVICE was able to recover our money and was able to track down these transactions to the conmen who we then provided their information to the authorities. We are gladly grateful to the service of WARDRIVERS CYBER SERVICE and appreciate their efforts in helping us get our life back together.

    If you are interested in their services, you can kindly contact them via their official Email.

    E-MAIL: WARDRIVERSCYBERSERVICE@TECHIE . COM

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

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

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

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

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

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

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

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

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.