How to get texture pixels using UTextureRenderTarget2D class?

Hello , i really loved that code it does it work but , it crashes my game everytime , if please can help me at this .