Incorrect behavior of enum field.

Issue #209 resolved
Vlad Lomakin created an issue
  1. I have 2 enum fields of same type(direction and personDirection) and 1 gameobject(person) field. When I change direction enum field its change value of personDirection field.
  2. Add component:
using UnityEngine;

public class Test : MonoBehaviour
{
    [SerializeField]
    private GameObject person;
    [SerializeField]
    private Direction direction;
    [SerializeField]
    private Direction personDirection;
}

public enum Direction
{
    LEFT,
    RIGHT
}

And change value of direction. See what its change personDirection value.
4. Unity 2017.1.2f1
5. Odin 1.0.5.2
6. Windows 10.

Comments (2)

  1. Bjarke Elias
    • changed status to open

    Hey Vlad,

    We've been struggling with this one, but your example made it really easy for us the debug it. We'll get this one resolved and hotfixed as soon as possible.

  2. Bjarke Elias

    It's fixed and a hotfix will be submitted to the Asset Store soon. If you want it sooner, you can send me a mail to bjarke@sirenix.net with your Odin Invoice number for verification, and I'll send the build your way.

  3. Log in to comment