Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Graphics [Bug 800262] Texture2D.GetRawTextureData() returns incorrect bytes after Graphics.CopyTexture

Discussion in '5.4 Beta' started by raphael-ernaelsten-heaj, May 25, 2016.

  1. raphael-ernaelsten-heaj

    raphael-ernaelsten-heaj

    Joined:
    Mar 9, 2016
    Posts:
    78
    Texture2D.GetRawTextureData() returns bytes of value 205 if executed after the texture was copied from a RenderTexture with Graphics.CopyTexture().

    The texture is however ok since I can use it in a shader.
     
    axelstewart, smt_juangs and Deni35 like this.
  2. raphael-ernaelsten-heaj

    raphael-ernaelsten-heaj

    Joined:
    Mar 9, 2016
    Posts:
    78
    FYI
    Unfortunately not going to be fixed soon :(
    No solution for getting pixels out of RenderTextures either :(

     
    smt_juangs and Deni35 like this.