Not possible to assign a Reference as data to a ContextDataUpdater

Issue #87 resolved
Christian Oeing repo owner created an issue

Report from forum (https://forum.unity.com/threads/released-data-bind-for-unity.298471/page-6#post-3800347):

in my previous project in Unity 2017 everything was working fine, but in my new project in Unity 2018.2.12.f1 in ContextDataUpdater when I select Reference it shows No Type and I am unable to link an object. Also in 2017 I am using 1.0.13 and in 2018 1.14. I checked the source code for drawers and it differs so I assume this is a reason. But can't be sure, didn't have time to investigate deeply.

1.14.png

Comments (2)

  1. Christian Oeing reporter

    The issue was that there was no type hint, so the EditorGUI.ObjectField method received a null reference as object type.

    When no type hint is set, all references should be allowed.

  2. Log in to comment