Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X

Votes

0

Found in

6000.0.46f1

6000.1.0b14

6000.2.0a9

6000.3.0a3

Issue ID

UUM-113232

Regression

Yes

The Main Camera's Clear Flags property returns "Skybox" regardless of the actual value in the Inspector window when running an EditMode test

-

How to reproduce:
1. Open the attached “IN-99130” project
2. Open the “SampleScene“
3. Go to “Window > General > Test Runner > Edit Mode > Run All“
4. Select the “TestDefaultCameraVariables“ in the “My project (6) (1 tests)“ tab
5. Observe the test results in the Test Runner window

Expected result: m_MainCamera.clearFlags is set to SolidColor
Actual result: m_MainCamera.clearFlags is set to Skybox

Reproducible with: 1.4.0 (2022.3.61f1), 2.0.1-pre.18 (6000.0.46f1, 6000.1.0b14, 6000.2.0a9)
Not reproducible with: 1.3.9 (2022.3.61f1)

Reproducible on: MacOS 15.3 (M4), Windows 11 (by user)
Not reproducible on: No other environments tested

Note: The Clear Flags property returns “SolidColor” in PlayMode tests

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.