Unity 2018.3 serialized unity links

Issue #486 wontfix
Oleg Malevskiy created an issue

Steps of reproduction:

  1. Make interface, derived class with two fields, int and GameObject
  2. Make SerializedMonoBehaviour with link to this interface
  3. Fill fields
  4. Delete Library folder, reopen project (required step)
  5. Drop prefab on scene, int is ok, link is null
  6. Change int !! in prefab !!
  7. Make sure that prefab link on scene in instance is restored automatically !

Test project: https://github.com/zudl/Odin-Prefab-Serialization-Issue Just add Odin and open project with Unity 2018.3.* Tested with latest Odin from assetstore

Comments (5)

  1. Tor Esa Vestergaard

    Alright, I investigated this, and it's a Unity-specific issue that we cannot do anything about. However, right-clicking the prefab asset and reimporting the individual asset is sufficient to resolve this issue, and using "Reimport All" would be enough to resolve it for all prefabs in the project. I know this issue has already been reported to Unity by the Bolt devs, so I'm afraid this is out of our hands.

  2. Valentin Simonov

    @Tor Esa Vestergaard could you add more info on the issue from the Unity side? Is there a discussion on it or a bug report number?

  3. Tor Esa Vestergaard

    I was told that it had been reported, but I’m afraid I don’t know the case number. If you want to, you could report it to them and at worst they’ll mark it a duplicate of the relevant issue.

  4. Log in to comment