[CRASH] access violation in FMallocTBB::Free

Oh, I was under the impression that if the variable wasn’t marked with UPROPERTY it wouldn’t be GC’d by the engine? I’ve seen a few examples of using delete in the wiki (particularly the dynamic texture tutorial which I used).

How would I dispose of the data manually? the uint8* is storing pixel data of a 2048 image and so I want to free up the memory when I no longer need it.

(example of using delete in wiki: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums)

Additionally this Wiki says you can use new and delete