DataOutput not serializing GH_Goo<CustomData> in RH8

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)

1 Like

Hi Andreas,
I added this to our bug tracking system so we can try to figure out what is happening
https://mcneel.myjetbrains.com/youtrack/issue/RH-83076/Data-Serialization-Problems

Hi Steve,
Thank you for ticketing the issue. You have any idea about the time-frame for the fix? Question for us is, if we need to provide an intermediate solution in the meantime to our customers.

Thanks, Andreas

Hi @andreasniggl,

The issue was fixed on 8.12.