- changed status to open
Incorrect behavior of enum field.
Issue #209
resolved
- 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.
- 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)
-
-
- changed status to resolved
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.
- Log in to comment
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.