• 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

kogaradigital commented

Problem referencing an int inside of a dictionary.

Mar 17, '19 in Help Room

0 Replies

0 Votes

avatar image

nizameddinkale asked

Can't get boolean of an animator from other class

Mar 16, '19 c#·animation·nullreferenceexception·boolean

0 Replies

0 Votes

avatar image

Alan9000 published

NullReferenceException on GameObjectInspector Editor Error

Jan 24, '22 gameobject·editor·build·nullreferenceexception·cache

6 Replies

4 Votes

avatar image

highpockets edited

im having a problem lerping text color between 2 color

Mar 7, '19 c#·nullreferenceexception·script error

1 Reply

0 Votes

avatar image

Vencarii commented

UNet: Server only non-player GameObject NullReferenceException on client

Mar 6, '19 networking·nullreferenceexception

1 Reply

0 Votes

avatar image

robinfriedmr asked

How do I organize a list of GameObjects (OrderByDescending?) based on the property of an attached component?

Mar 2, '19 in Help Room

0 Replies

0 Votes

avatar image

Frisk17 answered

Static function not working in between screen

Mar 2, '19 in Help Room

2 Replies

0 Votes

avatar image

DesQuik edited

Output from XML. NullReferenceException.

Feb 17, '19 in Help Room

0 Replies

0 Votes

avatar image

DeagleDryan edited

NullReferenceException LayoutGroup since 2019.2.0.a4

Feb 16, '19 c#·ui·nullreferenceexception

0 Replies

0 Votes

avatar image

nati8oy commented

Dictionary not recognising key?

Feb 2, '19 in Help Room

1 Reply

0 Votes

avatar image

Kinnefix edited

Checking for null against Texture2D

Jan 28, '19 c#·texture2d·nullreferenceexception

0 Replies

0 Votes

avatar image

killerken924 asked

Need some help with networking, Object reference not set to an instance of an object.

Jan 17, '19 in Help Room

0 Replies

0 Votes

avatar image

Vivien_Lynn edited

Audio Source is null when changing scene

Apr 29, '20 nullreferenceexception·audiosource

2 Replies

1 Votes

avatar image

plob2017 commented

Passing particle system in script, getting null reference exception error.

Dec 8, '18 nullreferenceexception·particlesystem·particle system·referencing

1 Reply

0 Votes

avatar image

adrianjmejias asked

Missing references and incorrect values

Dec 8, '18 bug·nullreferenceexception·incorrect

0 Replies

0 Votes

avatar image

hexagonius commented

NullReferenceException only at first run

Dec 6, '18 sound·nullreferenceexception·onlevelwasloaded

2 Replies

0 Votes

avatar image

Psycho8Vegemite edited

NullReferenceException with no logs. Not urgent.

Nov 20, '18 nullreferenceexception·null reference exception

0 Replies

0 Votes

avatar image

mapluisch edited

"Assertion failed: Error querying default thread scheduling params: 3"

Nov 17, '18 error·error message·nullreferenceexception·error-message·threads

0 Replies

0 Votes

avatar image

Afassolas edited

NullReferenceException when I click on Material tab of a selected (just imported ) model

Nov 15, '18 nullreferenceexception·materials·model importing

0 Replies

0 Votes

avatar image

alex_dossamer edited

Why does ScriptableObject.CreateInstance, where T is definite at runtime, return null?

Nov 15, '18 nullreferenceexception·scriptableobject·null·generics

1 Reply

0 Votes

avatar image

AdamSt answered

Null shader on camera at runtime?

Nov 9, '20 shader·shaders·nullreferenceexception·runtime·argumentexception

3 Replies

0 Votes

avatar image

Matt1000 answered

Why does this give a "nullReferenceException"?

Nov 7, '18 scripting problem·nullreferenceexception

2 Replies

0 Votes

avatar image

KeatonFox answered

Console throwing errors when trying to rename or highlight elements.

Oct 12, '18 error·editor·nullreferenceexception·tooltip

1 Reply

0 Votes

avatar image

JVene commented

List suddently becomes null

Sep 4, '18 list·nullreferenceexception

1 Reply

0 Votes

avatar image

HiAvatar commented

NullReferenceException: I have no clue why I am getting this error...

Dec 30, '18 in Help Room

0 Replies

0 Votes

avatar image

SomeGuy22 answered

NullReferenceException yet Debug.Log shows nothing is null?

Aug 29, '18 c#·error·nullreferenceexception·class·null reference

1 Reply

0 Votes

avatar image

CharlesDeep asked

Script works in editor but when the game loads an asset bundle with it, all the serialized data is lost.

Aug 28, '18 in Help Room

0 Replies

0 Votes

avatar image

tormentoarmagedoom answered

NullReferenceException after loading a new scene ? Closed

Jan 30, '19 c#·nullreferenceexception

1 Reply

0 Votes

avatar image

Papouc asked

NullReferenceException after loading a new scene ?

Aug 25, '18 in Help Room

0 Replies

0 Votes

avatar image

tormentoarmagedoom answered

Stop OnCollisionEnter method from running.

Aug 25, '18 in Help Room

1 Reply

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