How to Fix NullReferenceException in C#! (4 Step Process)

preview_player
Показать описание
Let's learn what is a NullReferenceException, what causes it and a Step-by-Step process for how to Fix NullReferenceException in C#!
👍 Learn to make awesome games step-by-step from start to finish.

🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!

If you have any questions post them in the comments and I'll do my best to answer them.

See you next time!

#csharp #unitytutorial #unity3d

--------------------------------------------------------------------

Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.

I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

--------------------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

🌐 Have you found the videos Helpful and Valuable?

CodeMonkeyUnity
Автор

💬 I get a lot of questions on this error so I figured I'd make a video on what causes it and how I solve it!
How do YOU solve it? What is your process?

CodeMonkeyUnity
Автор

THIS IS AWESOME! I just got stuck with this exception while trying to recreate everything I saw in your free course and my answer was here all along. really thank you the free course and these awesome videos.

sh.j
Автор

Very well done. I will recommend this video to the beginners of C#. Congrats.

cpu_UP
Автор

Great video for people who is starting with programming.

dspartan
Автор

Very nice explanation, I have seen this error a lot of times, and couldn't understand what was the problem. Thank you for your efforts!❤

EviGeorge
Автор

Thank you once again Code Monkey! This one took me longer to figure out but it was another simple mistake on my part.

NebulaOfAshka
Автор

This is great. Thank you so much for the teaching

Case-A-Lace
Автор

thanks a lot for this video simple and clear

ghofranedarragi
Автор

The lesson was super easy to understand and it helped me out a lot. Thanks! 💖

shahriyarshawon
Автор

very helpful I already know from people that it's about request an access to something that didnt exist but I don't know how to get over it... like where is the problem. This tutorial help me a lot

zucth
Автор

Thank you! It was a really great video it could save me a lot of time) May be will save for smb else)

zsddmog
Автор

In a couple of years i will probably look back to this moment and think what a noob i was. But thank you your video helped me solve my problem. :P

ntdn
Автор

Debugging with a print command line is such a luxury!! Lots of low-level embedded C coding work won't even give you that information, if a memory address is wrong is corrupt or unset, then the CPU will do its best and either crash or behave in crazy ways without much guidance or any easy to use diagnostic tools. God I love C#!

gregoryfenn
Автор

thank you so much, you are the best ^^

Dzwalkthrough
Автор

Thank you so much! After like 2 days of troubleshooting, I figured out that my solution was 7:45

fury
Автор

This would have been a good video to talk about Null-Coalescing and Null-Conditional-Operators as well. Maybe idea for future video?

MarushiaDark
Автор

You will save the lives of so many noobs.

johnes
Автор

After watching your 16 min video i fixed my error in 1 min 😂

Thanks a lot ❤

Xyz-twym
Автор

Hi @code Monkey.. I'm following your channel from recent times. Very helpful. I had seen your inventory system.but I wanted a different perspective. Can you make a video on horizontal scrolling inventory items, the scroll should also work with right and left scroll buttons. Also you should be able to drag the scrolling inventory items and drop over selling machine icon which is near by. ? Can you make a video? My kind request.

vinodhkumar