Open BubbaBread opened 8 months ago
What version of Lethal Company are you on? I assume you didn't get any error log messages in BepinEx's console?
When I was testing it my BepinEx console never showed even though it was enabled but I was testing it out on v49, next time I play with my friends I can see if it happens but I'm not sure where to look since a lot of stuff scrolls past the console.
heres what BepinEx says [Error : Unity Log] Unable to open archive file: C:/Users/[my name]/AppData/Roaming/r2modmanPlus-local/LethalCompany/profiles/BrutalPipe/BepInEx/plugins/GhoulMage/funny/sassycoilhead [Error : Unity Log] Failed to read data for the AssetBundle 'C:\Users[my name]\AppData\Roaming\r2modmanPlus-local\LethalCompany\profiles\BrutalPipe\BepInEx\plugins\GhoulMage\funny\sassycoilhead'. [Error :Sassy Coilhead] Failed to load Coilhead's dance... I censored my name btw
From what the log is telling, either 'sassycoilhead' doesn't exist or it cant read the file for some reason. It's the AssetBundle that I made containing the animation for the coilhead, it needs to be in the specified folder (inside plugins/GhoulMage/funny). If you accidentally deleted it or can't locate the 'sassycoilhead' AssetBundle anywhere try to download the mod from thunderstore.
From what the log is telling, either 'sassycoilhead' doesn't exist or it cant read the file for some reason. It's the AssetBundle that I made containing the animation for the coilhead, it needs to be in the specified folder (inside plugins/GhoulMage/funny). If you accidentally deleted it or can't locate the 'sassycoilhead' AssetBundle anywhere try to download the mod from thunderstore.
This issue also happens in my game. My previous thoughts were probably wrong. Please take a look at that path. If you use Thunderstore to download it, there should be a GhoulMage AssyCoinhead in the path.
And the full path should be like "BepInEx\plugins\GhoulMage-SassyCoilhead\GhoulMage\funny\sassycoilhead" Please fix it.
I do not understand why do you want me to add another folder between plugins and GhoulMage.
Sorry didn't mean to close this issue.
I think you should get the path of your plugin by code instead of using a specific string.
Your files sometimes are not under the folder "GhoulMage", if it is downloaded by a mod manager.
A relative path may help.
This mod uses BepinEx's Paths.PluginPath to locate the plugins folder. I assume this mod manager puts the downloaded mod in a folder inside plugins (ie plugins/mod-name) and my mod is being put inside that folder. My mistake for not guessing this might happen as even with manual downloads some users might use folders to arrange their mods.
I understand the issue, I'll locate the mod .dll folder instead of relying on Paths.PluginPath.
Pushed new source code that should fix it. I cannot test the new version right now, can someone verify it works? I'll update the Thunderstore page as well if confirmed.
I went through all of my mods, made a folder with just the coil head mod and an enemy spawner and still no luck. I'm not sure what I can give to help but if you need something lmk how to get it and I'll respond soon enough.