Accessing pixel values of Texture2D

I’ve got the same issue as invrsion. Does anybody know how to fix this? Or did you fix it invrsion?