[PLUGIN] Savior

Hey Bruno! Love the plugin, I’ve been using it for a while now and it’s been overall fantastic.

I’m running into issues with saving/loading class references (purple pin type), and I was wondering if there’s something I’m missing.

I’m trying to simply save a variable of type class, and here are the results of some tests:

  • Class reference variable cannot be loaded
  • Class reference variable stored inside an array cannot be loaded.
  • Class reference variable stored inside a junk single-member struct cannot be loaded.
  • Class reference variable stored inside a junk single-member struct, stored inside a junk array (even with an array length of one) CAN be loaded

This seems very weird? Why would a struct wrapping the class reference fail, whereas an array wrapping the struct wrapping the reference will succeed to save/load correctly?

What’s more, I ran a simple test by grabbing All Actors of class type character and then for-each grabbed each of their class types, added that to a big “class reference” array, and attempted to save/load that.

Of the 81 Actor class references, my logs pointed out that about 50% of them saved as “nullptr::nullptr”, and the other half saved as “/Script/Engine.Default__BlueprintGeneratedClass::BP_Demo-Character” (exact same on load aswell) - but the editor array showed 81 entries of “None”.

Am I missing some setup in project settings or on the save slot file itself? Would really appreciate your input :).