BudgetAirpods / InsanityRemastered

A mod for Lethal Company that adds more features to the insanity mechanic.
4 stars 3 forks source link

Error in console #9

Closed ChooMcoo closed 8 months ago

ChooMcoo commented 8 months ago

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: SanityRewrittenMod.General.InsanityRemastered_AI.SetupVariables () (at <249334095d8147a486dcde16e6fe1abf>:0) SanityRewrittenMod.PlayerHallucination.SetupVariables () (at <249334095d8147a486dcde16e6fe1abf>:0) SanityRewrittenMod.General.InsanityRemastered_AI.OnEnable () (at <249334095d8147a486dcde16e6fe1abf>:0) UnityEngine.GameObject:AddComponent() SanityRewrittenMod.SanityMainManager:SavePlayerModel() SanityRewrittenMod.SanityMainManager:SceneLoaded(Scene, LoadSceneMode) UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode)

If you need any additional details let me know. I'm playing with about a dozen other mods.

BudgetAirpods commented 8 months ago

I'm aware of this error and have fixed it (though it's not released yet). It has to due with the order of how I executed the caching of the player model. It shouldn't break the game/mod, but it's better to have no errors at all. If it did break the game in any way, please do let me know. I'll keep this open just in case. Thank you!