Texture from Render Target not working on Xbox Series X/S and PS5

Hi, I’m using UE4 27.2 and I need to create a texture Render Target but during gameplay. To do this, I’m using the code shown below. It should return a texture which is used later in blueprint. I set this texture to my parameter “PictureTexture” which is in my material. This works in the editor but when I launch the game on console (Xbox Series X and PS5) the texture isn’t rendered correctly. Any idea why this isn’t working?