Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Hey👋

Debugging is a skill that is worth learning as it can speed up our development process.


I do admit that for a long time I myself used Debugl.log() a lot of times 😅 It is simple and easy and very often leads to a console full of messages because our Debug.Log runs in the Update.


I have prepared a new tutorial series where I show how to debug your code using Visual Studio debugging tools. It is as easy as Placing Debug.Log but much faster method as you can easily verify everything in the code 😉


We will tackle most common bugs:

-NullReferenceException 

-Logical bug

Calculation bug


I hope that you will find this tutorial series of 3 vids useful 😁


Take care!

-Peter

Files

Previews only

How to debug C# in Unity - Debugging in Unity 1/3

There must be a better way to debug c# than 𝗗𝗲𝗯𝘂𝗴.𝗟𝗼𝗴 right? 🤔 in this 3 part series of videos I will show you how to use Microsoft Visual Studio Debugger in Unity to debug most common problems like: -NullReferenceException -Logical bugs -calculation bugs In part 1 we will learn how to use Breakpoints instead of Debug.Log to fixe a NullReferenceException bug. Lear Object-Oriented programming and how to apply it to Unity projects https://courses.sunnyvalleystudio.com/p/learn-to-write-clean-object-oriented-code-in-unity Assets used: https://beyonderboy.itch.io/desert-map-tileset-16x16 https://krishna-palacio.itch.io/minifantasy-creatures If you have any questions ask them in the comments and join the discord : https://discord.gg/RQEtYHz You can support me through Patreon: https://www.patreon.com/sunnyvalleystudio 00:00 Introduction 01:00 NullReferenceException bug 02:17 Why not to use Debug.Log 02:56 How to add a Breakpoint 03:30 How to start debugging 04:36 Debugging using DataTips 05:52 Sep Into / Step Over 06:59 How to stop debugging 07:28 Attach and Play 07:56 Dragging Yellow debug arrow 08:08 Using Immediate window when debugging 09:05 Problem with Attach and play debug mode 10:05 OOP for unity devs video course #debugging #unity #gamedev

Comments

No comments found for this post.