I do not know how it worked long time ago but now documentation for OnAfterDeserialize says “Implement this method to receive a callback after Unity deserializes your object.” – notice this “your object”.
And documentation for ISerializationCallbackReceiver interface says “Care needs to be taken whilst within these callbacks, as Unity’s serializer runs on a different thread to most of the Unity API.”
Sorry for posting obvious things. It is just for clarity.
Login
Register
By registering on this website you agree to our Privacy Policy.