Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

NullReferenceException

Discussion in 'Scripting' started by God4Killer, Dec 26, 2015.

  1. God4Killer

    God4Killer

    Joined:
    Dec 26, 2015
    Posts:
    3
    Hi guys, i am new in C# and this my first game using this language. in the lvl 1 game i created have been doing really well so i make lvl 2 and in here i have some error like this
    NullReferenceException: Object reference not set to an instance of an object
    UnityEngine.UI.Selectable.Select () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Selectable.cs:617)
    InputdanButonHandling.FixedUpdate () (at Assets/Gamelvl2/InputdanButonHandling.cs:34)

    Please help me with this error ASAP thanks :D
     

    Attached Files:

  2. malkere

    malkere

    Joined:
    Dec 6, 2013
    Posts:
    1,209
  3. God4Killer

    God4Killer

    Joined:
    Dec 26, 2015
    Posts:
    3