Search Issue Tracker

Active

Votes

0

Found in

2022.3.0f1

2023.1.0b19

2023.2.0a17

Issue ID

UUM-37129

Regression

No

Redundant materials appear in the Renderer component after calling SetMaterials or SetSharedMaterials when used with the Test Runner

--

-

How to reproduce:
1. Open the attached “SetSharedMaterialsBug.zip” project
2. Open the Test Runner window (Window → General → Test Runner)
3. In the PlayMode section of the Test Runner press the “Run All” button

Expected result: All tests pass
Actual result: Renderer components .sharedMaterials.Length functions tests fail

Reproducible with: 2022.3.0f1, 2023.1.0b19, 2023.2.0a17
Couldn’t test with: 2021.3.26f1 (Unsupported code)

Reproducible on: macOS Ventura 13.1 (Intel), Windows 10

Note: Reproducible in Builds

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.