• 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

miramaslow edited

Instantiated cloned GameObject returns Null outside Start method

Jun 21, '18 gameobject·nullreferenceexception·instances·accessing

0 Replies

0 Votes

avatar image

mattchubboy asked

Unity 2D text array remove from loop null

Jun 20, '18 in Help Room

0 Replies

0 Votes

avatar image

Tanoshimi2000 commented

2017f Problems with Input on Windows Universal platform

Jun 19, '18 in Help Room

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

andrew-lukasik edited

Minesweeper UI Issue

May 22, '18 in Help Room

0 Replies

0 Votes

avatar image

SimpleSam commented

can't save data in prefab and getting an error while press "Apply" in prefab!

Apr 28, '18 in Help Room

0 Replies

0 Votes

avatar image

SimpleSam asked

can't save data in prefab and getting an error while press "Apply" in prefab!

Apr 27, '18 in Help Room

0 Replies

0 Votes

avatar image

lmstrato asked

Can't return KeyCode in build

Apr 16, '18 in Help Room

0 Replies

0 Votes

avatar image

huesca12 asked

Unity Networking Client NullReferenceException Error

Apr 15, '18 in Help Room

0 Replies

0 Votes

avatar image

limitededitionskiingcroc asked

Checkpoints between scenes (NullReferenceException?)

Mar 29, '18 in Help Room

0 Replies

0 Votes

avatar image

newlife edited

MonoScript.FromScriptableObject(this) returns null in CloudOnce 2.5.0

Mar 20, '18 nullreferenceexception

0 Replies

1 Votes

avatar image

AhriYuuki asked

NullReferenceException Error is driving me crazy, it asks me for a reference when I think I put one

Mar 6, '18 in Help Room

0 Replies

0 Votes

avatar image

Cirrocumulus commented

Cleaning up before LoadScene

Feb 26, '18 nullreferenceexception·scene-loading·scene-switching

0 Replies

1 Votes

avatar image

Kwokrunner published

Null Reference Exception/Unassigned gameobject error

Feb 12, '18 error·nullreferenceexception·unassignedreferenceexcept

0 Replies

0 Votes

avatar image

the_MASTER_x19 asked

Null Reference Exception

Feb 10, '18 in Help Room

0 Replies

0 Votes

avatar image

Ginxx009 commented

Why am i getting a NullReferenceException when i switch platform to Android?

Jan 30, '18 android·bug·nullreferenceexception·build settings·null reference exception

0 Replies

1 Votes

avatar image

projectpt asked

Issue with 2D raycast

Jan 24, '18 in Help Room

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

Bunny83 commented

C# Multidimensional arrays

Jan 22, '18 in Help Room

0 Replies

0 Votes

avatar image

RedDeCipher commented

NullReferenceException on an assignment line

Jan 15, '18 nullreferenceexception·assignment

0 Replies

1 Votes

avatar image

SteveHadley edited

RayCastHit.transform.gameObject.GetComponent works in editor but not in standalone build

Dec 29, '17 scripting problem·raycast·nullreferenceexception

0 Replies

0 Votes

avatar image

Endless_Studios asked

NullReferenceError in Build but not the Editor,NullReferenceException in Build but not Editor.

Dec 20, '17 in Help Room

0 Replies

0 Votes

avatar image

FRBDN1 asked

FindGameObjectWithTag not working after integrating networking

Dec 7, '17 in Help Room

0 Replies

0 Votes

avatar image

borisvdb asked

Perfect Maze Generator error

Dec 5, '17 in Help Room

0 Replies

0 Votes

avatar image

Tom_Unsworth asked

Dijkstra shortest path algorithm but i am getting an error; Null reference exception: object reference not set to an instance of an object.

Dec 4, '17 in Help Room

0 Replies

0 Votes

avatar image

jchester07 commented

Null Reference for Spawning Character

Nov 28, '17 in Help Room

0 Replies

0 Votes

avatar image

strudi1986 asked

Multiplayer Player Prefab: NullReferenceException: Object reference not set to an instance of an object

Oct 17, '17 camera·multiplayer·nullreferenceexception

0 Replies

0 Votes

avatar image

Rourik asked

How do I solve this nullreference?

Sep 16, '17 in Help Room

0 Replies

0 Votes

avatar image

CameronKerr published

My Script Won't Let Me Castle C# Chess

Sep 12, '17 in Help Room

0 Replies

0 Votes

avatar image

danny1111 asked

GUI Error: You are pushing more GUIClips than you are popping

Sep 3, '17 c#·gui·nullreferenceexception

0 Replies

0 Votes

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

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