Sound Effect Issue

Sometimes when I add sound effects to my project, The entire thing crashes! Not just for me either, It has happened to my team members on my project! What can I do to fix it?
finding out the reason for the crashes?

but unfortunately you didn't give much to even start looking for the cause, so:

1) is that a crash to desktop or do you get an error message? If error message, which one?

2) is the new music coded with a regular codec, or are you trying new codecs for minimized filesize?

3) how often do crashes happen, and are they consistent (always crashing) or not (sometimes crash, sometimes sound)

4) do the filenames of the soundfiles follow networking conventions and rules? can you give us the filenames to check if you don't know?
5) Does an error show?

Edit: Oh nevermind, that was also point 1 😛 But I guess it is the only one that really matters. Show us the error and we can probably solve your issue.
5) Does an error show?
1) is that a crash to desktop or do you get an error message? If error message, which one?
😉

We might also just be in a different quantum reality here, wherein 5==1, who am I to judge? 🤣
Well, I thought to add a point to their list, but then realized that point was already part of your list. I did edit it right away, but you might have missed that, if you opened my post right after posting.
Well, I thought to add a point to their list, but then realized that point was already part of your list.
Not mine.

But yes, I must've posted while you were editing. It's all funny, no worries.
It doesn't show an error, It just freezes when SE is added or edited. I can't give every single name since they are supposed be voice lines (and there is a lot of these). Do special characters effect this sorta thing? It some times crashes for others quickly and some it takes a long time
finding out the reason for the crashes?

but unfortunately you didn't give much to even start looking for the cause, so:

1) is that a crash to desktop or do you get an error message? If error message, which one?

2) is the new music coded with a regular codec, or are you trying new codecs for minimized filesize?

3) how often do crashes happen, and are they consistent (always crashing) or not (sometimes crash, sometimes sound)

4) do the filenames of the soundfiles follow networking conventions and rules? can you give us the filenames to check if you don't know?
examples are enough, including examples of the event pages where you are using those SE's.
please post full screenshots of the event pages

and yes, SOME special characters are forbidden by networking rules. But not every special character.

and sound effects are extremely unlikely to freeze the game engine, so this points more to an error in using those SE's, which is why we need to see screenshots of an event to see how they are used.
Here is an example event 🙂
1662672235890.png

examples are enough, including examples of the event pages where you are using those SE's.
please post full screenshots of the event pages

and yes, SOME special characters are forbidden by networking rules. But not every special character.

and sound effects are extremely unlikely to freeze the game engine, so this points more to an error in using those SE's, which is why we need to see screenshots of an event to see how they are used.
Yeam it 100% sure is the special characters. Try to avoid those at all times in filenames. ALso outside RPG maker. Not only special characters, even spaces can be problematic (for example when you make it a browser game). Instead of spaces, use _ which is a safe character to use.
Please rename all your files.

How in the world did you even manage to get a / into your filenames for that Lily/Itim... ?????
Windows itself should have blocked any use of / or \ in any filename as that is used for folder-designations.

spaces are also a big no in filenames for browsers, which is why the underscore is often used.

And while & and () are theoretically possible they are also bad choices.


Aftter you renamed all those files, and corrected all the references to use the new filenames (which will be a lot of work), things should be stable again.
And just a reminder, after you change the names of the files and edit the events to re-select the new files, you'll need to start a new game to test the changes. Trying to load a save will probably crash upon boot now.
Please rename all your files.

How in the world did you even manage to get a / into your filenames for that Lily/Itim... ?????
Windows itself should have blocked any use of / or \ in any filename as that is used for folder-designations.

I was wondering the same thing. I thought maybe MZ support sub-folders? Would have been nice if it did.
I was wondering the same thing. I thought maybe MZ support sub-folders? Would have been nice if it did.

1662706237500.png


Hmm.. this works no problem for me. Sound plays exactly as it should.

Definitely thinking it has something to do with the & symbol or the spaces... haven't tested it in browser yet though.
I stand corrected - yes, MZ supports subfolders and that is how that \ got in.

but the other special symbols are still a problem.


EDIT:
just for clarification:
is it the editor that crashes or the game that crashes?
because I assumed the problem is in the game so far...
Definitely thinking it has something to do with the & symbol or the spaces... haven't tested it in browser yet though.
Hmm... nope that doesn't seem to be it

now I'm really not sure :blink:

This works for me.. this time I even tested on a browser via itch.io just now too.
..just tested the exact filename you had shown above even now also...
1662707667820.png


Confirmed sound plays just like it should.


...perhaps it could even have something to do with the encoding of the sound files?
or maybe there is a filesize limit?

@Sweetevilkitty
What encoding is used for the sound file & what size is it?
could you upload a test sound file for us to try out?

EDIT:
just for clarification:
is it the editor that crashes or the game that crashes?
because I assumed the problem is in the game so far...
I was just wondering that same question.

..but if it is the game, are you running it directly from the maker or some other way?

Edit:
The more I re-read the posts.. now I'm really thinking this is referring to the editor itself ..hmm
(and there is a lot of these)
Perhaps that is even part of the issue? Too many files? ...consuming to much memory to load them all ..idk totally just taking guesses now

..I just tried with 12,456 files & it did take my PC about a minute (maybe a bit less) to open and show all the files. My PC has decent specs though.. maybe something like this would crash/freeze if the PC couldn't handle...

They were smaller files though total amount of the files was only 131MB.. maybe filesize has something to do with it also

Idk again totally just taking guesses now
do you use any plugins refarding to sounds (BGM, BGS, SE, ME?),
if so, could you screenshot your plugin database?
do you use any plugins refarding to sounds (BGM, BGS, SE, ME?),
if so, could you screenshot your plugin database?
I don't use plugins, I use subfolders for the voicelines ^^ and my voiceline sizes range from 30kb to 231kb (My pc personally doesn't have the crash issue often) Its mainly my team members.
My pc personally doesn't have the crash issue often
EDIT:
just for clarification:
is it the editor that crashes or the game that crashes?
because I assumed the problem is in the game so far...
Just in the editor not the game itself!

Original thread: https://forums.rpgmakerweb.com/threads/sound-effect-issue.151164/