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

Hey I am having some trouble with a simple problem. Help appreciated.

Discussion in 'Scripting' started by ShaveTHEbacoN, Nov 9, 2015.

  1. ShaveTHEbacoN

    ShaveTHEbacoN

    Joined:
    Nov 9, 2015
    Posts:
    3
  2. LeftyRighty

    LeftyRighty

    Joined:
    Nov 2, 2012
    Posts:
    5,148
    its a null ref exception error. Have you populated the slot in the inspector for the GUImanager with an instance of the playergenerator?

    also, unless you are particularly attached to the legacy gui system, you might want to look into the new UI system, more powerful, easier to use and flexible.

    https://unity3d.com/learn/tutorials/topics/user-interface-ui
     
  3. ShaveTHEbacoN

    ShaveTHEbacoN

    Joined:
    Nov 9, 2015
    Posts:
    3
    yes its definitely all assigned on the objects. the only thing I cant assign is the Player Array slot I see when I click the script in the project manager window
     
  4. ShaveTHEbacoN

    ShaveTHEbacoN

    Joined:
    Nov 9, 2015
    Posts:
    3
    yes its definitely all assigned on the objects. the only thing I cant assign is the Player Array slot I see when I click the script in the project manager window