Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Why mesh collider needs the mesh read/write enable?

Discussion in 'Physics' started by suppertbw, Sep 8, 2023.

  1. suppertbw

    suppertbw

    Joined:
    Mar 16, 2016
    Posts:
    33
    I'm confused that if the mesh is set to read/write enable off, the mesh collider which references the mesh seems no collision on iOS & Android. However, on Windows the collision is good, no matter read/write enable on or off.

    And turning this on is not user-friendly on mobile platform, so I need to give up using mesh collider?

    PS. the version of unity is 2018.4.0f1
     
  2. suppertbw

    suppertbw

    Joined:
    Mar 16, 2016
    Posts:
    33
    It seems I know why.
    Base on documentation, if mesh collider's cooking options flags are set to any value other than the default, the model needs to be set read/write enable on.