FluffyFishGames / AdvancedCompany

Repository for my AdvancedCompany mod.
Creative Commons Zero v1.0 Universal
13 stars 15 forks source link

asset bundle doesnt load correctly, log gets spammed, main menu doesnt render #147

Open 43bt opened 8 months ago

43bt commented 8 months ago

Describe the bug honestly not sure what the bug here is. i think it fails to load a file and the game spits out log spam due to said file and shows a black screen on the main menu. music still plays.

To Reproduce Steps to reproduce the behavior: start the game with advancedcompany installed using r2modman

Expected behavior game works, main menu appears

Screenshots insert a screenshot of a black screen here

Additional context blank

Logfiles this appears on initial load

[Error  : Unity Log] Failed to decompress data for the AssetBundle 'C:\Users\redacted\AppData\Roaming\r2modmanPlus-local\LethalCompany\profiles\redacted\BepInEx\plugins\PotatoePet-AdvancedCompany\advancedcompany\advancedcompanyassets'.
[Error  :AdvancedCompany] Error while booting!
[Error  :AdvancedCompany] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at AdvancedCompany.PlayerRocketBoots.LoadAssets (UnityEngine.AssetBundle assets) [0x00001] in G:\Unity\AdvancedCompany\UpgradeCompany\PlayerRocketBoots.cs:18
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <787acc3c9a4c471ba7d971300105af24>:IL_006A
   --- End of inner exception stack trace ---
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <787acc3c9a4c471ba7d971300105af24>:IL_0083
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <787acc3c9a4c471ba7d971300105af24>:IL_0000
  at AdvancedCompany.Assets+<>c.<Boot>b__1_0 (System.Type type) [0x0005c] in G:\Unity\AdvancedCompany\UpgradeCompany\Assets.cs:34
  at AdvancedCompany.Boot.BootManager.Boot () [0x00396] in G:\Unity\AdvancedCompany\UpgradeCompany\Boot\BootManager.cs:106
  at AdvancedCompany.Plugin.Awake () [0x00145] in G:\Unity\AdvancedCompany\UpgradeCompany\Plugin.cs:68

this gets spammed repeatedly

[Error  : Unity Log] Error while building Render Graph.
[Error  : Unity Log] ArgumentNullException: Value cannot be null.
Parameter name: source
Stack trace:
UnityEngine.Material..ctor (UnityEngine.Material source) (at <e27997765c1848b09d8073e5d642717a>:IL_0008)
AdvancedCompany.PostProcessing.VisionEnhancer.Setup () (at G:/Unity/AdvancedCompany/UpgradeCompany/PostProcessing/VisionEnhancer.cs:33)
UnityEngine.Rendering.HighDefinition.CustomPostProcessVolumeComponent.SetupIfNeeded () (at <b8abf62aeac646cea5c5cde032ff9314>:IL_0008)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.DoCustomPostProcess (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph renderGraph, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle& source, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle depthBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle normalBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle motionVectors, System.Collections.Generic.List`1[T] postProcessList) (at <b8abf62aeac646cea5c5cde032ff9314>:IL_0040)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.CustomPostProcessPass (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph renderGraph, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle source, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle depthBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle normalBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle motionVectors, System.Collections.Generic.List`1[T] postProcessList, UnityEngine.Rendering.HighDefinition.HDProfileId profileId) (at <b8abf62aeac646cea5c5cde032ff9314>:IL_0023)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.RenderPostProcess (UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph renderGraph, UnityEngine.Rendering.HighDefinition.HDRenderPipeline+PrepassOutput& prepassOutput, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle inputColor, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle backBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle uiBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle afterPostProcessBuffer, UnityEngine.Experimental.Rendering.RenderGraphModule.TextureHandle sunOcclusionTexture, UnityEngine.Rendering.CullingResults cullResults, UnityEngine.Rendering.HighDefinition.HDCamera hdCamera, UnityEngine.CubemapFace cubemapFace, System.Boolean postProcessIsFinalPass) (at <b8abf62aeac646cea5c5cde032ff9314>:IL_0334)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.RecordRenderGraph (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest, System.Collections.Generic.List`1[T] aovBuffers, System.Collections.Generic.List`1[T] aovCustomPassBuffers, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer commandBuffer) (at <b8abf62aeac646cea5c5cde032ff9314>:IL_0A51)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ExecuteWithRenderGraph (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest, System.Collections.Generic.List`1[T] aovBuffers, System.Collections.Generic.List`1[T] aovCustomPassBuffers, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer commandBuffer) (at <b8abf62aeac646cea5c5cde032ff9314>:IL_0059)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ExecuteRenderRequest (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest) (at <b8abf62aeac646cea5c5cde032ff9314>:IL_03C8)
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, Object)

Add a list of all of your mods

BepInEx-BepInExPack-5.4.2100 RugbugRedfern-Skinwalkers-4.0.1 2018-LC_API-3.4.5 Ozone-Runtime_Netcode_Patcher-0.2.5 Sligili-More_Emotes-1.3.3 x753-Mimics-2.4.1 HolographicWings-LethalExpansion-1.3.44 x753-More_Suits-1.4.1 FlipMods-TooManyEmotes-1.9.5 Evaisa-HookGenPatcher-0.0.5 Evaisa-LethalLib-0.14.2 malco-Lategame_Upgrades-3.3.0 RickArg-Helmet_Cameras-2.1.5 tinyhoot-ShipLoot-1.0.0 Evaisa-LethalThings-0.9.4 HomelessGinger-MaskedEnemyOverhaul-3.1.2 Rune580-LethalCompany_InputUtils-0.6.3 AllToasters-SpectateEnemies-2.3.1 EliteMasterEric-Coroner-1.6.0 sfDesat-ExpansionAssets-1.1.0 sfDesat-Orion-2.0.0 Verity-TooManySuits-1.0.5 Drakorle-MoreItems-1.0.2 BunyaPineTree-ModelReplacementAPI-2.3.8 PopleZoo-BetterItemScan-3.0.2 FlipMods-LetMeLookDown-1.0.1 Pooble-LCBetterSaves-1.7.3 Jordo-NeedyCats-1.2.0 IAmBatby-LethalLevelLoader-1.1.6 scoopy-Scoopys_Variety_Mod-1.2.0 Zingar-SecretLabs-3.3.7 Hexnet111-SuitSaver-1.1.4 AlexCodesGames-AdditionalContentFramework-1.0.3 Vulf-GokuBracken-1.5.4 FlipMods-MoreBlood-1.0.2 vasanex-ItemQuickSwitch-1.1.0 matsuura-HealthMetrics-1.0.2 Nips-Brutal_Company_Plus-3.5.1 femboytv-LethalPosters-1.2.0 xCeezy-LethalEscape-0.8.5 Backrooms-Backrooms-0.1.3 Zingar-Atlas_Abyss-1.1.8 JunLethalCompany-GamblingMachineAtTheCompany-1.3.5 EliteMasterEric-WackyCosmetics-2.0.0 PotatoePet-AdvancedCompany-1.1.10 Ceelery-Kast-1.0.3 5Bit-VoiceHUD-1.0.4 fumiko-CullFactory-0.9.1 AudioKnight-StarlancerAIFix-3.2.0 Magic_Wesley-Infernis-3.1.1 Hardy-LCMaxSoundsFix-1.1.0 KayNetsua-E_Gypt_Moon-2.0.15 Major_And_Skiz-MoreInteriors-2.5.0 xilophor-LethalNetworkAPI-2.1.6 sfDesat-ViewExtension-1.1.0 sfDesat-Aquatis-1.1.1 Tolian-Maritopia-0.3.7 Piggy-LC_Office-1.0.22 Tolian-Celestria-0.4.7 mrov-TerminalFormatter-0.0.7 Badham_Mods-SCPFoundationDungeon-3.0.0 AudioKnight-StarlancerMoons-0.5.7 jockie-LethalExpansionCore-1.3.15 sfDesat-Celest-0.2.1 Lordfirespeed-OdinSerializer-2022.11.9 sfDesat-Explorations-2.2.4 Electric131-OuijaBoard-1.5.3 FoxGod-ThiccCompanyModelReplacement-2.0.1 Rattenbonkers-TVLoader-1.1.1 FutureSavior-Hold_Scan_Button-1.1.1 kRYstall9-FastSwitchPlayerViewInRadar-1.3.2 togglemybits-Strange_Objects-1.2.3 kuba6000-LC_Masked_Fix-0.0.2 akechii-DiscountAlert-2.3.0 jaspercreations-Scopophobia-1.1.1 NiaNation-AbsasCosmetics-1.2.3 HGG-JigglePhysicsPlugin-1.1.2 EliteMasterEric-SlimeTamingFix-1.0.2 ViViKo-NoSellLimit-1.0.1 mrov-LethalRichPresence-0.5.8 FutureSavior-Boombox_Sync_Fix-1.1.2 atg-FreeJester-1.0.3 extraes-LethalLoudnessMeter-1.0.2 Kittenji-Dont_Touch_Me-1.2.1 NotAtomicBomb-TerminalApi-1.5.2 fivetoofive-DetailedScan-1.2.2 linkoid-DissonanceLagFix-1.0.0 Justice69-ImmersiveScraps-1.2.0 ShaosilGaming-GeneralImprovements-1.1.10 taffyko-NiceChat-1.2.4 Bibendi-AEIOUCompany-1.3.6 gamehog44-LethalRadiation-1.2.2 Zaggy1024-PathfindingLagFix-1.2.1 readthisifbad-SnatchinBracken-1.4.0 CTMods-KarmaForBeingAnnoying-1.1.0 BudgetAirpods-InsanityRemastered-1.1.2 alexanderjoe-LC_Symphony-1.3.0 Spyci-CozyImprovements-1.2.2 Woecust-Immersive_Visor-0.2.1 AgentRev-ShootableMouthDogs-1.0.1 Bobbie-MetalRecharging-1.0.0 F4ilS4fe-MaskTheDead-1.0.5 rileyzzz-Skibidi_Toilet-1.0.2 Nebulaetrix-ScanFix-1.0.3 HolographicWings-LEDefaultModules-1.3.38 Bobbie-FixRPCLag-1.0.1 MagicalFlyingPurpleTreeSquid-Drive_Suit-1.0.3 x753-Peepers-0.9.6 SweetFox-Lethal_Company_Simplified_Chinese_Localization-1.8.33 Chdata-DataCompany-1.0.3

43bt commented 8 months ago

downgrading to 1.1.4 fixes this btw so must have been a recent issue

edit: 1.1.7 and 1.1.9 work as well. something in 1.1.10 broke everything with the current modlist.