Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Unity Fill Tessellation in C# Job in Sprite Shape 5.1.0

Discussion in '2D' started by rustum, Nov 30, 2020.

  1. rustum


    Unity Technologies

    Feb 14, 2015
    In Sprite Shape version 5.1.0, there is now an additional option to have the tessellation of the fill geometry done in a C# Job providing improved performance.

    The geometry of a Sprite Shape is made up of an outer edge and a fill. The geometry of the edge and fill are generated in different ways by default. The edge geometry has always been generated in a C# Job which provides performance benefits and avoids potential performance loss from garbage collection. Now the generation of the fill shape can take advantage of the same benefits.

    This method also gains additional performance if the Burst package is installed in the same Project.

    Read more about this option in the documentation here:
    GliderGuy likes this.