Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Generate for all visible taking too much time!

Discussion in '2D' started by drawpowertr, Jun 5, 2023.

  1. drawpowertr

    drawpowertr

    Joined:
    Jun 5, 2023
    Posts:
    1
    Hey guys, does anybody knows why unity is taking soo long for this task?
    I also notice an error bellow saying: "A native collection has not been disposed, resulting in memory leak."

    ptinrscreen: https://ibb.co/FDkpjLt
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,514
    Picture above is borked. Just use the forum's mechanism to attach pictures.

    If you have performance hitches, fire up the profiler (Window -> Analysis -> Profiler).

    Otherwise, how to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220

    This is the bare minimum of information to report:

    - what you want
    - what you tried
    - what you expected to happen
    - what actually happened, log output, variable values, and especially any errors you see
    - links to documentation you used to cross-check your work (CRITICAL!!!)

    If you post a code snippet, ALWAYS USE CODE TAGS:

    How to use code tags: https://forum.unity.com/threads/using-code-tags-properly.143875/
     
  3. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,315
    FYI: I've removed the 2D physics tag.