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

Crash upon load when adding new Environment Areas #746

Open
Neslon-Poggers opened this issue Jul 14, 2022 · 3 comments
Open

Crash upon load when adding new Environment Areas #746

Neslon-Poggers opened this issue Jul 14, 2022 · 3 comments
Labels

Comments

@Neslon-Poggers
Copy link

Describe the crash

After adding a new environment area with a custom cubemap to bank heist, the game crashes upon hitting the "ready" in the screen where you select your loadouts with a navigationmanager crash.

Steps to reproduce the crash

  1. Change the env of bank heist to use a custom cubemap, specific to the level.
  2. Add a new environment area (we tried adding one to the interior), with a unique cubemap.
  3. Once this is done, things should save normally, and look about right... until you get in game. Attempting to hit the ready up screen will cause a navigationmanager crash.

Logs

Application has crashed: C++ exception
[string "lib/managers/navigationmanager.lua"]:3107: attempt to get length of a nil value

SCRIPT STACK


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
                     ntdll  (???)     RtlAllocateHeap                                     

Minimal reproduction

https://cdn.discordapp.com/attachments/704290457944981504/993751512264232991/FUCK.zip

@Neslon-Poggers
Copy link
Author

Update: It's not just bank heist. It's every heist.

@Neslon-Poggers Neslon-Poggers changed the title Crash upon load when adding new Environment Areas to Bank Heist Crash upon load when adding new Environment Areas Jul 20, 2022
@MiamiCenterPL
Copy link
Contributor

MiamiCenterPL commented Jul 20, 2022

It looks like you've saved your map while test-playing your map.
Try rebuilding the Navigation or replacing the nav_manager file with the original one

@Neslon-Poggers
Copy link
Author

I did not save my map while testplaying. I have tried replacing the nav_manager file with the vanilla one, to no avail. I don't see how rebuilding the navmesh would help in any way.

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

No branches or pull requests

2 participants