OdinPrefabUtility.UpdatePrefabInstancePropertyModifications doesn't work well

Issue #411 duplicate
Former user created an issue

Odin versions 2.0.X.X (and the latest one too) has partially worked method OdinPrefabUtility.UpdatePrefabInstancePropertyModifications For example, it works when I update the property of the type Transform. But doesn't work when I update MeshFilter[] or Dictionary<MeshFilter, MeshRenderer> fields. Odin just resets these fields to default (null).

Instruction for demo project: 1. Open "Show Case" scene in the folder "Problem 2/Scenes" 2. Select "Odin Test" gameObject, press "Generate" button in the inspector 3. Check the data in "Odin Test" gameObject in the "OdinTest" component

The data blinks and doesn't save. Just field of the type Transform could be saved.

Comments (1)

  1. Log in to comment