Hi, we’re having an issue that custom data derived from GH_Goo, that we create in our Grasshopper Plug-Ins cannot be stored and re-stored to/from *.ghdata anymore when running the Plug-Ins in Rhino 8.
Attached below is a simple test example together with a C# example file showing the issue. The C# file has been build in a project targeting ‘net48’. Running the so compiled plugin in Rhino 7 - all works well. In Rhino 8 however, we’re getting the following result:
It seems that in Rhino 8 the two overrides Read() and Write() of the GH_ISerializable Interface are not being called anymore when passing custom data to the DataOutput and DataInput components. It looks like that there is another mechanism at work now.
Is there some other overrides we need to implement for serializing the data in RH8? Or is there anything else we can do on our side to get our data serialized again?
Thanks for any help, Andreas
Example Script:
Test - WriteReadGhData.gh (5.6 KB)
Example Code:
TestSerializableData.cs (3.0 KB)