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

Resolved [SOLVED] Transparent window in Unity 2020

Discussion in 'Windows' started by cadynbombaci, Oct 24, 2021.

  1. cadynbombaci

    cadynbombaci

    Joined:
    Oct 10, 2017
    Posts:
    10
    Thread that works up to Unity 2018: https://forum.unity.com/threads/sol...dow-with-opaque-contents-lwa_colorkey.323057/

    I've been at this for a while now, feel like I've tried a million different transparency scripts. Eventually I got tired and made a new project in 2018 just to test it, and discovered that they all worked in 2018. Then, I upgraded the project from 2018 to 2019 LTS, and of course it doesn't work anymore, the background is just black at that point. Downgrading my current project from 2020 to 2019 may have been feasible, but from 2020 to 2018 simply isn't. I tried and it simply broke everything.

    If there's a way to get this working in 2020, please let me know. Otherwise, could Unity maybe fix this functionality, so that people who need it aren't stuck in the 2018 version.
     
  2. cadynbombaci

    cadynbombaci

    Joined:
    Oct 10, 2017
    Posts:
    10
    Ofcourse, moments after posting this, I discovered that I hadn't checked the second page of the thread yet where a solution is described. For anyone else stumbling across this same issue who hasn't dug through the thread yet, I will paste the reply from Vestigial, "Per Tautvydas-Zilys, you have to make sure to UNCHECK "Use DXGI Flip Model Swapchain for D3D11" under Player Settings -> Resolution and Presentation. (I also had to tweak the shader to use alpha instead of color key, and havent tried clickthrough yet but the transparency is there, or NOT there I guess!)"
     
  3. mrmattbett

    mrmattbett

    Joined:
    Jun 15, 2020
    Posts:
    2
    I'll just make this my first Godot project, as it is much simpler there...