• 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

Leonniar published

Can't get (added) components from Empty Object, Animator giving me a hard time.,Can't get (added) components from Empty Object, animator get's on my nerves.

8 hours ago in Help Room

0 Replies

0 Votes

avatar image

Linus2005 published

Getting java.lang.Exception error on android and game ends up crashing.

May 27, '22 nullreferenceexception·java

0 Replies

0 Votes

avatar image

jackhamlingthon asked

Select correct answer in a quiz game

May 6, '22 in Help Room

0 Replies

0 Votes

avatar image

fturangga asked

Error running StartUp for Tile.NullReferenceException: Object reference not set to an instance of an object

Apr 22, '22 nullreferenceexception

0 Replies

0 Votes

avatar image

mataveli91 asked

MissingReferenceException: The object of type 'Script' has been destroyed but you are still trying to access it.

Feb 21, '22 in Help Room

0 Replies

1 Votes

avatar image

Bolteon360 published

Null reference exception, even though I want my method to return null

Feb 15, '22 in Help Room

0 Replies

0 Votes

avatar image

Jesuswoerks commented

Scriptable Object is getting set to null

Dec 14, '21 nullreferenceexception·scriptableobject·scriptable object

0 Replies

1 Votes

avatar image

CodesCove commented

Why does this work but this doesn't even though they are the same thing?

Nov 24, '21 3d·nullreferenceexception·animator controller

0 Replies

0 Votes

avatar image

saharrsh commented

NULL REFERENCE EXCEPTION ON SWITCHING PLATFORM TO ANDROID

Oct 1, '21 nullreferenceexception

0 Replies

-2 Votes

avatar image

anwaratxsample commented

Null Reference Exception in iOS build for some users. Not in Editor and cannot duplicate

Sep 18, '21 in Help Room

0 Replies

0 Votes

avatar image

GDarthy edited

What causes the NullReferenceException in Editor Window code

Sep 8, '21 in Help Room

0 Replies

0 Votes

avatar image

CrispGalileo edited

Trouble with SceneMananger.sceneLoaded and passing dictionaries

Jul 26, '21 in Help Room

0 Replies

0 Votes

avatar image

Setin commented

Script not working in build version

Jul 21, '21 build·nullreferenceexception

0 Replies

0 Votes

avatar image

CursedRat asked

LitJson not working

Jul 18, '21 nullreferenceexception·object reference·litjson

0 Replies

0 Votes

avatar image

SalwaRaion commented

My object is Null Reference Exception

Jun 1, '21 nullreferenceexception

0 Replies

0 Votes

avatar image

jdg23 published

Lose Object Reference when reloading a scene

Apr 26, '21 in Help Room

0 Replies

0 Votes

avatar image

prokiller7880 commented

How to rearange the order of a list after an item was removed?

Apr 22, '21 nullreferenceexception·lists·ordering

0 Replies

0 Votes

avatar image

FuryFight3r edited

NullReferenceException MaskableGraphic.UpdateCull() upon Loading Player Data.

Apr 16, '21 update·nullreferenceexception·null·mask·culling mask

0 Replies

0 Votes

avatar image

SaphalAryal edited

(Pun2) Hastable. Null Reference Error

Apr 3, '21 networking·nullreferenceexception·pun·hashtable

0 Replies

0 Votes

avatar image

Crandemolisher9 asked

Instantiating class creating copies with same instance ID of 0

Mar 29, '21 error·instantiate·nullreferenceexception·copy

0 Replies

0 Votes

avatar image

fxavierfaust published

Encountering "Null Reference Exception: Object reference not set to an instance of an object" in Build, but not in Editor

Jan 13, '21 build-error·nullreferenceexception·object reference

0 Replies

0 Votes

avatar image

Nevelson asked

Best practice handling deleted object refences during SceneManager.LoadScene

Jan 10, '21 nullreferenceexception·load·null·destroy object·missingreferenceexception

0 Replies

0 Votes

avatar image

SimRuJ commented

NullReferenceException when trying to access parent

Dec 9, '20 in Help Room

0 Replies

0 Votes

avatar image

dssanjay55555 edited

PlayFab CloudScript NullReferenceException

Dec 1, '20 scripting problem·script.·scripting beginner·nullreferenceexception·null

0 Replies

0 Votes

avatar image

MomkeyDev asked

Raycast2D hit.point is zero ?

Nov 3, '20 in Help Room

0 Replies

0 Votes

avatar image

kr8gz published

Animator just gives "NullReferenceException: Object not set to an instance of an object" when trying to record animation

Oct 28, '20 in Help Room

0 Replies

0 Votes

avatar image

vaculikjan asked

ML Agents Null Pointer error

Oct 19, '20 in Help Room

0 Replies

0 Votes

avatar image

Akhrand asked

Device Simulator - Null Reference Error

Oct 17, '20 error message·nullreferenceexception·package·mobile devices·simulator

0 Replies

0 Votes

avatar image

lennikauppi asked

How is this Instantiate NullReferenceException?

Oct 15, '20 in Help Room

0 Replies

0 Votes

avatar image

Hellium commented

Variable Assigning with GameObject.Find("") causing NullReferenceException?

Oct 11, '20 instantiate·prefab·nullreferenceexception·find·find-gameobject

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