OnValueChanged doesn't fire when “Revert to prefab value” action performed on a prefab instance
Issue #801
new
- What happened?
OdinValueDrawer<T>.ValueEntry.OnValueChanged
doesn't fire when "Revert to prefab value" action performed on a prefab instance.
I also testedOdinValueDrawer<T>.ValueEntry.OnChildValueChanged
andOdinValueDrawer<T>.Property.Tree.OnPropertyValueChanged
, same result. - How can we reproduce it?
See screenshots -
If screenshots would help explain or demonstrate your issue, please include these.
-
What version of Unity are you using?
Tested with 2019.4.9f1 and 2021.2.0b12 - What version of Odin are you using? (See "Tools > Odin Inspector > About")
3.0.9.0 - Do you have Editor Only mode enabled?
Yes - What operating system are you on?
Windows 10