• 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

shane.rachel edited

Need Help!

Dec 13, '12 rigidbody·nullreferenceexception·drag·throw

0 Replies

0 Votes

avatar image

marnes published

3D Platformer Tutorial getting Lerpz's SkinnedMeshRenderer using c#

Dec 13, '12 c#·nullreferenceexception·skinnedmeshrenderer·thirdpersoncontroller

0 Replies

0 Votes

avatar image

BawsAnimations published

Shooting Script Instantiate Problems. Help?

Dec 9, '12 instantiate·nullreferenceexception·bullet·shoot

0 Replies

0 Votes

avatar image

AlucardJay commented

NullReferenceException Mecanim

Dec 4, '12 mecanim·model·nullreferenceexception·maya·rig

0 Replies

0 Votes

avatar image

Talantyyr published

NullReferenceException on OnTriggerEnter

Dec 2, '12 collision·nullreferenceexception·ontriggerenter

0 Replies

0 Votes

avatar image

userqt published

Object not selected in hierarchy gives an error

Nov 21, '12 editor·nullreferenceexception·hierarchy

0 Replies

0 Votes

avatar image

Bunny83 edited

Not sure why I'm getting a null reference exception

Oct 27, '12 nullreferenceexception

0 Replies

0 Votes

avatar image

Nanity commented

NullReferenceException

Oct 6, '12 nullreferenceexception

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

lvictorino commented

NullReferenceException when trying to programatically populate cubes

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

0 Replies

0 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

murkantilism published

Enemy Targetting/Player Attack Problem Wiki

Jul 30, '12 nullreferenceexception·targetting

0 Replies

0 Votes

avatar image

tekiro_devil edited

repeated nullreferenceexception errors

May 4, '12 nullreferenceexception·dungeon

0 Replies

0 Votes

avatar image

mweldon commented

NullReferenceException with GetComponent() C#

Apr 19, '12 c#·nullreferenceexception·getcomponent

0 Replies

0 Votes

avatar image

gyx0576 commented

Errors with Image Effects

Apr 12, '12 error·nullreferenceexception·missing·image effects·post-process-effect

0 Replies

1 Votes

avatar image

vivalabello published

Problem for moving an object with a button

Apr 3, '12 error·beginner·nullreferenceexception·moving

0 Replies

0 Votes

avatar image

Kleptomaniac commented

Resource Load Prefab

Mar 10, '12 nullreferenceexception·prefabs·class·resources.load

0 Replies

0 Votes

avatar image

Nicolla commented

nullrefernceexception

Feb 1, '12 rigidbody·instantiate·nullreferenceexception

0 Replies

0 Votes

avatar image

mmischitelli commented

Referencing gameObject from script after Instantiate

Jan 13, '12 gameobject·instantiate·prefab·nullreferenceexception

0 Replies

0 Votes

avatar image

CAM published

Accessing components through a collision

Dec 23, '11 collision·nullreferenceexception·component·access

0 Replies

0 Votes

avatar image

Statement answered

NullReferenceException error

Dec 22, '11 nullreferenceexception

0 Replies

0 Votes

avatar image

syclamoth commented

NullReferenceException script problem?

Dec 14, '11 c#·nullreferenceexception

0 Replies

-1 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

yeoldesnake 1 commented

Null reference exception - singletone

Oct 20, '11 c#·editor·nullreferenceexception·singleton

0 Replies

2 Votes

avatar image

ilya.s published

NullReferenceException when using messaging system

Oct 13, '11 c#·nullreferenceexception·messaging

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

Ray-Pendergraph commented

Troubleshooting desktop build receiving unhandled NULL exception

Sep 22, '11 build·crash·nullreferenceexception·freeze·log

0 Replies

0 Votes

avatar image

crazyKnight commented

Program received signal: “SIGABRT”

Sep 20, '11 error·nullreferenceexception·twitter·sigabrt

0 Replies

0 Votes

avatar image

Catlard edited

Using iTween with a prefab tree.

Aug 31, '11 nullreferenceexception·itween·instantiation

0 Replies

1 Votes

avatar image

tasmydar asked

3d platform tutorial game over text null refence error

Aug 22, '11 nullreferenceexception·3dplatformtutorial

0 Replies

0 Votes

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

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