Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Planting Mistland plants causes NRE loop #9

Description

@brianjbatchelor

With only OdinQoL and the BepInExPack enabled, whenever Jotun puffs or Magecaps

are selected in the cultivator the following error is constantly generated:

Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
OdinQOL.Patches.PlantGrowth.HaveGrowSpace (Plant plant) (at :0)
OdinQOL.Patches.PlantGrowth+Player_UpdatePlacementGhost_Patch.Postfix (Player __instance, UnityEngine.GameObject& ___m_placementGhost, UnityEngine.GameObject ___m_placementMarkerInstance) (at :0)
(wrapper dynamic-method) Player.DMDPlayer::UpdatePlacementGhost(Player,bool)
Player.LateUpdate () (at <035307060cbb4b30b916cd82ebd80490>:0)

This occurs inside and outside of the mistlands. Let me know if there is any additional testing I can do. Thanks for your work.
Capture

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions