• 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

WasTabon asked

What is this Unity error when starting in editor?

Sep 16, '20 nullreferenceexception

0 Replies

0 Votes

avatar image

nikofon007 edited

NavMeshAgent.CalculatePath keeps getting null reference exception

Sep 9, '20 navmesh·nullreferenceexception

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

CreationAl3xStudio asked

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

Aug 21, '20 in Help Room

0 Replies

0 Votes

avatar image

Marioooo commented

Unity Overlap Point Causing Error

Sep 1, '20 in Help Room

0 Replies

0 Votes

avatar image

SajevID edited

Probuilder throws ArgumentReferenceException when Extruding object on Android

Aug 7, '20 android·bug·android build·nullreferenceexception·argumentexception

0 Replies

0 Votes

avatar image

nilesmac published

AudioManager not working in one of my scenes?

Aug 5, '20 in Help Room

0 Replies

0 Votes

avatar image

The_annoying_guy commented

NullReferenceException: When creating a graph

Jun 30, '20 in Help Room

0 Replies

0 Votes

avatar image

anthogd asked

List becomes null in Parent when filled in child script,List becomes null within own class after being filled in other class

Jun 17, '20 nullreferenceexception·lists·children

0 Replies

0 Votes

avatar image

wforkes published

NullReference on trying to instantiate a prefab which has been set using scriptable object,Particle giving null reference but works in scene view

Jun 9, '20 instantiate·particles·nullreferenceexception·scriptableobject·scriptable object

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

silvia_secomandi asked

Leap Motion error messages

Jun 1, '20 in Help Room

0 Replies

0 Votes

avatar image

Boolable asked

iOS exposed object properties are null

May 14, '20 in Help Room

0 Replies

0 Votes

avatar image

unity_PlUwqHwwwCbu5w published

Errors with the Google Maps SDK Demo

May 7, '20 nullreferenceexception·map·mapping·map making·map-generation

0 Replies

0 Votes

avatar image

tommylin121314 asked

MissingReferenceException When "Reviving" After Ad

May 7, '20 nullreferenceexception

0 Replies

0 Votes

avatar image

KarthikPutchala edited

NullReferenceException: Object reference not set to an instance of an object Admanager.ShowFullScreenAd ()

May 4, '20 nullreferenceexception·admob·object-reference-error

0 Replies

0 Votes

avatar image

aniket_vs published

NULL REFERENCE EXCEPTION,NULL REFERENCE EXCEPTION while accessing child objects unity2D

Apr 28, '20 gameobject·transform·nullreferenceexception·getcomponent·transform.position

0 Replies

0 Votes

avatar image

pekames published

Remote Config gives me a NullReferenceException error

Apr 21, '20 error message·nullreferenceexception·window·remote

0 Replies

0 Votes

avatar image

NewtNoot0114 published

Basic Combat System errorNullReferenceException: Object Reference not set to an instance of an object.

Apr 20, '20 nullreferenceexception·combat

0 Replies

0 Votes

avatar image

Namey5 commented

Instantiating Custom Object in Unity MonoBehaviour Scripts

Apr 17, '20 object·nullreferenceexception

0 Replies

0 Votes

avatar image

Greng published

Null Reference using IMGUIContainer and array fields

Apr 4, '20 ui·array·nullreferenceexception·editorgui

0 Replies

0 Votes

avatar image

SwastikBhattacharyya asked

Using TextMeshProUGUI variable in a static function is returning a NullReferenceException

Mar 27, '20 in Help Room

0 Replies

0 Votes

avatar image

synthc asked

UnityEditor.InspectorWindow.DrawEditors null errors with no trace

Mar 27, '20 editor·inspector·nullreferenceexception

0 Replies

0 Votes

avatar image

monobanana commented

Bogus Null Reference in Build only,Bogus Phony NULL REFERENCE in BUILD ONLY (works in editor)

Mar 6, '20 in Help Room

0 Replies

0 Votes

avatar image

tormentoarmagedoom edited

Help with raycast == null

Mar 2, '20 raycast·nullreferenceexception·null

0 Replies

0 Votes

avatar image

onuregeunaldi1 asked

While level restarted I get NullReferenceException

Feb 27, '20 c#·unity 5·nullreferenceexception

0 Replies

0 Votes

avatar image

kaboose1066 asked

Localization Unity Tutorial NullReferenceException

Feb 6, '20 in Help Room

0 Replies

0 Votes

avatar image

ewajs asked

Reloading a Scene throws NullReferenceException on GO with nested Prefabs

Feb 6, '20 gameobject·nullreferenceexception·prefabs·hide·show

0 Replies

0 Votes

avatar image

Priyanka-Rajwanshi commented

NullReferenceException: Object reference not set to an instance of an object - I understand the issue but can't find the solution

Dec 21, '19 nullreferenceexception·addforce

0 Replies

0 Votes

avatar image

gladkikhvadim93 edited

NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.get_gameObject

Nov 27, '19 in Help Room

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