FelixReuthlinger / AutoMapPins

GNU Lesser General Public License v3.0
5 stars 3 forks source link

NullReferenceException when starting game #37

Closed kabili207 closed 3 months ago

kabili207 commented 3 months ago

This doesn't seem to affect things during gameplay, but I figured I should report it just in case

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
AutoMapPins.Model.PinComponent+<VisibleCheck>d__6.MoveNext () (at <09ad55f388a14e84bec1801566808d60>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <3aefadeb43334fcf8b7b268355c16be2>:0)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
AutoMapPins.Model.PinComponent:SetVisiblePin()
AutoMapPins.Model.PinComponent:Awake()
UnityEngine.GameObject:AddComponent()
AutoMapPins.Patches.CommonPatchLogic:Patch(GameObject)
AutoMapPins.Patches.ContainerPatch:Postfix(Container&)
Container:DMD<Container::Awake>(Container)
UnityEngine.GameObject:AddComponent()
AdventureBackpacks.Patches.PlayerAwakePatch:Postfix(Player)
Player:DMD<Player::Awake>(Player)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
FejdStartup:SetupCharacterPreview(PlayerProfile)
FejdStartup:UpdateCharacterList()
FejdStartup:SetSelectedProfile(String)
FejdStartup:DMD<FejdStartup::Start>(FejdStartup)
FelixReuthlinger commented 3 months ago

how did you get that error?

kabili207 commented 3 months ago

It happens during the initial game load, before the main screen shows up. I've attached the full log file if it helps LogOutput.log

FelixReuthlinger commented 3 months ago

ok, not sure if this would fix it, but try version 2.2.1

kabili207 commented 3 months ago

That seems to have resolved it