BeardLib-Editor
BeardLib-Editor copied to clipboard
Crash upon load when adding new Environment Areas
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
- Change the env of bank heist to use a custom cubemap, specific to the level.
- Add a new environment area (we tried adding one to the interior), with a unique cubemap.
- 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
Update: It's not just bank heist. It's every heist.
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
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.