• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Screenhog · Aug 16, 2012 at 05:32 PM · navmeshpathfinding

Dynamic Levels & Navmesh

I'm creating a level by placing prefabs side-by-side (e.g. making a long hallway with a series of floor objects). However, t$$anonymous$$s is being done dynamically... the level is only built at runtime.

I was hoping to use Unity's pathfinding - the prefabs could still be marked NavMesh Static, because they won't move after the initial placement - but it looks like NavMesh can only be baked into the scene, not attached to a prefab. Is Unity's NavMesh even a possibility for me here? If not, are there recommended pathfinding solutions for dynamic levels on the Asset Store? Or do I just have to figure out my own custom pathfinding solution?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Screenhog · Aug 16, 2012 at 06:01 PM 0
Share
avatar image dchen05 · Feb 08, 2013 at 05:32 AM 0
Share

8 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by dchen05 · Feb 08, 2013 at 04:45 PM

Hey guys, I found a workaround to t$$anonymous$$s proble, in the last post on t$$anonymous$$s thread:

http://forum.unity3d.com/threads/122545-Problem-with-NavMesh-and-Asynchronous-load

You need to save your navmesh prefab in a scene by itself, then load it in (non additive), but set the game objects in your scene to "Dont destory on load".

Its kinda hacky but it works for now. But overall, I really wish Unity would extend the NavMesh features.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Screenhog · Feb 08, 2013 at 05:30 PM 0
Share
avatar image
1

Answer by anthonyk2 · Aug 18, 2012 at 11:33 AM

I have exactly the same problem :/. I can't understand why it's not possible to prefab the Navmesh to reuse it! It's like a basic feature to me. The lightmap baking is working fine with prefabs so I expected that the Navmesh baking was at least working the same way !

In fact, I have to revert back to previous solutions like http://angryant.com/path/

I hope that Unity 4 will enable that feature.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
2

Answer by hippocoder · Dec 10, 2012 at 05:54 AM

Same problem cropped up for us. But nobody will read t$$anonymous$$s who works at unity.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by gekidoslair · Feb 21, 2013 at 08:15 PM

same problem exists with unity 4. ridiculous.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Fratyr · Mar 12, 2013 at 08:35 PM

Gah. Hoped they fixed it... Well, they have to force us pay money for assets right? So go and buy Aron's asset for $100 :-/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

CalculatePath often returns wrong results 0 Answers

Navigation Mesh not working in build 0 Answers

walking through the countryside ? 1 Answer

Navmesh with destructible obstacles 1 Answer

Fast Script Ai For mobile: Navmesh or A*? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges