• 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

Catlard edited

Using iTween with a prefab tree.

Aug 31, '11 nullreferenceexception·itween·instantiation

0 Replies

1 Votes

avatar image

FourthFloor published

Object Reference not set to instance of an object - error in 2d rope code

Aug 12, '12 c#·2d·nullreferenceexception·rope

0 Replies

0 Votes

avatar image

deeds0l edited

Calling a method using delegate makes my object null

Apr 30, '15 nullreferenceexception·delegate·delegates

0 Replies

0 Votes

avatar image

i.spirov published

Need help with iTween manual skip and device hang

Nov 24, '11 nullreferenceexception·itween

0 Replies

0 Votes

avatar image

Daniel77 asked

NullReferanceException layerMask script c# to unityscript.

Aug 9, '11 c#·nullreferenceexception·layermask

0 Replies

0 Votes

avatar image

RealSoftGames asked

Send/Recieve bytes client/Server Unity Unet

Feb 20, '16 in Help Room

0 Replies

0 Votes

avatar image

shadowjet323 edited

UnityEvent NullreferenceException in inspector

Apr 19, '19 in Help Room

0 Replies

2 Votes

avatar image

Statement answered

NullReferenceException error

Dec 22, '11 nullreferenceexception

0 Replies

0 Votes

avatar image

tasmydar asked

3d platform tutorial game over text null refence error

Aug 22, '11 nullreferenceexception·3dplatformtutorial

0 Replies

0 Votes

avatar image

Dreeka edited

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

Mar 10, '11 nullreferenceexception

0 Replies

0 Votes

avatar image

Yacuzo commented

NullReferenceException on empty project because of ScriptCompilerBase

Aug 7, '18 error·error message·nullreferenceexception·null reference exception·script compilation error

0 Replies

0 Votes

avatar image

JRule4 published

Handling NullReferenceException in EditorWindow OnGUI()

Oct 4, '12 nullreferenceexception·editorwindow·ongui

0 Replies

0 Votes

avatar image

hyman published

itween example work well on unity3d while NullReferenceException on android

Dec 28, '13 android·nullreferenceexception·unity4.3

0 Replies

0 Votes

avatar image

aleichert edited

Problem with Singleton and NullReferenceException?

Jul 15, '15 array·nullreferenceexception·class·singleton·indexoutofrangeexception

0 Replies

1 Votes

avatar image

mrt published

Script works on some objects and not others, also varies between scenes...

Oct 13, '11 android·nullreferenceexception

0 Replies

0 Votes

avatar image

TustinJimberlake edited

Null Reference Exception on Sprite Renderer

Jul 24, '16 in Help Room

0 Replies

0 Votes

avatar image

Somian edited

Why is my array null?

Nov 6, '13 javascript·array·nullreferenceexception·null

0 Replies

0 Votes

avatar image

lonedrow1 commented

GetComponent, Object Reference not set to an instance of an object

Sep 5, '14 raycast·nullreferenceexception·getcomponent

0 Replies

0 Votes

avatar image

Punkjim420 commented

Xml save/load script gives null reference exception in javascript

Feb 1, '13 javascript·nullreferenceexception·xml·saveload

0 Replies

0 Votes

avatar image

ilya.s published

NullReferenceException when using messaging system

Oct 13, '11 c#·nullreferenceexception·messaging

0 Replies

1 Votes

avatar image

Jeff-Kesselman asked

Unity editor hangs in null reference error after bundle export

Dec 28, '13 nullreferenceexception·bundle·hang

0 Replies

0 Votes

avatar image

lvictorino commented

NullReferenceException when trying to programatically populate cubes

Aug 23, '12 c#·prefab·nullreferenceexception·text file

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

boddole commented

Working Reference Still Throwing Null Reference Error

Mar 8, '14 c#·programming·nullreferenceexception

0 Replies

0 Votes

avatar image

yanebra commented

NullReferenceException!! Please Give a Hand

May 5, '13 nullreferenceexception·playerprefs·ngui·unlock

0 Replies

0 Votes

avatar image

virgiliu commented

External library error without external libraries?

May 27, '15 build-error·nullreferenceexception·plugin·dll·external-libraries

0 Replies

0 Votes

avatar image

Kagraxx published

NullReferenceException: UnityEngine.Rigidbody2D.get_velocity()

May 4, '15 physics·rigidbody2d·velocity·nullreferenceexception·movment

0 Replies

0 Votes

avatar image

sadashi published

Allocating Game Object name dynamically using Find

Dec 4, '13 gameobject·nullreferenceexception·dictionary·call·dynamic variables

0 Replies

0 Votes

avatar image

zwacky commented

LookAtMouse Script error

Jun 5, '11 nullreferenceexception

0 Replies

0 Votes

avatar image

Kokujou edited

My Project doesn't work - Generic.List throws NullReferenceException ?!

Mar 13, '13 c#·list·nullreferenceexception·project

0 Replies

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

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