Accessing pixel values of Texture2D

Help please!!

I was able to dynamically change textures by procedurally editing their bulk-data, but the next time I restart my project/editor all the changes are reverted.

So how do I save the modified bulkdata to disk? I saved the texture asset after modifying it, but that’s not enough.

edit: actually, nevermind. I found the “persistent” data under UTexture2D::Source.