Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.1.0a3

2019.4

2019.4.8f1

2020.1

2020.2

Issue ID

1272405

Regression

Yes

[Mac] Application with a transparent background will become black when the application's window size is changed

MacOS

-

How to reproduce:
1. Open the user's attached "TransparentalWindowSample2018.zip" project
2. Open the "SampleScene" Scene
3. Go to File -> Build And Run
4. Press the "Enable Transparent" button in the application
5. Re-size the application's window

Expected result: The application's background stays transparent
Actual result: The application's background becomes black

Reproducible with: 2019.1.0a3, 2019.4.9f1, 2020.1.4f1, 2020.2.0a19
Not reproducible with: 2018.4.26f1, 2019.1.0a2
Could not test with: 2020.2.0a20-2020.2.0a21 (The background does not become transparent after "Enable Transparent" button was pressed)

Notes:
- The plugin used by the user is only supported on Mac OS, so couldn't test if this reproduces on Windows OS
- Make sure "Windowed" is checked in the Configuration window in older Unity versions (2018.4, 2019.1)

  1. Resolution Note (2020.2.X):

    A possible workaround for this issue is to track the resize event and set the opacity value as desired on resize. Setting window transparency is not a Unity feature, so behavior changes may be seen across versions if trying to set NSWindow properties manually.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.