Search Unity

Bug I can't fix these issues and there so annoying can anyone help and if its simple I will feel so dumb

Discussion in 'Editor & General Support' started by XR-gamer, Jul 24, 2023.

  1. XR-gamer

    XR-gamer

    Joined:
    May 21, 2023
    Posts:
    1
  2. luskos

    luskos

    Joined:
    Mar 4, 2013
    Posts:
    48
    It's searching for Inventory to be able to Add an Item, meaning the object that has Inventory.cs attached to. Null reference means that it's not finding Manifestation of such object. The manifestation is the Instance that can for example be seen in the Hierarchy.
     
    Last edited: Jul 25, 2023
  3. jeffdlmco

    jeffdlmco

    Joined:
    Nov 17, 2022
    Posts:
    12
    You have an error on line 41 of Inventory.cs. Show that file here, with code tags (the Code: button ^ in the edit ribbon)