Why do bugs sometimes happen and sometimes don't?

I have a game I’m making and I’m all done with it except fixing some final bugs. The problem I’m having is that there are several bugs I noticed when I was play testing with 7 players in game and so I wrote them down. The thing is, when I play test in studio they never seem to appear. So why do bugs happen sometimes? Like I just don’t understand how the game will run properly the first few rounds but then all of the sudden bugs that you’ve never encountered just appear.

Anyone else ever have this problem?

No of course, not. We do not know what ‘‘bugs’’ you mean. Please clarify and show some code.

Well it’s an entire schplew of code, I’m not needing my code reviewed or anything although I could. I’m just asking in general if this ever happens for other devs.

It really depends on what you’re trying to achieve and how your code is built, I could playtest my games with 8 players, and there are no problems at all.

That’s because you have patched/fixed most bugs that can or may occur during a single-player session but you have ignored the more complex ones that might occur during multiple-player sessions due to simply not noticing them. Most of the time more players means more API calls for your scripts, if some of them can’t handle such calls correctly when rate limits are involved(basically when they’re being overused), bugs are expected to occur.

Also interaction between players isn’t a normal thing in studio and it’s hard to test complex multiple-player scenarios in it.

1 Like

Yes, all the time it’s possible that code that works for 1 player will break when there are more players.