Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Mesh leak

Discussion in 'UGUI & TextMesh Pro' started by Hecocos, Oct 30, 2023.

  1. Hecocos

    Hecocos

    Joined:
    Nov 29, 2021
    Posts:
    39
    In my project's starting menu, i found mesh leaks with mesh objects increase quickly and unstoppable.
    upload_2023-10-30_19-52-2.png
     
  2. Hecocos

    Hecocos

    Joined:
    Nov 29, 2021
    Posts:
    39
    damn it! Profiler did it! I stop profiler can make it right....
     
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,569
    It looks like an internal UIToolkit issue. I recommend you submit a bug-report. They should name that mesh properly too.
     
    James_Arndt likes this.
  4. Hecocos

    Hecocos

    Joined:
    Nov 29, 2021
    Posts:
    39
    yes, i can be a bug. it caused by profiler window.
     
  5. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,406
    Yes, it's triggered, but not actually caused, by the Profiler Window ;). Also this bug is already fixed on Unity 2022.3.10f1+
     
  6. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,406
    Fair but we actually just removed it.
     
  7. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    798
  8. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,406
    That's a different scenario all together. I answered in that thread but there's a chance that the issue is in your code.