Search Unity

Taking screenshot in editor at different than game view resolution/aspect GUI issue

Discussion in 'UGUI & TextMesh Pro' started by Gooren, Jul 18, 2019.

  1. Gooren

    Gooren

    Joined:
    Nov 20, 2015
    Posts:
    332
    Hi,

    I have implemented screenshot capture based on this method (the top voted one).
    It works just right except for GUI. When the target resolution aspect ratio is different from game view resolution aspect, the GUI is clipped.
    Is it possible to force uGUI to render with properly updated layout and scaling into a RenderTexture?

    Thanks