• 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

LordJagi published

Error after importing assets (Survival Shooter tutorial), Win32Exception

Sep 1, '17 error·nullreferenceexception·tutorial·console errors·win32exception

0 Replies

0 Votes

avatar image

willianbrasil asked

Anyone knows why i'm getting this massive bug?

Aug 26, '17 in Help Room

0 Replies

0 Votes

avatar image

Kaskorian commented

Null Reference Exception

Jul 23, '17 ui·nullreferenceexception·settings·exception

0 Replies

0 Votes

avatar image

Xarbrough asked

Manually creating Editor sometimes leads to NullReferenceException in SerializedObject constructor

Jul 23, '17 c#·editor·nullreferenceexception·serializedobject

0 Replies

0 Votes

avatar image

revolute commented

iOS - Null Reference Exception

Jul 20, '17 nullreferenceexception·xcode

0 Replies

0 Votes

avatar image

tanoshimi commented

How can I fix unassigned reference exception without assigning something?

Jul 16, '17 nullreferenceexception

0 Replies

-3 Votes

avatar image

viktoria93 asked

NullExecption in a communication between two scripts

Jul 13, '17 in Help Room

0 Replies

0 Votes

avatar image

Hellium edited

Why do I get an NullReferenceException when I use StartCoroutine?

Jul 12, '17 nullreferenceexception·coroutines

0 Replies

0 Votes

avatar image

razzancar asked

NullReferenceException: Object reference not set to an instance of an object Groundcheck.OnTriggerEnter2D (UnityEngine.Collider2D col) (at Assets/object/code/Groundcheck.cs:17)

Jul 11, '17 in Help Room

0 Replies

0 Votes

avatar image

richielyl edited

Null reference for variables(prefabs) when referencing another script

Jul 8, '17 prefab·nullreferenceexception·generation·generator

0 Replies

0 Votes

avatar image

ZackJoubert edited

Why am I getting a Null Reference Exception?

Jun 30, '17 in Help Room

0 Replies

0 Votes

avatar image

SohailBukhari commented

Instance of a object error after player death

Jun 19, '17 gameobject·player·destroy·nullreferenceexception·false

0 Replies

0 Votes

avatar image

sanatan edited

Cant reference Network.Identity connectionInfo

Jun 5, '17 in Help Room

0 Replies

0 Votes

avatar image

revolute commented

Weird Error message with empty projects

May 30, '17 error message·nullreferenceexception·error build

0 Replies

0 Votes

avatar image

ErikAndroid asked

NullReferenceExeption when I use Mask

May 27, '17 in Help Room

0 Replies

1 Votes

avatar image

Ark_Revan commented

Space Shooter - NullReferenceException on Scene Reload

May 24, '17 error·nullreferenceexception·tutorial·space shooter

0 Replies

0 Votes

avatar image

Tech_N_Gamer published

JSONUtilities returning null

May 14, '17 nullreferenceexception·json

0 Replies

0 Votes

avatar image

DanielDollerup commented

NullRerefanceException. Cant access other scripts variable!!

May 11, '17 in Help Room

0 Replies

0 Votes

avatar image

HumblPi published

MergeSort function acting strange

May 9, '17 c#·nullreferenceexception·arrays·sorting

0 Replies

0 Votes

avatar image

Ecrit asked

NullReferenceException was thrown when raise an event

May 8, '17 in Help Room

0 Replies

0 Votes

avatar image

Commoble commented

NoReferenceException ... OnCollisionEnter

Apr 20, '17 in Help Room

0 Replies

0 Votes

avatar image

AlreedyTaken published

[Fixed] Editing an array from another class (nullReferenceError)

Apr 19, '17 array·nullreferenceexception·edit·fixed

0 Replies

0 Votes

avatar image

Commoble commented

Unexpected NullReferenceException

Apr 14, '17 in Help Room

0 Replies

0 Votes

avatar image

Reckfullies edited

NullReferenceException - UnityEditor.HostView.OnGUI

Apr 10, '17 in Help Room

0 Replies

0 Votes

avatar image

boyyprince asked

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

Apr 3, '17 in Help Room

0 Replies

0 Votes

avatar image

Kyura21 edited

Ray null reference exception and wrong direction when casting it

Mar 31, '17 in Help Room

0 Replies

0 Votes

avatar image

MatthewCzar edited

NullReferenceException Error For Generating Rooms

Mar 30, '17 in Help Room

0 Replies

0 Votes

avatar image

TheRedMezek published

Camera.current.Render() renders AND makes a NullReferenceException error

Mar 12, '17 camera·error·nullreferenceexception·camera.render

0 Replies

0 Votes

avatar image

Wennisa published

How can I fix this error?

Mar 12, '17 in Help Room

0 Replies

0 Votes

avatar image

MilKID asked

NullReference Exception Error - makes no Sense at all!

Feb 21, '17 in Help Room

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