• 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

FuryFight3r edited

NullReferenceException MaskableGraphic.UpdateCull() upon Loading Player Data.

11 hours ago update·nullreferenceexception·null·mask·culling mask

0 Replies

0 Votes

avatar image

SaphalAryal edited

(Pun2) Hastable. Null Reference Error

Apr 3, '21 networking·nullreferenceexception·pun·hashtable

0 Replies

0 Votes

avatar image

Crandemolisher9 asked

Instantiating class creating copies with same instance ID of 0

Mar 29, '21 error·instantiate·nullreferenceexception·copy

0 Replies

0 Votes

avatar image

HellsHand edited

Save data not creating save file

Mar 23, '21 error·variable·nullreferenceexception·save data

1 Reply

0 Votes

avatar image

reload666 published

NullReferenceException on GameObjectInspector Editor Error

Mar 22, '21 gameobject·editor·build·nullreferenceexception·cache

5 Replies

4 Votes

avatar image

mmnagelia commented

Scripting Help with My Projectile System

Mar 14, '21 c#·scripting problem·nullreferenceexception·raycasthit·skybox

1 Reply

0 Votes

avatar image

ISLAMMOHY commented

Unity IAP Button: NullReferenceException: Object reference not set to an instance of an object

Mar 14, '21 android·nullreferenceexception·iap

1 Reply

1 Votes

avatar image

Manish_kunwar answered

[Solved]unexplanable null refrence exception

Mar 7, '21 in Help Room

4 Replies

12 Votes

avatar image

ssinga1 edited

Addressables.LoadContentCatalogAsync throws null reference error in build

Mar 5, '21 in Help Room

0 Replies

0 Votes

avatar image

julianjulianov edited

Unexplanable NullReferenceException Error

Feb 28, '21 error·error message·nullreferenceexception·nullreference

2 Replies

1 Votes

avatar image

marek_PLH answered

"Do not create your own module instances" Warning for ParticleSystem with custom Inspector

Feb 10, '21 in Help Room

1 Reply

0 Votes

avatar image

AkhilB published

Car Audio c# script not working

Jan 27, '21 c#·audio·nullreferenceexception·car·vehicle

3 Replies

0 Votes

avatar image

mrmrmrmr0 answered

how to delete object from imported vrm

Jan 18, '21 in Help Room

1 Reply

0 Votes

avatar image

tacocat1512 answered

Raycast2DHit reference in other script runs NullReferenceException

Jan 16, '21 nullreferenceexception·raycasthit2d

1 Reply

0 Votes

avatar image

fxavierfaust published

Encountering "Null Reference Exception: Object reference not set to an instance of an object" in Build, but not in Editor

Jan 13, '21 build-error·nullreferenceexception·object reference

0 Replies

0 Votes

avatar image

Nevelson asked

Best practice handling deleted object refences during SceneManager.LoadScene

Jan 10, '21 nullreferenceexception·load·null·destroy object·missingreferenceexception

0 Replies

0 Votes

avatar image

mleegamemaker answered

Added Photon pun2 to 3d Game kit and got this error

Dec 24, '20 in Help Room

1 Reply

0 Votes

avatar image

Hellium commented

How do I reference something from another scene? Closed

Dec 13, '20 scene·nullreferenceexception·scene-loading·reference·scene-change

0 Replies

0 Votes

avatar image

suIly edited

Showing unity ads from other script?

Dec 12, '20 c#·mobile·nullreferenceexception·ads·null reference exception

1 Reply

0 Votes

avatar image

SimRuJ commented

NullReferenceException when trying to access parent

Dec 9, '20 in Help Room

0 Replies

0 Votes

avatar image

elrohirgt edited

GetComponent returns null when using a generics class for T

Dec 6, '20 2d game·nullreferenceexception·getcomponent·generics

1 Reply

0 Votes

avatar image

dssanjay55555 edited

PlayFab CloudScript NullReferenceException

Dec 1, '20 scripting problem·script.·nullreferenceexception·scripting beginner·null

0 Replies

0 Votes

avatar image

Keeppsake commented

Reloading Scene causes "null" object references.

Nov 30, '20 c#·nullreferenceexception·event·loadlevel·delegate

3 Replies

6 Votes

avatar image

bielzinho_yt answered

NullReferenceException being logged from an inactive script

Nov 27, '20 in Help Room

3 Replies

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

MomkeyDev asked

Raycast2D hit.point is zero ?

Nov 3, '20 in Help Room

0 Replies

0 Votes

avatar image

kr8gz published

Animator just gives "NullReferenceException: Object not set to an instance of an object" when trying to record animation

Oct 28, '20 in Help Room

0 Replies

0 Votes

avatar image

vaculikjan asked

ML Agents Null Pointer error

Oct 19, '20 in Help Room

0 Replies

0 Votes

avatar image

Akhrand asked

Device Simulator - Null Reference Error

Oct 17, '20 error message·nullreferenceexception·package·mobile devices·simulator

0 Replies

0 Votes

avatar image

lennikauppi asked

How is this Instantiate NullReferenceException?

Oct 15, '20 in Help Room

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# error null reference exception instantiate gameobject scripting problem array javascript getcomponent null error message raycast object reference unity 5 object reference list instance prefab transform arrays networking class camera editor


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