Skip to content

OnPropertiesClicked NullReferenceException on empty element in array #21

@marc-antoine-girard

Description

@marc-antoine-girard

Description:

Get a NullReferenceException when right-clicking on an empty element in an array and clicking on Properties...
Only seems to happen in array/lists.

image

Stacktrace

NullReferenceException: Object reference not set to an instance of an object
TNRD.Drawers.RawReferenceDrawer.OnPropertiesClicked () (at Assets/Unity3D-SerializableInterface/Editor/Drawers/RawReferenceDrawer.cs:98)
TNRD.Drawers.CustomObjectDrawer.<HandleMouseDown>b__24_0 () (at Assets/Unity3D-SerializableInterface/Editor/Drawers/CustomObjectDrawer.cs:97)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at <a017e354f3154926a5617fbac3a64fcc>:0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions