Search Unity

Unity crashes when i add an Listener to the Button_Click Script

Discussion in 'Prefabs' started by MarkDonnovin, Apr 10, 2020.

  1. MarkDonnovin

    MarkDonnovin

    Joined:
    Jan 6, 2017
    Posts:
    16
    I have a prefab named "InventorySystem", that has a child "InventorySlot".
    "InventorySlot" is a prefab itself.

    When i add a Button Script to "InventorySlot" and try to add "InventorySystem" for picking a function, Unity crashes and deletes my prefab.

    Why?
     
  2. SteenLund

    SteenLund

    Unity Technologies

    Joined:
    Jan 20, 2011
    Posts:
    639
    I don't know.

    Please file a bug report with a small project and steps to reproduce the issue