Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Brackeys inventory system - unassignedReferenceExeption: variable WeaponSlot has not been assigned

Discussion in 'Immediate Mode GUI (IMGUI)' started by almarjin, Oct 16, 2014.

  1. almarjin

    almarjin

    Joined:
    Oct 16, 2014
    Posts:
    1
    I'm new to unity and I'm trying to follow this tutorial, and encountered the error below when trying to equip a weapon. I'm using unityChan for the character.

    Error:
    UnassignedReferenceException: The variable WeaponSlot of Character has not been assigned.
    You probably need to assign the WeaponSlot variable of the Character script in the inspector.
     
  2. JesseProductions11

    JesseProductions11

    Joined:
    Jan 2, 2015
    Posts:
    1
    I Have The Same Problem Here.