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 while trying to auto load the underlays #677

Open
Whurrhurr opened this issue Oct 29, 2021 · 3 comments
Open

Crash while trying to auto load the underlays #677

Whurrhurr opened this issue Oct 29, 2021 · 3 comments
Labels

Comments

@Whurrhurr
Copy link

Describe the bug

self-explanatory, go into the environment menu (not world > environment) and scroll down to the underlay and click browse (or in this case the "..." by the underlay path) trying to select any underlay scene that isn't loaded will crash the game with
`Application has crashed: C++ exception
mods/BeardLib-Editor-master/Classes/ProjectManager.lua:80: bad argument #1 to 'pairs' (table expected, got nil)

SCRIPT STACK

get_current_level_node() @mods/BeardLib-Editor-master/Classes/ProjectManager.lua:80
check_data() @mods/BeardLib-Editor-master/Classes/Dialogs/AssetsManagerDialog.lua:754
get_level_packages() @mods/BeardLib-Editor-master/Classes/Dialogs/AssetsManagerDialog.lua:759
is_asset_loaded() @mods/BeardLib-Editor-master/Classes/Dialogs/AssetsManagerDialog.lua:768
_callback() @mods/BeardLib-Editor-master/Classes/MenuUIExt.lua:315
final() @mods/BeardLib/Classes/UI/Dialogs/ListDialog.lua:183
RunCallback() @mods/BeardLib/Classes/UI/MenuUI/Item.lua:1290
MousePressed() @mods/BeardLib/Classes/UI/MenuUI/Item.lua:1421
MousePressed() @mods/BeardLib/Classes/UI/MenuUI/Item.lua:1447
mouse_press() @mods/BeardLib/Classes/UI/MenuUI/MenuUI.lua:511
lib/managers/mousepointermanager.lua:345`

this also happens when previewing vanilla heists as well

Steps to reproduce the issue

go into the environment tab, browse for underlay scenes by pressing the "..." beside the underlay path. selecting an unloaded underlay scene will crash the game.

Log file

No response

Minimal reproduction

No response

@Whurrhurr Whurrhurr added the bug label Oct 29, 2021
@Luffyyy Luffyyy changed the title Beardlib editor shows every underlay scene instead of just only the loaded underlay scenes & crashes when attempting to see if the underlay you selected is loaded or not Crash while trying to auto load the underlays Oct 29, 2021
@Luffyyy
Copy link
Owner

Luffyyy commented Oct 29, 2021

Some things in the editor now automatically load so they show all of the items for convenience. I will check this issue.

@Luffyyy
Copy link
Owner

Luffyyy commented Oct 29, 2021

Though it doesn't seem like it has auto loading in reality

@Luffyyy
Copy link
Owner

Luffyyy commented Oct 29, 2021

I couldn't get your crash but I did make the list only show loaded for now. I don't recommend loading scenes from database for now. I don't know why, but they just don't work through there atm.

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