Search Issue Tracker

Fixed in Unity 2018.3

Votes

1

Found in

2018.1.6f1

Issue ID

1058082

Regression

No

Accessing unassigned collider's material returns and sets different material than the physics manager default material

Physics

-

-

Priority: 5Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

How to reproduce:
1. Open the user-submitted project
2. Click on the Cube Object and observe Its Box Collider component
3. Enter Play mode
4. Observe the Box Collider Component again

Expected result: accessing the colliders material by script changes it to the default material set in the physics manager
Actual result: accessing the colliders materials sets the material to the "default" material instead of the material set in the physics manager

Reproduced in: 2018.3.0a5, 2018.2.0f2, 2018.1.8f1, 2017.4.6f1, 2017.2.3p2, 2017.1.4p2

All about bugs

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