• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: nullreferenceexception

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

BiteOf87 commented

What is a Null Reference Exception In Unity. Wiki

Mar 5, '17 error·nullreferenceexception·scriptingbasics·debug·oafa

4 Replies

27 Votes

avatar image

Tojikan edited

Why am i getting this? NullReferenceException because of UnityEditor.GridPaintingState.UnregisterPainterInterest

Jan 30, '18 in Help Room

1 Reply

16 Votes

avatar image

BozontGames commented

[Solved]unexplanable null refrence exception

Sep 13, '21 in Help Room

4 Replies

13 Votes

avatar image

Vicas commented

LoadLevelAdditive requires one frame to initialize scene objects.

May 12, '14 nullreferenceexception·mono

2 Replies

11 Votes

avatar image

Jamora edited

Null Reference Exception, what is it and why do I get it? Closed

Mar 13, '14 nullreferenceexception·null reference exception·null reference·oafa

1 Reply

9 Votes

avatar image

de_Lich commented

Reloading Scene causes "null" object references.

Aug 23, '21 c#·nullreferenceexception·event·loadlevel·delegate

3 Replies

8 Votes

avatar image

zuritabal commented

Finding the cause for a NullReferenceException

Mar 11, '18 nullreferenceexception

3 Replies

6 Votes

avatar image

BCook99 commented

Upgrading to Unity 5.2 - All Image (Script) components now failing with NullReferenceException in GetStencilDepth?

Nov 20, '15 in Help Room

0 Replies

6 Votes

avatar image

DanialKM answered

Resources.Load(path+name) as texture == null reference

Sep 9, '19 texture·nullreferenceexception·load·resources·resources.load

7 Replies

4 Votes

avatar image

RMF09 commented

NullReferenceException UnityEditor.SerializedObject..ctor

Nov 1, '19 nullreferenceexception

4 Replies

4 Votes

avatar image

aditya edited

How to Check if a component Exists on a Gameobject.

Sep 15, '16 c#·gameobject·nullreferenceexception·component·confused

3 Replies

4 Votes

avatar image

Alan9000 published

NullReferenceException on GameObjectInspector Editor Error

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

6 Replies

4 Votes

avatar image

dreammakersgroupAdmin published

Debugging NullReferenceExceptions in iOS Games

Nov 22, '13 iphone·nullreferenceexception·xcode·monodevelop·debugger

2 Replies

3 Votes

avatar image

wilfy commented

NullReferenceException .. problem with Camera.main.transform

May 8, '18 c#·camera·nullreferenceexception·first-person-controller

2 Replies

3 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

3 Votes

avatar image

Paulo Ferreira asked

Unity Object Array C#

Nov 3, '10 array·object·nullreferenceexception

2 Replies

2 Votes

avatar image

Archangel3d asked

Null Reference Exception issue getting the tag of an object hit by Raycast

Dec 10, '10 raycast·nullreferenceexception·raycasthit

2 Replies

2 Votes

avatar image

Jason B asked

Null reference exception when using lists of my object.

Jan 7, '11 error·nullreferenceexception

1 Reply

2 Votes

avatar image

Pedras published

How to call a function from another script - getting error "Object reference not set to an instance of an object"

Mar 28, '16 error·variable·nullreferenceexception·function·reference

5 Replies

2 Votes

avatar image

rgrandguillot commented

DisplayCancelableProgressBar NullReferenceException

Mar 24, '18 editor-scripting·nullreferenceexception·display·progress-bar

2 Replies

2 Votes

avatar image

yeoldesnake 1 commented

Null reference exception - singletone

Oct 20, '11 c#·editor·nullreferenceexception·singleton

0 Replies

2 Votes

avatar image

syclamoth edited

Custom editor desperation: instance of custom class

Oct 27, '11 inspector·nullreferenceexception·component·custom·oninspectorgui

1 Reply

2 Votes

avatar image

LijuDeveloper commented

What's the deal with the ..cctor() error?

Nov 18, '13 nullreferenceexception·static

2 Replies

2 Votes

avatar image

JeppeNygaard answered

how do I find what causes "NullReferenceException"

Mar 22, '13 nullreferenceexception

2 Replies

2 Votes

avatar image

Bunny83 edited

NullReferenceException from a script after linking prefab with drag and drop in inspector. WTF?

Jan 31, '20 instantiate·prefab·nullreferenceexception·drag

1 Reply

2 Votes

avatar image

vexe edited

How to setup code so it can recompile without null exception while running

Feb 1, '14 nullreferenceexception·playmode·recompile

1 Reply

2 Votes

avatar image

chelnok commented

Project window bugged - NullReferenceException

Aug 10, '15 bug·nullreferenceexception

2 Replies

2 Votes

avatar image

ibnesina commented

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

Jan 3, '17 nullreferenceexception·object reference

2 Replies

2 Votes

avatar image

CHPedersen commented

this == null

Mar 18, '15 nullreferenceexception·enabled

1 Reply

2 Votes

avatar image

Barsonax edited

UNET Command not working

Nov 7, '16 in Help Room

0 Replies

2 Votes

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

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.

Follow This Topic

Follow This Topic

Follow by RSS

9 People are following this topic.

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

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Famous Question   smackledorf
  • Notable Question   khnivlam
  • Popular Question   PandixDevelopment
  • Popular Question   gagasik
  • Editor   happynewmind_unity
  • Famous Question   amigueloferreira
  • Popular Question   kunstlabdev
  • Supporter   Avocet8
  • Popular Question   andrewwebber25
  • Popular Question   Maso10n1


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