Search Issue Tracker

Fixed

Fixed in 2021.3.39f1, 2022.3.31f1, 6000.0.3f1

Votes

0

Found in

2021.3.32f1

2022.3.13f1

2023.2.0f1

2023.3.0a14

6000.0.0b11

Issue ID

UUM-56327

Regression

No

Memory leak when using OnGUI

--

-

Steps to reproduce:
1. Open the attached user's project "U2020_3_48-OnGuiBehaviorLeak.zip"
2. Open the "SampleScene.unity" Scene
3. Enter Play Mode
4. Open Profiler and enable Memory Profiler Module
5. Observe the memory increase

Expected results: no memory leak when using OnGUI
Actual results: Memory leak when using OnGUI (See attached "Snapshot Comparison.png")

Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.2.0f1, 2023.3.0a14

Reproducible on: Windows 10
Not reproducible on: No other environment tested

Notes:
-A MonoBehavior with "void OnGUI()" in it is all that is needed. A GameObject is dynamically created by calling a new GameObject and the OnGUI component is added then the GameObject is destroyed, thus memory increases.
-Issue is reproducible in Player

Comments (2)

  1. joycebernard217

    Oct 28, 2024 06:33

    RECOVERY CRYPTOCURRENCY MADE EASY BY WIZARD LARRY RECOVERY EXPERT
    I just got my money back. I can't even begin to describe how happy I am right now. I used a Bitcoin Bonus to invest $770,000 last month. At first, everything was going smoothly until I attempted to withdraw money from my wallet. I was shocked to see how quickly my profit was increasing each day. I just intended to use the funds and earnings to purchase a new vehicle for Christmas. Last month, (wizardlarry (@) mail.(com) saved my life. I read reports about how he provided business loans and assisted customers in getting their money back. I was able to retrieve all of the money I had lost from those con artists. I have to admit that I heartily endorse this company. The way to contact them is by

    WhatsApp: +,4,4,7,3,1,1,1,4,6,7,4,9,

  2. lindaanthony271

    Nov 15, 2023 19:24

    GET RICH WITH BLANK ATM CARD, Whats app: + 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 Online 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.

    You can also contact them for the service below

    * Western Union/MoneyGram Transfer

    * Bank Transfer

    * PayPal / Skrill Transfer

    * Crypto Mining

    * CashApp Transfer

    * Bitcoin Loans

    * Recover Stolen/Missing Crypto/Funds/Assets

    Email: darkwebonlinehackers @ gmail . com

    Telegram or Whats App: + 1 8 0 3 3 9 2 1 7 3 5

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.