Megacrush Unity Assets
Runtime Navmesh Baker
Runtime Navmesh Baker
  • Runtime Navmesh Baker User Manual
    • Introduction
    • Technical Details
      • Input System (Old)
    • Video Tutorials
    • Getting Started
    • Nav Mesh Baker Component
    • Installing Samples
      • Text Mesh Pro Essentials
      • The Runtime Navmesh Baker Demo scene
      • Scene View Overlays
      • Runtime Navmesh Baker Configuration
    • Preparing a scene for Runtime Navmesh Baking
      • Navmesh Render Geometry
      • Use Primitive Colliders instead of Mesh Colliders
      • Allow Read/Write access to ALL meshes used for Mesh Colliders
      • Disable Batching Static for Scene Elements
      • Page Third Party Mesh Combination Tools1
    • NavMeshBaker API
    • Frequently Asked Questions
    • Extras
      • ClickToMoveController
Powered by GitBook
On this page
  • Unity throws errors about ‘Source mesh XXX does not allow read access. This will work in playmode in the editor but not in player’
  • To fix this error:
  1. Runtime Navmesh Baker User Manual

Frequently Asked Questions

PreviousNavMeshBaker APINextExtras

Last updated 1 year ago

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 walks you through these steps.

Getting Started tutorial
https://docs.unity3d.com/ScriptReference/Mesh-isReadable.html