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
  1. Runtime Navmesh Baker User Manual
  2. Preparing a scene for Runtime Navmesh Baking

Disable Batching Static for Scene Elements

PreviousAllow Read/Write access to ALL meshes used for Mesh CollidersNextPage Third Party Mesh Combination Tools1

Last updated 1 year ago

Unfortunately Unity’s automatic mesh combination that happens when you enter play mode (or build your game) does not make the batches geometry compatible with Runtime Navmesh generation.

If this is the case you will see similar errors as above except mentioning ‘Combined Mesh (root: scene)’ in the error message.

The only solution to this is to disable ‘Batching Static’ for your scene geometry and (potentially) use another mesh combination system (I would recommend the latter either way).

To fix this:

  1. Select the geometry in your scene (or the parent Game Object in the hierarchy)

  2. Click the dropdown beside ‘static’ in the Inspector

  3. Uncheck the Batching Static option

  4. Click ‘yes’ when using Unity asks if you wish to Disable Batching Static for all child objects

Finally, I would highly recommend looking into one of the Third Party mesh combine solutions listed below to replace the built in mesh combination functionality provided by Unity.