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.
  2. Dismiss Notice

Question Have built run headless and still render game?

Discussion in '2D' started by eirikmeister, Sep 1, 2023.

  1. eirikmeister

    eirikmeister

    Joined:
    Aug 24, 2021
    Posts:
    1
    Hey there!

    I have a scene with a resolution of 1080x1920. However my screen resolution is 1920x1080 and therefore my programm is not fitting the screen.
    Displaying the scene on my monitor is not neccessary, but I need it to be rendered in that exact resolution, so that I can have another programm access it. Would that be possible?
    I would be glad for any help!

    Kind Regards
    -Eirik
     
  2. Cornysam

    Cornysam

    Joined:
    Feb 8, 2018
    Posts:
    1,343
    Eirik, go to the game tab, click on the drop down arrow on the tab next to the Display tab (probably says Free Aspect) and then change it to what you are trying to build for.

    upload_2023-9-1_13-40-28.png

    Then, make sure your canvas and camera are set up properly so the user sees exactly what you want them to see and it isnt cut off.