Unity-Technologies / EditorXR

Author XR in XR
Other
925 stars 167 forks source link

Mesh has been marked as non-accessible error in play mode and builds #531

Closed mtschoen-unity closed 5 years ago

mtschoen-unity commented 5 years ago

The IntersectionModule relies on a mesh collider to do its job. In the Editor, you are allowed to make a mesh collider target any mesh, but in play mode and player builds, you get error logs with the following: ...mesh has been marked as non-accessible...

You must either mark all your meshes as readable, which has a performance overhead, or ignore the errors for now. The solution will require an update to the IntersectionModule.