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

Navmesh generator zone #7220

Open
somethink000 opened this issue Dec 21, 2024 · 3 comments
Open

Navmesh generator zone #7220

somethink000 opened this issue Dec 21, 2024 · 3 comments
Assignees

Comments

@somethink000
Copy link

What can't you do?

I have a large map on which I create individual levels for game and if I try to generate navmesh on it, S&box just crashes. In order not to wait until there is support for large maps for navmesh, it would be nice to add either a block for generating navmesh or, conversely, ability to generate a mesh only in a certain zone (second better)

How would you like it to work?

Create block on scene

What have you tried?

Use navmesh on large map

Additional context

right now im bypass this by creating an additional map cropped by 90%

Image
Image

@lolleko
Copy link

lolleko commented Dec 21, 2024

It really shouldn't crash. We should fix that.

How big is your map? Can you share it? that would help me out a lot.

@somethink000
Copy link
Author

larger than grid size https://drive.google.com/drive/folders/1EP15kyplE_QKBWOam98EGiX80fqzXU8a?usp=drive_link
fps will decrease slowly until the sbox crashes, regardless of whether this scene with the map is open or not, and an error appears in the console
Image

It really shouldn't crash. We should fix that.

How big is your map? Can you share it? that would help me out a lot.

@lolleko lolleko self-assigned this Dec 21, 2024
@lolleko lolleko moved this from To triage to Ready in s&box tracker Dec 21, 2024
@somethink000
Copy link
Author

i found the reason of the bug. very far from the center of the map, I forgot to remove the huge low-poly displacement that did crash s&box, but it would still be nice to be able to specify the desired navmesh generation zone, since there are many situations in which this can be useful in terms of performance, for example, cropping a skybox or, in my case, not load the player with a huge world

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

No branches or pull requests

2 participants