Search Issue Tracker
By Design
Votes
1
Found in
5.3.4p4
Issue ID
792537
Regression
No
Collider.sharedMaterial returns the Instanced material
Steps to reproduce:
1. Open attached project
2. Open scene "DemoScene" and Run it
3. In console, notice "BUG - the shared material SHOULD equal the material we are comparing it to, instead it is an instance. DemoPhysMat (Instance) != DemoPhysMat". This means that Collider.sharedMaterial.Equals(PhysicsMaterial) returned false
Reproduced with: 5.1.4f1, 5.2.4f1, 5.3.4p5, 5.4.0b17
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Graph Execution errors when using GPU occlusion culling with 'Opaque Objects' frame setting disabled on a Camera
- Animator window: “Delete” menu item not greyed out for Base Layer context menu
- Resetting “PC_RP Asset (Universal Render Pipeline Asset)” causes Game view to become black and throws Renderer and NullReference errors in the Console window
- [Mobile] Player Crash on scripting_invoke_profiler_begin when the built Player Scene has an empty UIDocument and is built on IL2CPP
- Unnecessary Warnings are logged when running Player with -batchmode -nographics
LordMortis
May 14, 2016 04:38
I'm noticing this on 5.4.0b14 on the renderer as well... Quite annoying.