• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Nullreferenceexception

Cancel

This exception means the program is attempting to use an object reference that has not been instantiated.


Cancel

Unanswered Questions

  • All Questions
avatar image

VoxPlacitum published

NullReferenceException....Again(sorry)

Apr 29, '14 color·nullreferenceexception·getcomponent

0 Replies

0 Votes

avatar image

J_Issa published

Not sure why I keep getting a Null Reference Exception? (Networking)

Apr 28, '14 networking·beginner·nullreferenceexception

0 Replies

0 Votes

avatar image

OrbitSoft commented

NullReferenceException: Object reference not set to an instance of an object - error in AdvancedBuildingSystem!

Apr 28, '14 error·nullreferenceexception

0 Replies

0 Votes

avatar image

Benproductions1 commented

Help with eval()

Apr 28, '14 javascript·input·nullreferenceexception·math

0 Replies

0 Votes

avatar image

nathanielstevens published

Editing in Animator removes Player tag

Apr 28, '14 c#·error·animator·nullreferenceexception·tag

0 Replies

0 Votes

avatar image

Hassan Adam commented

nullrefrence exception when i attach another script to the same object

Apr 26, '14 nullreferenceexception

0 Replies

0 Votes

avatar image

KiraSensei commented

Getting NullReferenceException from the enemies my spawner makes and it won't collide with my weapon.

Apr 23, '14 collider·spawn·nullreferenceexception·weapon·spawner

0 Replies

0 Votes

avatar image

Elon commented

No idea what happend to unity (See pictures)

Apr 16, '14 nullreferenceexception

0 Replies

0 Votes

avatar image

palboy published

Object reference not set to an instance of an object in c#.

Apr 12, '14 c#·nullreferenceexception·getcomponent·timescale

0 Replies

0 Votes

avatar image

Lemmings commented

NullReferenceException using StartCoroutine

Apr 9, '14 coroutine·nullreferenceexception

0 Replies

0 Votes

avatar image

Le-Capitaine edited

[Solved] Actually totally explainable NRE with 2D array

Apr 9, '14 c#·nullreferenceexception·arrays·2d array

0 Replies

0 Votes

avatar image

mexey published

Instantinate NullReferenceError problem

Apr 5, '14 c#·instantiate·nullreferenceexception

0 Replies

-1 Votes

avatar image

DeadKenny commented

Why is this not working?

Mar 31, '14 collision·array·nullreferenceexception·ontriggerenter·for

0 Replies

0 Votes

avatar image

maltadirk commented

C# - Auto increment of Scenes through Collision

Mar 30, '14 nullreferenceexception·getcomponent·scene-switching·application.loadlevel

0 Replies

0 Votes

avatar image

Doctor_Gonzo published

Null Reference when trying to instantiate a prefab not in the scene

Mar 18, '14 instantiate·photon·nullreferenceexception

0 Replies

0 Votes

avatar image

getyour411 commented

Error when player trying to take damage from a hazard

Mar 13, '14 error·gameobject·nullreferenceexception·health

0 Replies

0 Votes

avatar image

troyle commented

Adding sound to animation: NullReferenceException

Mar 9, '14 sound·nullreferenceexception·animation events

0 Replies

0 Votes

avatar image

boddole commented

Working Reference Still Throwing Null Reference Error

Mar 8, '14 c#·programming·nullreferenceexception

0 Replies

0 Votes

avatar image

sarim987 asked

NullReferenceException: Object reference not set to an instance of an object

Mar 5, '14 object·touch·nullreferenceexception·instance

0 Replies

0 Votes

avatar image

Aridez commented

Null Reference Exception - Object Not Set

Feb 27, '14 javascript·nullreferenceexception

0 Replies

0 Votes

avatar image

robertbu commented

NullReferenceException: Object reference not set to an instance of an object

Feb 26, '14 nullreferenceexception

0 Replies

0 Votes

avatar image

nastasache commented

Trying to get an RPC to display the health of a player over their head

Feb 25, '14 gui·networking·nullreferenceexception

0 Replies

0 Votes

avatar image

Alextrew published

rotate object to face mouse cursor x/z top down shooter

Feb 19, '14 mouse·rotate·nullreferenceexception·rotate object

0 Replies

0 Votes

avatar image

Wolftic published

Getting error on instatiating.

Feb 16, '14 nullreferenceexception·save·load·system·nullreference

0 Replies

0 Votes

avatar image

Deon-Cadme commented

Help, "NullReferenceException"

Feb 16, '14 raycast·nullreferenceexception

0 Replies

0 Votes

avatar image

jdizzle1227 published

Trying to create a new script in javascript error

Feb 16, '14 error·nullreferenceexception

0 Replies

0 Votes

avatar image

Hoeloe commented

NullReferenceException help

Feb 11, '14 c#·nullreferenceexception

0 Replies

0 Votes

avatar image

Jamora commented

Null reference exception help

Feb 6, '14 raycast·nullreferenceexception

0 Replies

0 Votes

avatar image

emonegarand published

Why am I getting a NullReferenceException while trying to set a gameobjects animation frame?

Jan 18, '14 animation·2d·nullreferenceexception·animationclip

0 Replies

0 Votes

avatar image

robertbu commented

Getting nullreference error with voxelization code.

Jan 17, '14 javascript·nullreferenceexception·voxel

0 Replies

0 Votes

  • »
  • ‹
  • 9
  • 10
  • 11
  • 12
  • 13
  • ›
  • »

Followers

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

c# error null reference exception instantiate gameobject scripting problem array javascript error message null raycast object reference getcomponent unity 5 object list reference instance prefab arrays class transform networking unity 2d ui


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges