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

Legacy dynamic navigation mesh system bugs #2630

Open
Basewq opened this issue Feb 5, 2025 · 0 comments · May be fixed by #2631
Open

Legacy dynamic navigation mesh system bugs #2630

Basewq opened this issue Feb 5, 2025 · 0 comments · May be fixed by #2631
Labels
bug Something isn't working

Comments

@Basewq
Copy link
Contributor

Basewq commented Feb 5, 2025

Release Type: Official Release

Version: 4.2.0.2232

Platform(s): Windows

Describe the bug

  1. Disabling DynamicNavigationMeshSystem causes the error: System.NullReferenceException: 'Object reference not set to an instance of an object.'
  2. Dynamic navigation doesn't work if DynamicNavigationMeshSystem is registered before NavigationProcessor

To Reproduce
Steps to reproduce the behavior:
For bug 1:

  1. Get DynamicNavigationMeshSystem and Enable = true
  2. Get DynamicNavigationMeshSystem and Enable = false
  3. Game throws the error

For bug 2:

  1. Load the game without any navigation components and manually add DynamicNavigationMeshSystem to IGameSystemCollection
  2. Load/add scene with navigation components.
  3. NavigationComponent.TryFindPath always fails because the nav mesh is never set.
@Basewq Basewq added the bug Something isn't working label Feb 5, 2025
@Basewq Basewq linked a pull request Feb 6, 2025 that will close this issue
8 tasks
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

Successfully merging a pull request may close this issue.

1 participant