• 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

Daniel77 asked

NullReferanceException layerMask script c# to unityscript.

Aug 9, '11 c#·nullreferenceexception·layermask

0 Replies

0 Votes

avatar image

CHPedersen answered

For Loop and Null referance error Ios Scripting

Aug 8, '11 nullreferenceexception·for-loop·gameobject.find

1 Reply

0 Votes

avatar image

cupsster commented

Will not allow me to create ANY Scripts.

Oct 30, '12 nullreferenceexception

2 Replies

0 Votes

avatar image

aldonaletto edited

first person controller null reference

Aug 6, '11 fps·nullreferenceexception·null

1 Reply

0 Votes

avatar image

SisterKy commented

JS OOP trouble

Aug 7, '11 error·nullreferenceexception

1 Reply

1 Votes

avatar image

dgergergs answered

Sending C# commands to an OnTriggerEnter's collider object

Aug 5, '11 collision·nullreferenceexception·ontriggerenter·walker

1 Reply

0 Votes

avatar image

AlucardJay commented

How to use Explosion/Detonator Framework

Feb 6, '14 nullreferenceexception·detonator

3 Replies

0 Votes

avatar image

Roventae answered

raycasting in c# - NullRefrenceException error

Aug 2, '11 c#·raycast·nullreferenceexception·mouse-drag

2 Replies

0 Votes

avatar image

Dreeka commented

Null Reference Exception when trying to active script

Jul 30, '11 nullreferenceexception

1 Reply

0 Votes

avatar image

swatmaster69 commented

Rethrow as TypeInitializationException

Mar 24, '13 nullreferenceexception

1 Reply

1 Votes

avatar image

biohazard commented

The infamous NullReferenceException again

Jul 26, '11 javascript·nullreferenceexception

1 Reply

0 Votes

avatar image

Bovine edited

NullReferenceException problem

Jun 25, '13 nullreferenceexception

2 Replies

0 Votes

avatar image

Syllith commented

Raycast causes game to crash when shooting up

Jul 25, '11 raycast·instantiate·collider·nullreferenceexception·null

1 Reply

0 Votes

avatar image

Peter G edited

NullReferenceException about rigidbody tags

Jul 24, '11 rigidbody·nullreferenceexception·tag

1 Reply

0 Votes

avatar image

Bunny83 commented

(C#)Usage of own type returns NullReferenceException

Jul 24, '11 c#·networking·nullreferenceexception·custom-class

1 Reply

1 Votes

avatar image

Blankzz commented

NullReference exception problem Closed

Jul 22, '11 nullreferenceexception·scriptableobject

1 Reply

0 Votes

avatar image

sriram90 commented

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

Jul 19, '11 nullreferenceexception

1 Reply

0 Votes

avatar image

sdgd commented

I'm having more problems accessing a variable from another script in c#

Jan 19, '13 c#·variable·nullreferenceexception·getcomponent

2 Replies

0 Votes

avatar image

blackmethod answered

NullReferenceException Error, has not been solved yet.

Jul 10, '11 rigidbody·nullreferenceexception·reference

3 Replies

1 Votes

avatar image

blackmethod commented

NullReferenceException Error

Jul 9, '11 error·nullreferenceexception·reference·null·exception

6 Replies

1 Votes

avatar image

testure commented

Shoot a bullet based on where the mouse cursor is located at?

Jun 30, '11 nullreferenceexception

0 Replies

0 Votes

avatar image

Aldwoni_legacy commented

NullReferenceException with boolean from other script

Jun 28, '11 nullreferenceexception·boolean

2 Replies

0 Votes

avatar image

phatality123 commented

Animation problem Closed

Jun 27, '11 nullreferenceexception

0 Replies

0 Votes

avatar image

Flynn commented

varible type class not working if not declared public

Jun 27, '11 javascript·nullreferenceexception·class

2 Replies

0 Votes

avatar image

XXXar300500XXX published

Missing Method Exception and Null Reference Exception

Jun 1, '13 game·nullreferenceexception·tornado-twins·missingmethodexception·worm

3 Replies

0 Votes

avatar image

Ray-Pendergraph commented

Troubleshooting desktop build receiving unhandled NULL exception

Sep 22, '11 build·crash·nullreferenceexception·freeze·log

0 Replies

0 Votes

avatar image

save rolled back

Object reference not set to instance of an object

Jun 17, '11 character·controller·nullreferenceexception·component

2 Replies

0 Votes

avatar image

wbl1 edited

looping through game objects

Jun 17, '11 nullreferenceexception·children·for-loop·findgameobjectswithtag

1 Reply

0 Votes

avatar image

KodaL commented

AddComponent giving NullReferenceException in Editor script

Jun 15, '11 editor-scripting·nullreferenceexception·addcomponent

1 Reply

0 Votes

avatar image

DaveA edited

Other problem with NullReferenceException

Jun 12, '11 nullreferenceexception

1 Reply

0 Votes

  • »
  • ‹
  • 49
  • 50
  • 51
  • 52
  • 53
  • ›
  • »

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