UpdateResource() has no effect when packaged for Android.

Hello all. I have been trying to utilize the wiki tutorial on Dynamic Textures. For some reason the following code only works in the editor. When I package for Android or Windows 64 and test the texture never gets updated. I’m using UE4 Version 4.16.1.

TArray<FColor> data;
data.Init(FColor(255, 0, 0, 255), 512*512);

void* TextureData = LoadedT2D->PlatformData->Mips[0].BulkData.Lock(LOCK_READ_WRITE);
FMemory::Memcpy(TextureData, data.GetData(), data.Num());
LoadedT2D->PlatformData->Mips[0].BulkData.Unlock();
LoadedT2D->UpdateResource();

Any assistance with this would be greatly appreciated.

Hey Epic staff

Hey Epic staff. Any Idea why this would work in the editor but not when I package for Android. I’ve been experimenting with the source code for the last few days trying to track down the issue but haven’t had any luck.