Frequently Asked Questions

Unity throws errors about ‘Source mesh XXX does not allow read access. This will work in playmode in the editor but not in player’

The simple version is that in order to bake the navmesh at runtime, Unity requires read/write access to any meshes that use Mesh Colliders in your scene.

Check the following page in the Unity documentation for more details about the trade-offs.

To fix this error:

  1. Select the mesh in your project and go to the ‘model’ tab of the import inspector

  2. Check the ‘read/write’ checkbox

  3. Click ‘Apply’

The Getting Started tutorial walks you through these steps.

Last updated