Serializing data Tutorial

Hello everyone,

Here’s a fairly short video I’ve done on serializing Editor Extension data to disk using a byte array. Hope it’s helpful! If you like the video don’t be afraid to give me some feedback, if you have any comments then please fire them my way.

Cheers,

Tom

Hi,

Thanks for the video. Did I understand it right - is it possible to serialize any type of complex data using your method ? Even objects Unity objects ?

This won’t work for Unity objects, as they’re not marked as serializable. If you want to do that you’ll need to use a json serializer or the Unity Serializer by WhyDoIDoIt.

Thank you for response :slight_smile:

I’ve asked this question because I’ve scene streaming on my mind. That means fast serializing and deserializing a lot of objects on scene in order to load or free them from memory. My friend taked to Mike from WhyDoIDoIt and he admits that this serializer may be not fast enough. I need to check Json serializer though.