- Home /
BuildPopupList Error in Button Attachemnt "On Click"
Hello,
I wanted to program a game and I wanted to add something to a button, by the section "On Click{}", and I clicked to "No Function" so I can select a function. But now in the console accrued an error:
Code (CSharp): NullReferenceException: Object reference not set to an instance of an object UnityEditorInternal.UnityEventDrawer.BuildPopupList (UnityEngine.Object target, UnityEngine.Events.UnityEventBase dummyEvent, UnityEditor.SerializedProperty listener) (at :0) UnityEditorInternal.UnityEventDrawer.DrawEvent (UnityEngine.Rect rect, System.Int32 index, System.Boolean isActive, System.Boolean isFocused) (at :0) UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect, UnityEngine.Rect visibleRect) (at :0) UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect, UnityEngine.Rect visibleRect) (at :0) UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect) (at :0)
I already restarted Unity and I cleared the Cache.
Can somebody help me?
Your answer
Follow this Question
Related Questions
Bug: Current working directory is changed 3 Answers
Inherited messages sent in 4.2 documentation 0 Answers
Asset store tools broken? 1 Answer