Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

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.