Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when baking the Navmesh #205

Open
GaLzZy opened this issue Jul 16, 2024 · 7 comments
Open

Error when baking the Navmesh #205

GaLzZy opened this issue Jul 16, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@GaLzZy
Copy link

GaLzZy commented Jul 16, 2024

Hi i'm getting this NullRef error whenever I bake my Navmesh using modifiers on my tilemaps and NavigationCollectSources2d...

image

Thanks!

@h8man
Copy link
Owner

h8man commented Jul 17, 2024

Looks like an issue, I'll take a look.

@GaLzZy
Copy link
Author

GaLzZy commented Jul 17, 2024

I played with some settings yesterday and in the end I got it to work so I couldn't tell you where it was coming from :/

@NiiloMi
Copy link

NiiloMi commented Jul 17, 2024

I have a fairly similiar issue on which occours on multiple 2021.3 versions. The following exception at editor time as soon as i add a Navigation Surface component to a Scene:
NullReferenceException: Object reference not set to an instance of an object
NavMeshPlus.Components.Editors.NavMeshSurfaceEditor.RenderBoxGizmoSelected (NavMeshPlus.Components.NavMeshSurface navSurface, UnityEditor.GizmoType gizmoType) (at Library/PackageCache/com.h8man.2d.navmeshplus@ef1e438e70/NavMeshComponents/Editor/NavMeshSurfaceEditor.cs:310)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

@GaLzZy
Copy link
Author

GaLzZy commented Jul 17, 2024

For me I have this setup:
image

And whenever I put a Navigation Modifier on my Walls layer so the blue doesn't overlap on the walls, it errors out

@Tbravege
Copy link

Tbravege commented Jul 19, 2024

Same issue here. It occurs on my 2021.3.34 version, I tried to create a new project based on 2023 version and it works properly.
Also works fine with 2022 version.

@GaLzZy
Copy link
Author

GaLzZy commented Jul 19, 2024

Same issue here. It occurs on my 2021.3.34 version, I tried to create a new project based on 2023 version and it works properly. Also works fine with 2022 version.

I am on Unity 6 which essentially is 2023

@c13303
Copy link

c13303 commented Jul 23, 2024

same issue in Unity 2021.3.24f1

@h8man h8man added the bug Something isn't working label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants