Search Issue Tracker

By Design

Votes

0

Found in

4.5.5f1

Issue ID

658358

Regression

No

[MeshRenderer] Mesh cannot be accessed when running not in editor if the gameObject was instantiated from a fbx model.

Physics

-

To Reproduce:

1. Run the attached project in editor, observe that the collider on 'tank2_collider' is generated correctly from the sharedMesh in the MeshFilter from the tank2_collider gameobject (script TestScene.cs).

2. Build the project to iOS or standalone, notice that the collider is not generated because this error

'CollisionMeshData couldn't be created because the mesh has been marked as non-accessible'

is thrown, when trying to access the mesh which is used to generate the MeshCollider.

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.