I have at least a hundred different references between different scripts in my scene and it keeps getting deserialized breaking everything. It just happened for the second time, I don’t know what triggers it.

Might be happening when I’m closing the project in uncompilabale state.
Now it compiled but does not serialize one class at all:


EDIT: Right… It cannot serialize references via interfaces… Wow… okay am I forced to use inheritance? Luckily all IActivatable I have rn are MonoBehaviour.
Is it impossible for Unity to serialize an interface reference by serializing it’s type along with the interface??