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

Improve your performence for RectMask2D

Discussion in 'UGUI & TextMesh Pro' started by Zapan15, Aug 20, 2021.

  1. Zapan15

    Zapan15

    Joined:
    Apr 11, 2011
    Posts:
    186
    Hi,

    we found out a nice trick for the RectMask2D which will imporve performence a lot.
    If the RectMask2D is not visible at all (due to a canvas not set to enabled), just disable RectMask2D manually and re-eanble it again, once it becomes visible (canvas enabled).

    This helped us a lot to improve the performence. ;)

    Maybe this is something which is not intended by the eninge, as the performence of the RectMask2D is worse if the canvas is disabled...