Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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:
    547
    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:
    547
    Additional note: Removing the script does not get rid of the error, I would have to remove it by CTRL + Z (Undo).