Forum rules - please read before posting.

Console errors when no navmesh/sorting/playerstart in scene (main character is hidden/nonfunctional)

edited December 2020 in Technical Q&A

Hi All,

If I have a separate scene with a title screen/menu, but don't need to show main character, what is the best way to handle it?

Currently it spawns the player but produces errors such as:

  • Can't initialize navmesh
  • No navmesh set
  • No sorting map3
  • No Default playerstart

Is there a better way to handle scenes that don't use the main character? Should I add all of the above to avoid these errors, or is it okay to leave the errors in?

Or should I just be making the title screen menu appear over the first scene of the game, then hiding it?

Thanks for your time and have a great evening.

Comments

  • edited December 2020

    Don't worry - those errors are perfectly fine to ignore.

    However, a quick way to get rid of them would be to:

    • Create a new GameObject, and attach a Player component, to override your regular Player for this scene's duration
    • Assign a Default PlayerStart in the Scene Manager
    • Set your scene's Pathfinding method to Unity Navigation
  • Perfect, thanks Chris! 🙏
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.