Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Save/Load Obi Rope state and rope network state synchronization
#6
Another question: how to effectively serialize and deserialize object of type ObiNativeVector4List? 

Direct serialization via BinaryFormatter does not work:

SerializationException: Type 'Obi.ObiNativeList`1[[UnityEngine.Vector4, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]' in Assembly 'Obi, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

But type


namespace Obi
{
    [Serializable]
    public class ObiNativeVector4List : ObiNativeList<Vector4>
    { ...
Reply


Messages In This Thread
RE: Save/Load Obi Rope state and rope network state synchronization - by pmike - 24-05-2021, 12:16 PM