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

[HELP] Render textures in tiny mode

Discussion in 'Project Tiny' started by c0dt, Jan 7, 2019.

  1. c0dt

    c0dt

    Joined:
    Jan 24, 2016
    Posts:
    2
    Can I use Render textures in tiny mode ?
    I want to take a screenshot from my game.
     
  2. etienne_unity

    etienne_unity

    Unity Technologies

    Joined:
    Aug 31, 2017
    Posts:
    102
    romiohasan likes this.
  3. tomny

    tomny

    Joined:
    Sep 12, 2015
    Posts:
    16
  4. vrivotti

    vrivotti

    Joined:
    Feb 19, 2018
    Posts:
    2
    Did you find a solution for this? I'm having the same problem.
     
  5. tomny

    tomny

    Joined:
    Sep 12, 2015
    Posts:
    16
    Bump, really need this
     
  6. leppryt

    leppryt

    Joined:
    Jul 28, 2017
    Posts:
    3
    Go to project settings and make sure you're using Canvas as rendermode.
    After this, canvas.toDataURL() should work.
    WebGL does not have the correct context for this. This also fixed my problem using canvas.getContext('2d').drawImage(...
    canvas.png
     

    Attached Files: