Moffein / Starstorm2Unofficial

Fixes and expands upon the pre-SotV version of Starstorm 2.
https://thunderstore.io/package/Risky_Lives/Videogame_Mod_2_Unofficial/
8 stars 4 forks source link

Game loading gets stuck at 100% #8

Closed LordVGames closed 8 months ago

LordVGames commented 8 months ago

Seems to have only started after the big update today. The mod version I'm running is 0.15.2 When the loading stops, this error is in the log:

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Starstorm2Unofficial.Modules.Assets.CreateMaterial (System.String materialName, System.Single emission, UnityEngine.Color emissionColor, System.Single normalStrength) (at <1c5cf1cca9a642ca91e9143cfd61a221>:IL_0041)
Starstorm2Unofficial.Modules.Assets.CreateMaterial (System.String materialName, System.Single emission, UnityEngine.Color emissionColor) (at <1c5cf1cca9a642ca91e9143cfd61a221>:IL_0001)
Starstorm2Unofficial.Modules.Assets.CreateMaterial (System.String materialName, System.Single emission) (at <1c5cf1cca9a642ca91e9143cfd61a221>:IL_0008)
Starstorm2Unofficial.Modules.Assets.CreateMaterial (System.String materialName) (at <1c5cf1cca9a642ca91e9143cfd61a221>:IL_0001)
Starstorm2Unofficial.Survivors.Nemmando.NemmandoCore..cctor () (at <1c5cf1cca9a642ca91e9143cfd61a221>:IL_0000)
Rethrow as TypeInitializationException: The type initializer for 'Starstorm2Unofficial.Survivors.Nemmando.NemmandoCore' threw an exception.
RoR2.Achievements.BaseAchievement.OnInstall () (at <1d532be543be416b9db3594e4b62447d>:IL_0022)
RoR2.UserAchievementManager.OnInstall (RoR2.LocalUser localUser) (at <1d532be543be416b9db3594e4b62447d>:IL_00E7)
RoR2.AchievementManager+<>c.<DoInit>b__3_0 (RoR2.LocalUser localUser) (at <1d532be543be416b9db3594e4b62447d>:IL_0014)
RoR2.LocalUserManager.AddUser (Rewired.Player inputPlayer, RoR2.UserProfile userProfile) (at <1d532be543be416b9db3594e4b62447d>:IL_004E)
RoR2.LocalUserManager.AddMainUser (RoR2.UserProfile userProfile) (at <1d532be543be416b9db3594e4b62447d>:IL_0005)
RoR2.LocalUserManager.AddMainUser (System.String userProfileName) (at <1d532be543be416b9db3594e4b62447d>:IL_0017)
RoR2.LocalUserManager+<>c.<Init>g__LogInWithPreviousSessionUser|24_0 () (at <1d532be543be416b9db3594e4b62447d>:IL_000C)
RoR2.SaveSystem.LoadUserProfiles () (at <1d532be543be416b9db3594e4b62447d>:IL_00E3)
RoR2.RoR2Application+<InitializeGameRoutine>d__69.MoveNext () (at <1d532be543be416b9db3594e4b62447d>:IL_0271)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <469e86e97fa2467ebffe49bbd6086325>:IL_0026)

Since it mentions Nemmando, I've already tried turning this mod's version of Nemmando on and off, error still happens regardless. This error also happens regardless of running it alongside normal SS2 or not.

LordVGames commented 8 months ago

Seems this has been fixed, at least as of 0.15.6. No more error in the log and the game loads fine.