[plz] Extended Weak Reference

I use below code for Save/Load EWR


public class StorageManager
{
public static void Save(Type type, uint id, object target, ExtendedWeakReference.PriorityLevel priority = ExtendedWeakReference.PriorityLevel.Important)
{
var ewr = GetEWR(type, id);
ewr.Priority = (int)priority;
ewr.Target = target;

        ExtendedWeakReference.FlushAll();
    }

    public static object Load(Type type, uint id)
    {
        var ewr = GetEWR(type, id);
        return ewr.Target;
    }

    private static ExtendedWeakReference GetEWR(Type type, uint id)
    {
        return ExtendedWeakReference.RecoverOrCreate(type, id, ExtendedWeakReference.c_SurvivePowerdown);
    }
}

I save the 2 class each other, A and B (A cls contain Array, B cls contain 1 bool, 1flaot)

A is saved and be loaded well, but B is not operate

I have a 2 questions.

  1. Why don’t operate?
  2. What is role of parameter ‘type’ and ‘id’??

my Email is “kshan@ sudo.co.kr” plz Answer to me.