• 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

MilKID asked

NullReference Exception Error - makes no Sense at all!

Feb 21, '17 in Help Room

0 Replies

0 Votes

avatar image

hexagonius commented

how do i fix this error

Feb 8, '17 in Help Room

0 Replies

0 Votes

avatar image

IgorAherne commented

Null Reference Exception For An Unknown Reason

Jan 30, '17 in Help Room

0 Replies

1 Votes

avatar image

Doozku asked

Input Working in Editor but not in Build

Jan 30, '17 in Help Room

0 Replies

0 Votes

avatar image

DaDarkDan asked

NullReferenceException in FiniteStateMachine with ThirdPersonCharacter

Jan 28, '17 in Help Room

0 Replies

0 Votes

avatar image

freedom667 edited

Grenade damage script error

Jan 20, '17 in Help Room

0 Replies

0 Votes

avatar image

shockvawe edited

Attacking And Health Script in C# Gives Error : NullReferenceException: Object reference not set to an instance of an object

Jan 18, '17 in Help Room

0 Replies

0 Votes

avatar image

DanielArkham published

NullReferenceException error with dreamlo

Jan 17, '17 error·nullreferenceexception·www·cs

0 Replies

0 Votes

avatar image

vithorescames edited

NavMeshAgent Warp error

Dec 15, '16 in Help Room

0 Replies

0 Votes

avatar image

Ralp7 edited

UI Text value doesn't change on KeyDown

Dec 10, '16 in Help Room

0 Replies

0 Votes

avatar image

getyour411 commented

AI raycasting problem

Dec 6, '16 c#·raycast·ai·nullreferenceexception·line of sight

0 Replies

0 Votes

avatar image

Desoxi commented

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

Nov 17, '16 movement·error message·nullreferenceexception

0 Replies

0 Votes

avatar image

doublemax commented

Raycast / Null Reference Exception

Nov 11, '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

TreyH commented

Error Getting thrown WHILE correct behavior exhibited

Nov 1, '16 nullreferenceexception

0 Replies

0 Votes

avatar image

Sergio7888 commented

Unity Gradient NullReferenceException in Script

Oct 30, '16 text·nullreferenceexception·gradient

0 Replies

0 Votes

avatar image

SirSmileX commented

Pathfindingscript NullReference error

Oct 22, '16 in Help Room

0 Replies

0 Votes

avatar image

psteng published

Photon multiplayer trying to enable scripts and getting NullReferenceException

Oct 21, '16 scripting problem·multiplayer·nullreferenceexception

0 Replies

0 Votes

avatar image

YazanDeAce published

Loading different bundles give me a null exception

Oct 11, '16 assetbundle·nullreferenceexception·assetbundles·asset bundle

0 Replies

0 Votes

avatar image

miksugains commented

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

Oct 10, '16 error·nullreferenceexception

0 Replies

0 Votes

avatar image

Esvan_arts edited

NullReferenceException after save the Scene and Project

Oct 7, '16 in Help Room

0 Replies

0 Votes

avatar image

JedBeryll commented

Beginners troubles with audiosource

Oct 1, '16 audio·nullreferenceexception·audiosource·audioclip

0 Replies

0 Votes

avatar image

Lao2211 published

Possible Bug in Unity 5.4.1? NullReferenceException in console but everything works as expected (no old logs)

Sep 27, '16 prefab·nullreferenceexception·video·movietexture

0 Replies

0 Votes

avatar image

akshay_zz edited

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

Sep 23, '16 in Help Room

0 Replies

0 Votes

avatar image

zolutr edited

rpg enemy target gives null reference

Sep 23, '16 in Help Room

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

SaurabhStudio commented

Naming an instantiated gameobject gives nullreferenceexception.

Sep 21, '16 instantiate·nullreferenceexception

0 Replies

0 Votes

avatar image

vmedina1 asked

Bugs on my C# Scripts?

Sep 21, '16 in Help Room

0 Replies

0 Votes

avatar image

JediYinYang published

NullReferenceException Error - method works most of time, but breaks in specific case. Can't find the difference in use that breaks it, nor the null that triggers the error. Instance might be involved.

Sep 19, '16 nullreferenceexception

0 Replies

0 Votes

avatar image

TheZestySquid published

I don't understand NullReferenceException: Object reference not set to an instance of an object

Sep 14, '16 in Help Room

0 Replies

0 Votes

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

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