• 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

All Questions

  • Unanswered Questions
avatar image

Bunny83 commented

Nullreference on device only

Jun 15, '12 ios·nullreferenceexception·serialization

1 Reply

1 Votes

avatar image

whydoidoit commented

"Null Reference Error" when using a custom class as an array

Jun 2, '12 array·nullreferenceexception·class·custom·new

1 Reply

0 Votes

avatar image

In-Visuals edited

NullReferenceException in Raycast script

May 31, '12 raycast·nullreferenceexception

1 Reply

0 Votes

avatar image

whydoidoit answered

Object reference not set despite assigning instance of an object in GUI

May 29, '12 javascript·gui·inspector·nullreferenceexception

1 Reply

0 Votes

avatar image

whydoidoit edited

Vector3 TransformDirection "object reference"-error

May 28, '12 velocity·nullreferenceexception·character controller

2 Replies

0 Votes

avatar image

Bunny83 commented

Parenting problem

May 20, '12 nullreferenceexception·parent

1 Reply

0 Votes

avatar image

Harko33 published

NullReferenceException when using Single Joystick prefab

May 19, '12 prefab·nullreferenceexception·joystick

1 Reply

0 Votes

avatar image

syclamoth converted answer to comment

Can I enable null reference checking in production code on iOS

May 18, '12 ios·nullreferenceexception

1 Reply

0 Votes

avatar image

fafase commented

"NullReferenceException" error

May 14, '12 nullreferenceexception

1 Reply

0 Votes

avatar image

Mimi commented

Script finds everything but still i get "nullreference, object not set to an instance of an object"???

May 7, '12 animation·nullreferenceexception·object-reference-error

1 Reply

0 Votes

avatar image

NorthernEagle commented

GetComponent usage returns NullReferenceException, not sure why

May 7, '12 nullreferenceexception·getcomponent·find

1 Reply

1 Votes

avatar image

tekiro_devil edited

repeated nullreferenceexception errors

May 4, '12 nullreferenceexception·dungeon

0 Replies

0 Votes

avatar image

Julien-Lynge answered

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

Apr 24, '12 nullreferenceexception·object reference

1 Reply

0 Votes

avatar image

numberkruncher commented

EditorApplication.OpenScene causing NullReferenceException

Apr 21, '12 nullreferenceexception·editorwindow

1 Reply

1 Votes

avatar image

mweldon commented

NullReferenceException with GetComponent() C#

Apr 19, '12 c#·nullreferenceexception·getcomponent

0 Replies

0 Votes

avatar image

syclamoth converted comment to answer

Custom class and null reference exception

Apr 16, '12 nullreferenceexception·classes

2 Replies

0 Votes

avatar image

naqvir answered

Find a shader not in the scene

Apr 15, '12 gameobject·material·shaders·nullreferenceexception·find

1 Reply

0 Votes

avatar image

fafase commented

NullReferenceException When Attempting To Play AudioClips Closed

Apr 13, '12 c#·nullreferenceexception·audiosource

1 Reply

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

asimov published

Odd NullRerenceExcepetion

Apr 11, '12 nullreferenceexception

2 Replies

0 Votes

avatar image

Owen-Reynolds commented

Null Reference Exception confusion

Apr 11, '12 javascript·nullreferenceexception

3 Replies

0 Votes

avatar image

funasylum published

iTween call producing NullReferenceException

Apr 10, '12 nullreferenceexception·itween

3 Replies

1 Votes

avatar image

fpiesche published

NullReferenceException on GetComponent of Prefab Instance

Apr 6, '12 nullreferenceexception·getcomponent·prefabs·instance

1 Reply

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

Eric5h5 edited

Null refrence exception on an object that was just instantiated

Apr 2, '12 instantiate·nullreferenceexception·textmesh

1 Reply

0 Votes

avatar image

DaveA answered

NullReferenceException trouble

Mar 29, '12 error·nullreferenceexception

1 Reply

0 Votes

avatar image

naqvir answered

Why is this null? Finding a script on an object

Mar 28, '12 gameobject·nullreferenceexception·getcomponent·null

3 Replies

0 Votes

avatar image

Essential commented

NullReferenceException using CompareTag

Mar 27, '12 nullreferenceexception·ontriggerstay·comparetag

3 Replies

0 Votes

avatar image

syclamoth commented

can't GetCompoent in constructor?

Mar 15, '12 javascript·nullreferenceexception

2 Replies

0 Votes

avatar image

Kleptomaniac commented

Resource Load Prefab

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

0 Replies

0 Votes

  • »
  • ‹
  • 47
  • 48
  • 49
  • 50
  • 51
  • ›
  • »

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