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

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

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

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

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

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

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

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