Search Unity

Bug Undoing the duplication of a TextMeshProUGUI crashes the editor 100% of the time

Discussion in 'Editor & General Support' started by CAJJI, Nov 30, 2022.

  1. CAJJI

    CAJJI

    Joined:
    Jul 20, 2016
    Posts:
    4
    I tried to send this bug report through Unity's bug report system, but it fails to send every time.

    Using Unity 2021.3.11f1 LTS

    How to replicate:
    1. Create or open any scene.
    2. Create a TextMeshProUGUI game object (Right Click Hierarchy > UI > Button - TextMeshPro)
    3. Duplicate the newly created game object (Select the new object, press Ctrl + D)
    4. Undo the duplication (Ctrl +Z)

    I find this to be a pretty common action when working with the UI, as I've had this crash happen 3/3 times in the past few days.
     
  2. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,925
    I'm fairly certainly the undo bug on that version extends beyond just TMPro. I believe the most recent 2021 LTS versions have fixed it.