Reply To: Unity2018.3.0f2 OnAfterDeserialize

NodeCanvas Forums Support Unity2018.3.0f2 OnAfterDeserialize Reply To: Unity2018.3.0f2 OnAfterDeserialize

#14029
Gavalakis
Keymaster

Hello again,

Thanks a lot for the reproduction steps. I was able to identify and solve the problem.

To fix this, please open up ‘fsUnityObjectConverter’ and in ‘TryDeserialize’ method, ‘replace line of code:
if ( reference == null || storageType.RTIsAssignableFrom(reference.GetType()) ) {

with this:
if ( ReferenceEquals(reference, null) || storageType.RTIsAssignableFrom(reference.GetType()) ) {

Please let me know if that indeed works for you.
Thanks.

Join us on Discord: https://discord.gg/97q2Rjh