-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Attempting to extract vanilla Minecraft sounds can cause NBS to crash #507
Comments
Hi, thank you for reporting the bug! Can you run nbs from the Launch Debug. bat file from its installation folder and post the debug.txt in the same folder after the crash for more logs from the runner? thanks! |
this is interesting.. I always install all of my programs (including NBS) in a protected folder (usually the tl;dr: I have NBS installed in the Program Files folder, and since NBS generally runs as a user application exporting likely causes it to crash (since it doesn't have permission to write to its directory) I'm not going to close this myself just yet (as ofc NBS still can crash), but definitely a very important detail to keep in mind :D |
I've also run into this crash from trying to open the default songs stored in NBS's installation folder, but after realizing this is a permissions issue it makes perfect sense (read and open the NBS file in a protected directory, then save (and fail to write) when NBS tries to initially save it) |
Describe the bug
I didn't notice this until recently when I needed to re-extract my Minecraft sounds after a PC reset; however, when I tried to extract my MC sounds into Minecraft, it caused NBS to crash instantly. I'm still not 100% sure, but I really think this is most likely a permission issue; if its installation folder is protected (like if it was installed in Program Files), writing the sound files to its directory might cause a crash (since it wouldn't have permission to write there)
To Reproduce
Steps to reproduce the behavior (though, unlike my usual issues I don't know if this will be easily reproducible):
0: (using a VM may help with this to not conflict with your main NBS installation)
Program Files
orProgram Files (x86)
)Launch Note Block Studio
(since the installer runs as admin, using the auto launch option might also make NBS run as admin)Expected behavior
well, I would hopefully expect NBS to copy all the sound files into the right folder without crashing :D
Screenshots

Additional context

One major thing that I find interesting is that NBS didn't crash like it usually does most of the time; usually, when NBS crashes, it shows a window referencing the line of GameMaker code that likely caused the problem (like this image from one of my previous GitHub issues)
instead, it seems like the bug was deep enough that Visual C++ threw an error; I'm not entirely sure though, so I will include the NBS log it generated on opening (though it doesn't indicate to me that there were any issues loading anything)
log.txt
The text was updated successfully, but these errors were encountered: