Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Memory leaks keep showing up

Discussion in 'Entity Component System' started by PHOENIX33201, Jul 6, 2023.

  1. PHOENIX33201

    PHOENIX33201

    Joined:
    Apr 16, 2022
    Posts:
    6
    I have downloaded required entities packages:
    com.unity.entities
    com.unity.entities.graphics

    Created new sub-scene
    Put GameObject inside (in this case 3d cube) and started the program

    I got 4 leaks,
    when I remove mesh filter and mesh renderer and try running it again I get only 2 leaks
    I have also tried to create some simple components and systems when I try to use them I will get 2 leaks for each used component (when I use some component on more entities there will be more leaks)

    Is it some error in packages or unity is getting confused and I can just ignore it?
     
  2. Arnold_2013

    Arnold_2013

    Joined:
    Nov 24, 2013
    Posts:
    262
    yes there are multiple threads about leaks in various packages. I just ignore them. I think the leak detection has been improved, causing this to be shown.
     
  3. PHOENIX33201

    PHOENIX33201

    Joined:
    Apr 16, 2022
    Posts:
    6
    Thanks, I was trying to find some stupid mistake that I have made.