Where is SetTransformandCamera used?
and what comes at the end of that function?
From what I can tell if it is false then that function ends. and if something after that is getting called that does the inventory portion or affects the inventory portion then it would never get ran and therefore would be getting saved to the save file
can you post your BP in here and share the link to it?