Search Issue Tracker

Fixed

Fixed in 2021.3.27f1, 2022.3.2f1, 2023.1.0b20, 2023.2.0a17

Votes

0

Found in

2020.3.45f1

2021.3.19f1

2022.2.8f1

2022.3.0f1

2023.1.0b5

2023.2.0a4

Issue ID

UUM-30707

Regression

No

Collider.material sets material to none when referencing Prefab

--

-

Reproduction steps:
1. Open the attached project “ColiderMaterialBug“
2. Open the Scene “Assets/SampleScene”
3. Select the Sphere Prefab “Assets/Sphere”
4. Enter the Play Mode
5. Observe the Sphere Collider Material

Expected result: An error is thrown in the Console Window
Actual result: Sphere Collider Material is set to null

Reproducible with: 2020.3.45f1, 2021.3.19f1, 2022.2.8f1, 2023.1.0b5, 2023.2.0a4

Reproducible on: Windows 11

Note: The issue is not reproducible with Renderer.material

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.