help I am trying to get the players viewport as a texture 2d

Yes, I know. Which version of Unreal are you using?