BeardLib-Editor icon indicating copy to clipboard operation
BeardLib-Editor copied to clipboard

Crash upon load when adding new Environment Areas

Open Neslon-Poggers opened this issue 2 years ago • 3 comments

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 avatar Jul 14 '22 02:07 Neslon-Poggers

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

Neslon-Poggers avatar Jul 20 '22 14:07 Neslon-Poggers

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

MiamiCenterPL avatar Jul 20 '22 14:07 MiamiCenterPL

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.

Neslon-Poggers avatar Jul 21 '22 02:07 Neslon-Poggers