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

Unit Test to verify no garbage was generated

Discussion in 'Editor & General Support' started by bonzaiferroni, Sep 15, 2018.

  1. bonzaiferroni

    bonzaiferroni

    Joined:
    May 26, 2016
    Posts:
    30
    I've written some of my functions so that they should not be generating garbage. Is there a simple way to verify with a unit test that no garbage is being generated?