MonAmiral / PlayerDogModel

Lethal Company mod to replace player models with doggies
MIT License
2 stars 4 forks source link

Dog Model Does Not Load #9

Closed The-Tarkol closed 10 months ago

The-Tarkol commented 10 months ago

Very tragic error discovered today. Here's the stack trace.

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: PlayerDogModel.PlayerModelReplacer.UpdateMaterial () (at :IL_0027) PlayerDogModel.Plugin+UnlockableSuitPatch.SwitchSuitForPlayerPatch (GameNetcodeStuff.PlayerControllerB player, System.Int32 suitID, System.Boolean playAudio) (at :IL_000F) (wrapper dynamic-method) UnlockableSuit.DMD(GameNetcodeStuff.PlayerControllerB,int,bool) SuitSaver.Patches.Patches.LoadSuitFromFile () (at :IL_0045) SuitSaver.Patches.Patches+EquipAfterSyncPatch+d__1.MoveNext () (at :IL_004B) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :IL_0026)

MonAmiral commented 10 months ago

This isn't enough information to find the source of the issue but I'm adding more logs in 0.3.2, if the problem persists please check the logs which should contain more precise information!