Search Issue Tracker

Fixed in 5.0.X

Votes

1

Found in

4.6.0b11

Issue ID

616383

Regression

No

Getting the Terrain physics material will try to set a default one resulting in an error

Terrain

-

Steps to reproduce:
1. Open the attached project and the scene
2. Press play
3. Observe the error:
Setting the Material property is not supported for Colliders of type TerrainCollider.
UnityEngine.Collider:get_material()

Getting the physics material returns an instance of Default after recieving the error

Comments (4)

  1. abelguima

    Jul 15, 2019 19:32

    I have the same issue with weel collider and didn't ask or use any material

  2. MaximilianPs

    Dec 13, 2014 09:55

    here is the solution
    http://hutonggames.com/playmakerforum/index.php?topic=8102.msg39051#msg39051

    "i solved my problem by getting the position of the transform instead of impact point"

  3. MaximilianPs

    Dec 13, 2014 09:42

    Same problem here
    in my case was caused by PlayMaker and a FSM which I made that interact with physics and Controller Colliders

  4. LadyDeathKZN

    Oct 20, 2014 17:10

    I have the same issue now I can't make games

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.