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

Unity 2022.2.11 UpdateNavMeshAsync JobTempAlloc issue #130

Open
mikaelhogstrom opened this issue Mar 23, 2023 · 3 comments
Open

Unity 2022.2.11 UpdateNavMeshAsync JobTempAlloc issue #130

mikaelhogstrom opened this issue Mar 23, 2023 · 3 comments

Comments

@mikaelhogstrom
Copy link

On Unity 2022.2.11 (but not on 2021 LTS) I get JobTempAlloc old allocations warning when calling NavMeshSurface.UpdateNavmesh, which internally calls NavMeshBuilder.UpdateNavMeshDataAsync
I do not get the error if I change the call to NavMeshBuilder.UpdateNavMeshData instead.

Hopefully this is fixed by unity soon, but in case anyone else get the issue, this is a temporary workaround.

There's a thread about this issue in unity forums here

@h8man
Copy link
Owner

h8man commented Mar 24, 2023

@mikaelhogstrom Hello,

Thank you for a feedback. I was not aware about this issue and a lot of users too.

mikaelhogstrom added a commit to mikaelhogstrom/NavMeshPlus that referenced this issue Mar 24, 2023
…named async one to include suffix async, so breaking change there...)
@mikaelhogstrom
Copy link
Author

Tried it with 2023.1.0b8 and 2023.2.0a7 as well, but same issue there :(

@mikaelhogstrom
Copy link
Author

I created a PR for allowing to call a non-async variant, in case you want a workaround #131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants