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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug Inverted colors in the builded game

Discussion in 'Editor & General Support' started by ilariabx, Sep 10, 2022.

  1. ilariabx

    ilariabx

    Joined:
    Aug 29, 2022
    Posts:
    4
    When I try to build and run any game (including Unity tutorial levels) the game appears with inverted colors. If I press the "Windows" button on my keyboard to show the taskbar while playing the game, the colors become right. If I go back to the game clicking on it, the colors come back inverted again. Can anybody help me, please? Thank you!
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    29,731
    None of your photos are visible.
     
  3. ilariabx

    ilariabx

    Joined:
    Aug 29, 2022
    Posts:
    4
    I haven't actually uploaded any photos, I don't know why the forum is displaying those three blank attachments ... anyway, could you help me?
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    29,731
    Make a new project, drop a single test image in it (something like a TV color test panel), make a build and see what is going on.

    The fact that it is dependent on the Windows button makes it sound perhaps like either a driver bug or some video incompatibility.
     
  5. ilariabx

    ilariabx

    Joined:
    Aug 29, 2022
    Posts:
    4
    I just tried to use this image in a test project, what happens after building the scene is that the yellow swaps with the light blue and the red swaps with the blue... all other colors remain in place. Pressing the Windows key all the colors become correct. A weird thing is that if I try to make a screenshot of the screen while colors are swapped, the screenshot is saved as if the colors are correct!
     

    Attached Files:

  6. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    29,731
    This almost makes it sound like a video driver problem...
     
  7. ilariabx

    ilariabx

    Joined:
    Aug 29, 2022
    Posts:
    4
    I uninstalled and reinstalled the video driver and the problem is fixed, thank you very much!!
     
    Kurt-Dekker likes this.