Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Bug TMP_EditorResourceManager allocates every frame in Editor

Discussion in 'UGUI & TextMesh Pro' started by Kamyker, Apr 18, 2023.

  1. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    1,092
    TMP_EditorResourceManager uses old UnityEngine.Rendering.RenderPipelineManager.endFrameRendering that converts List to array every frame (only if it's used).

    It should be replaced with endContextRendering that works the same way but doesn't allocate.