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
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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.