Hi,
can you explain your use case?
the problem is that you are mixing editor tools with runtime tools, so this action will not work when you pubish it. You may have a good use case though, maybe you want to save data at edit time to use for level edition or something.
bye,
Jean