BetterEvents-Deprecated icon indicating copy to clipboard operation
BetterEvents-Deprecated copied to clipboard

Doesn't support prefabs?

Open davidrochin opened this issue 5 years ago • 2 comments

I have a prefab that uses BetterEvents. I can edit said prefab from the Projects window with no problems whatsoever, but, If I put an instance of the prefab in my scene and open its inspector, I get this:

image

Is this a bug, intended behavior, or am I doing something wrong?

davidrochin avatar Mar 11 '20 04:03 davidrochin

Odin Inspector does not support unity prefabs. That is one of the major flaws of using Odin in my experience. It comes with a great tool set that amplifies overall workflow, but it also comes with some costs, Unity Prefabs is one of those costs.

Dioinecail avatar Mar 25 '20 12:03 Dioinecail

It's not that it doesn't support prefabs at all, just seems to have some issues with it. I've had the same message but can use BetterEvents fine now within a prefab (using SerializedMonoBehaviour and [OdinSerialize] attributes)

kjyv avatar Dec 17 '20 11:12 kjyv