• 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

Hoeloe commented

NullReferenceException help

Feb 11, '14 c#·nullreferenceexception

0 Replies

0 Votes

avatar image

hollym16 commented

Using Scripts in AssetBundles

Jul 23, '15 gameobject·assetbundle·nullreferenceexception

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

vivalabello published

Problem for moving an object with a button

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

0 Replies

0 Votes

avatar image

Ginxx009 commented

Why am i getting a NullReferenceException when i switch platform to Android?

Jan 30, '18 android·bug·nullreferenceexception·build settings·null reference exception

0 Replies

1 Votes

avatar image

AlucardJay commented

NullReferenceException Mecanim

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

0 Replies

0 Votes

avatar image

questJ commented

2D toolkit object instance error

Aug 21, '13 nullreferenceexception·2d-gameplay

0 Replies

0 Votes

avatar image

vithorescames edited

NavMeshAgent Warp error

Dec 15, '16 in Help Room

0 Replies

0 Votes

avatar image

GameVortex commented

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

Dec 12, '13 gameobject·nullreferenceexception

0 Replies

0 Votes

avatar image

jpmarqu published

NullReferenceException il2cpp

Feb 4, '15 ios·nullreferenceexception·xcode·il2cpp

0 Replies

1 Votes

avatar image

tekiro_devil edited

repeated nullreferenceexception errors

May 4, '12 nullreferenceexception·dungeon

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

AeonIxion edited

nullreference in speech dll

Mar 26, '15 nullreferenceexception

0 Replies

0 Votes

avatar image

Talantyyr published

NullReferenceException on OnTriggerEnter

Dec 2, '12 collision·nullreferenceexception·ontriggerenter

0 Replies

0 Votes

avatar image

Jeffrachov commented

Animations couldn't be found but still plays

Mar 12, '13 animation·nullreferenceexception·speed·event

0 Replies

0 Votes

avatar image

Nicolla commented

nullrefernceexception

Feb 1, '12 rigidbody·instantiate·nullreferenceexception

0 Replies

0 Votes

avatar image

destructivArts published

OnCollisionEnter GameObject throws NullReferenceException

Jun 5, '14 gameobject·nullreferenceexception·oncollisionenter

0 Replies

0 Votes

avatar image

smoggach commented

Camera.main NullReferenceException on Instantiated Character

Jan 20, '15 nullreferenceexception·maincamera

0 Replies

0 Votes

avatar image

Crystalline commented

Null Reference Raycast

Nov 3, '13 nullreferenceexception·null

0 Replies

0 Votes

avatar image

xingwanli published

UnityEngine.UI.Graphic.get_defaultGraphicMaterial() Failed!

Oct 21, '14 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

allanmb commented

Texture2D is Null even though hooked up in Inspector.

Jul 15, '13 texture2d·nullreferenceexception·ongui

0 Replies

-1 Votes

avatar image

Zoom377 edited

Strange GameObject null reference only in RPC

Nov 29, '14 networking·nullreferenceexception

0 Replies

0 Votes

avatar image

Auggie commented

Numerous Errors in custom editor Wiki

Apr 22, '13 c#·nullreferenceexception·custom editor

0 Replies

0 Votes

avatar image

Kaskorian commented

Null Reference Exception

Jul 23, '17 ui·nullreferenceexception·settings·exception

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

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

garrett asked

How do i fix river creator error?

Dec 2, '10 nullreferenceexception

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

Oobi23 commented

Null Reference - Help

May 26, '13 nullreferenceexception·object-reference-error

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