Multiple Object Binary Serialization in Unity (using Chess)

preview_player
Показать описание
How to save multiple objects in one scene to a binary save game. I use chess as an example, but the principal can be expanded to any game.

This is a series of videos that I recorded in one day and edited down to five separate uploads. This is to make it easier for people to digest. I hope you enjoy them!

Рекомендации по теме
Комментарии
Автор

Great videos, just what I was looking for. Your example won't work for my game, but after watching the videos on Serialization and Deserialization I was able to create my own custom scripts. Thanks!! I subscribed btw.

intimidate
Автор

AWESOME VIDEO! I spent hours today trying to find a good way to serialize key data in my game to no avail until I found this gem! Thank you SO MUCH :)

kharjai
Автор

Im having a problem with serializing UnityEngine.objects because if you serialize them, it only saves the object id and I've noticed it sometimes changes as you add assets to your project or restart the editor and "corrupt" the saves. like for example I would have a prefab in the resources folder I would want to instantiate and I would all of a sudden get a null reference exception and after a bit of debugging, I learned it was pointing to a material not even located in the resources folder. Is there another way to save them?

wormchickenwizard
Автор

The file formats looks similar to XML, but much smaller. I had a c-64 back in the day.

darkman