#Roasted's Threat Themes Causing Massive Stutter

1 messages · Page 1 of 1 (latest)

dusty karma
#

Howdy.

I'd been having issues with the game stuttering for quite some time now, despite having hardware that is more than capable enough to run Rain World without issue. Today, I decided to buckle down, and figure out why. After thoroughly testing every mod I use individually, I've narrowed it down to Roasted's Threat Themes. For some reason, in specific rooms (such as SH_A21, or many rooms in SB), the game will choke, and my frames will dip to the 30s from 75 stable. I love this mod a lot, but it can be genuinely unplayable when the game stutters so hard.

I don't believe it to be a memory issue, as the game sits at around 800MB usage when only Roasted's Threat Themes and CRS are enabled (vs. 1,400MB when using my normal mod setup). The game utilizes hardly any of my CPU or GPU, and it's about the same percentage as when any other mod is enabled.

The issue happens regardless of whether other mods are enabled, or just CRS + Roasted's Threat Themes.

No logs are generated.

Does anyone else have experience with this? Is there any way to fix, or reduce it? Or is this a case of reporting it to the mod author, and hoping for the best?

Thanks!

dusty karma
#

After a lot of digging around, I've found out that this is possibly an issue with CRS, rather than Roasted's Threat Themes specifically? I noticed the Steam page for CRS says that Discord is the preferred method of reporting bugs, so...

@kind skiff I hope it isn't too much of a bother to ping you here!

kind skiff
#

what version of the game are you running on?

dusty karma
#

The latest one. 1.9.15.3 I believe it was?

kind skiff
#

1.9.15b is the latest, but they called it that in the announcement

#

loading custom audio files are somewhat inherently more performance-intensive than the base game ones. those are all loaded into memory when the game starts, and kept there. CRS would previously load the files when entering the region, but that caused a freeze for like a second

#

the current version streams the audio files, and I assume the stuttering is somehow a product of that

#

everybody else who reported stuttering hasn't had issues since 1.9.15 came out, though

dusty karma
#

oh, that's so weird... is there anything that can be done?

kind skiff
#

probably not

#

btw does this usually happen in rooms with a high amount of creatures? like maybe batflies?

dusty karma
#

yeah. swarm rooms, or like, the lantern mouse room in shaded.

#

no amount of messing with graphics settings helps, nor does the game appear to utilize all that much of my hardware.

kind skiff
#

mmkay, my current suspicion is that a high amount of neutral creatures is like, rapidly causing the threat level to dip to 0 (unloading the audio streams) and then getting set to like, 0.00001 (reloading them again) or... something along those lines

#

I'll look into it when I can, but I don't really know how the audio streaming stuff works, I just copy-pasted the code from 1.5

dusty karma
#

that does check out... actually. it almost never happens with only hostile mobs, except in certain cases.

kind skiff
#

which will preload them all

dusty karma
#

some rooms in filtration are pretty bad.

dusty karma
kind skiff
#

mm, looks like you'd need the unity editor to build the assetbundle

#

there are a few tutorials around you can find on how to build one, though

#

this file is the one that contains all the vanilla threat themes

dusty karma
#

i have unity, though i've only ever used it to look at assets, rather than building them... i've next to no experience with all that haha

#

i'd have to get the version of unity rain world was made with, right?

kind skiff
#

good question, I'm not actually sure

dusty karma
#

i'll take a look and report back.

dusty karma
#

alright, so will i need to use an asset ripper to get all of the vanilla songs, throw in the modded songs, and then make a new bundle to replace the old one?

kind skiff
#

yeah pretty much

dusty karma
#

oh, thankfully that IS something i already know how to use. thank goodness.

#

because the mod has all of the information about when and where to play the songs, will i need to leave the mod enabled? should i delete the sound files from the mod's workshop folder?

kind skiff
#

yeah the mod will need to stay enabled, unless you move its files into the vanilla folder or smthn

#

the sound files won't matter though

#

crs only streams them if they aren't in the assetbundle already

dusty karma
#

ahhh alright.

#

if the issue of streaming them on the fly can't be solved, is there a possibility to add some sort of remix option to use the legacy method? or was the freezing on region load so bad that it had to be changed? haha. i'm way more okay with the game freezing for a bit at a gate than freezing while i'm trying to not die or something.

kind skiff
#

yeah we'll probably add that option whenever we make a remix menu

#

remix menus kinda suck to make tbh so I've been delaying it as long as possible

dusty karma
#

oh, haha. fair enough. i will greatly appreciate it whenever it does come about! 🙏

dusty karma
#

so, presumably, i do not need to follow the web server part of the tutorial, right? now that i have these.

kind skiff
#

ye, those should be fine

dusty karma
#

somehow... it didn't fully work?

#

like, it seems better.

#

but some rooms are still more problematic than they would be without the tracks.