Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Adding An Empty Script to DropDown Causing NullReferenceExeption Error

Discussion in 'UGUI & TextMesh Pro' started by Mortalanimal, Jun 16, 2020.

  1. Mortalanimal

    Mortalanimal

    Joined:
    Jun 7, 2014
    Posts:
    565
    Hi, So I have a drop down TMP, that when I add a script to it, even though its an empty new script, I start getting the following error:



    Thanks in advance

     
  2. Mortalanimal

    Mortalanimal

    Joined:
    Jun 7, 2014
    Posts:
    565
    Additional note: Removing the script does not get rid of the error, I would have to remove it by CTRL + Z (Undo).