Edit: How to make sure dynamic UTexture2D converts to FTexture2DRHIRef?

I have described my issue in great detail here . I want to find a way to transfer the Texture2D effectively to the compute shader per frame so that I get the most out of my plugin
Please if anyone is familiar with unreal shader plugin programming please guide me.
Regards,

Edit: I figured out that my dynamic UTexture2D is not generating a FTexture2DRHIRef. What is the reason for this? Is there a way to make sure it can generate this resource?

Issue was that compute shader requires data to be 32 bit. I worked around this by utilizing a render target. What I could have done was to send the pixel data to the compute shader and/or calculate the intersection regions within the compute shader itself.