• 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

Dibbie commented

Null Reference exception with custom class object

Jun 16, '16 in Help Room

0 Replies

1 Votes

avatar image

Jamora commented

Null reference exception help

Feb 6, '14 raycast·nullreferenceexception

0 Replies

0 Votes

avatar image

sarim987 asked

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

Mar 5, '14 object·touch·nullreferenceexception·instance

0 Replies

0 Votes

avatar image

Aridez commented

Null Reference Exception - Object Not Set

Feb 27, '14 javascript·nullreferenceexception

0 Replies

0 Votes

avatar image

sooonism published

iTween - Null Reference

May 6, '15 nullreferenceexception·itween

0 Replies

0 Votes

avatar image

macintosh1097 published

Boolean won't set false?

Jan 22, '18 in Help Room

0 Replies

0 Votes

avatar image

Pindwin published

Editor forgets elements of array after saving changes to code

Dec 3, '13 c#·networking·nullreferenceexception·arrays

0 Replies

0 Votes

avatar image

TimBorquez commented

NullReferenceException in follow function Wiki

Dec 11, '13 javascript·gameobject·vector3·nullreferenceexception·exception

0 Replies

0 Votes

avatar image

BillMurray edited

3 errors that don't show up right away

Feb 27, '15 nullreferenceexception

0 Replies

0 Votes

avatar image

YaserDev commented

Code works in editor, however not in build... C#

Aug 20, '16 c#·nullreferenceexception·ienumerator·error build

0 Replies

0 Votes

avatar image

DaresFireson asked

Null Reference in UnityStandardAssets.Utility.WaypointProgressTracker.Update

May 28, '19 in Help Room

0 Replies

0 Votes

avatar image

KiraSensei commented

Getting NullReferenceException from the enemies my spawner makes and it won't collide with my weapon.

Apr 23, '14 collider·spawn·nullreferenceexception·weapon·spawner

0 Replies

0 Votes

avatar image

ZacharySBlubaugh edited

Unity event calling function gets nullreferencexception on bool

Sep 22, '16 c#·array·nullreferenceexception·eventsystem·bool

0 Replies

0 Votes

avatar image

emonegarand published

Why am I getting a NullReferenceException while trying to set a gameobjects animation frame?

Jan 18, '14 animation·2d·nullreferenceexception·animationclip

0 Replies

0 Votes

avatar image

Luis_Hayabusa28 commented

Help with my PopUp Damage Text!

Jun 8, '16 in Help Room

0 Replies

0 Votes

avatar image

Barsonax edited

UNET Command not working

Nov 7, '16 in Help Room

0 Replies

2 Votes

avatar image

K1llercake published

NullReferenceException with animation clips

Nov 2, '14 nullreferenceexception

0 Replies

0 Votes

avatar image

gulliwog commented

Help how to reference prefab for instantiating between loads.

May 27, '18 gameobject·instantiate·prefab·nullreferenceexception·json

0 Replies

0 Votes

avatar image

DocteurCox commented

Missing errors in console ?

May 28, '13 nullreferenceexception·console

0 Replies

0 Votes

avatar image

Wolftic published

Getting error on instatiating.

Feb 16, '14 nullreferenceexception·save·load·system·nullreference

0 Replies

0 Votes

avatar image

palboy published

Object reference not set to an instance of an object in c#.

Apr 12, '14 c#·nullreferenceexception·getcomponent·timescale

0 Replies

0 Votes

avatar image

Ben_the_Lad commented

Pause Script Suddenly Stops Working

May 4, '15 nullreferenceexception·pause·instance·object reference

0 Replies

0 Votes

avatar image

afender7 published

Array of dictionaries: "Object reference not set to an instance of an object"

Jun 13, '16 in Help Room

0 Replies

0 Votes

avatar image

Nakou asked

Reference lost in NetworkEntity

May 13, '16 in Help Room

0 Replies

0 Votes

avatar image

revolute commented

iOS - Null Reference Exception

Jul 20, '17 nullreferenceexception·xcode

0 Replies

0 Votes

avatar image

jamius19 published

Why this if logic isnot short circuiting?

Dec 6, '15 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

Natek_Omega published

GUI.Label not set to an instance

May 5, '14 javascript·gui·nullreferenceexception

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

dmoney published

IOS Xcode crash only when connected to Xcode

Oct 27, '15 ios·crash·iphone·nullreferenceexception

0 Replies

0 Votes

  • »
  • ‹
  • 3
  • 4
  • 5
  • 6
  • 7
  • ›
  • »

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