Values not updating when changed

Issue #469 open
Strider Agostinelli
created an issue

I have a script called EntityLoader that should allow a user to select a prefab from a dropdown instead of having to drag / drop it into the inspector. Here is the definition of the field I'm using:

Screen Shot 2018-11-30 at 10.50.37 AM.png

Here is the source for the getAvailableTemplates method:

Screen Shot 2018-11-30 at 10.50.51 AM.png

It displays correctly in the inspector, and even shows all of the templates correctly:

Screen Shot 2018-11-30 at 10.51.06 AM.png

Screen Shot 2018-11-30 at 10.51.16 AM.png

However, whenever I select the item from the dropdown, it doesn't update the field. Removing the ValueDropdown Attribute allows me to drag and drop, but it doesn't update the field either. The only way I can get the field to update is to set it to null and then drag and drop.

I am using Odin Version 2.0.13.0 and am using Editor Only mode enabled. I am using Unity 2018.2.14f1 on Mac OS 10.13.6

Comments (2)

  1. mSkull001
    • changed status to open

    Thanks the the report. I've tested the issue now on both Unity 5.3 and 2018.2.14f1, but I've been unable to reproduce it.

    I'll try and get a hold of a mac machine and see if I can reproduce the issue there.

  2. Log in to comment