Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Incorrect warnings prompting to remove required CanvasRenderer component

Discussion in 'UGUI & TextMesh Pro' started by Orangy-Tang, Apr 4, 2024.

  1. Orangy-Tang


    Jul 24, 2013
    Unity 2022.3.22f (latest LTS)
    TextMeshPro 3.0.8 (latest from package manager)

    Edit: Removed original report because it's actually more subtle than originally thought.

    Turns out an interaction between PlayMaker, prefabs and TextMeshProUGUI triggers the 'Please remove the CanvasRenderer component' many times when doing a build, even if it only occurs once in the project.

    So this thread isn't entirely pointless, instead I'd suggest that the warning issues in TMPPro_Private should also output the scene name and prefab name so these warnings are no longer ambiguous as to the source.
    Last edited: Apr 4, 2024