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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Glitch issue on startup of game

Discussion in 'Editor & General Support' started by stueep, Mar 9, 2020.

  1. stueep

    stueep

    Joined:
    Nov 7, 2018
    Posts:
    12
    Hi all,

    I have a weird issue that only seems to affect a certain number of devices (Sony XZ2 Compact, Pixel 2XL, maybe more). Essentially when the game starts there is a really strange visual glitch issue that happens. You cant see whats on the screen however you can interact as if the buttons are there. Once you get past theis scene the game starts to visually look correct again. I have searched high and low for answers but i dont see anybody else having the same issue. Here is an image of my problem:



    Its really weird and any help will be greatly appreciated.

    Cheers
    Stu
     
  2. stueep

    stueep

    Joined:
    Nov 7, 2018
    Posts:
    12
    *** UPDATE - FIXED *** I managed to get this fixed. This issue appears to affect Android devices that use the SnapDragon chipset (SnapDragon 835, SnapDragon 845). The issue was because the main menu scene utilised two cameras. I had to set the "Clear Flags" option on the camera at the top of the hierarchy to be "Solid Color". If both cameras had "Don't Clear" then the glitch happens. If Both cameras have "Solid Color" then id end up with just a black screen. In other words I had one camera have its Clear Flags option set to Solid Color and the other set to Clear Flags. I hope this helps other people who may be facing the same issue.
     
    Joe-Censored likes this.
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Might be helpful to file a bug with Unity for this issue.
     
  4. LindsayParmenter

    LindsayParmenter

    Joined:
    Sep 10, 2014
    Posts:
    21
    I too am having this issue in 2018.4, one camera (depth 0) is set to clear solid color, the other (depth 1 with a canvas) is set to don't clear.