Library

Course: Ultimate Guide to Debugging in Unity

Ultimate Guide to Debugging in Unity

  • Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App
About this Course

Do you get frustrated when you run into errors in your code? Do you spend countless hours staring at your computer only to find that you made a small oversight that broke your code? This course will teach you tips, tricks, and techniques that will help you to approach debugging in a strategic manner. No more guess and check or random deletion of buggy parts of code. You will be able to precisely narrow down the cause of an issue and fix it. This course will teach you how to save time by speeding up your debugging workflow using step-by-step techniques.

This course has two major parts. In the first part you will learn the basics of debugging and understand the tools that Unity provides you to track down and fix errors. In the second part of the course, you will learn about common errors and how to fix them. We will go through step-by-step looking at each error type, possible causes, and debugging checklist to narrow down the issue. Then I will go through hands-on examples in Unity showing an application of the techniques taught. It’s not about memorizing how to solve each error, it is about understanding the mentality of debugging and applying what you know to each situation.

Are you ready to become a master of debugging and speed up your development time in Unity? This Ultimate Guide to Debugging in Unity will get you there.

Who is the target audience?

  • Any Unity developer looking to speed up their development time
  • Anyone who gets frustrated at errors in their code
  • Developers who want to learn proven, step-by-step techniques to identify and fix errors
  • Unity programmers who want to become proficient using the debugging tools Unity provides
Basic knowledge
  • Unity (Free)
  • Some Unity C# knowledge
What you will learn
  • Be able to identify and fix common Unity errors quickly and effectively
  • Approach tough errors with a step-by-step strategy leading to the solution
  • Understand the debugging tools that Unity provides and use them to your advantage
  • Have hands-on experience fixing errors mimicking real-world scenarios
  • Be able to write C# code quicker and with less bugs
Curriculum
Lectures quantity: 34
Common duration: 01:12:42
Introduction
  • Introduction  

    This lecture introduces the course goals and objectives and provides a road-map for how we will learn about debugging in Unity. 

Basics of Debugging
  • Section 2 Introduction  

    This lecture introduces Section 2: Basics of Debugging. It will introduce the topics discussed in this section.  

  • What is Debugging?  

    This lecture will explain the concept of debugging. By the end of this lecture you will understand what debugging is and why we care about it. 

  • Types of Errors  

    This lecture will explain the different types of errors that exist in computer programming. By the end of this lecture you will understand the different classifications of errors and what they mean. 

  • Approaches to Debugging  

    This lecture will explain common approaches to debugging. By the end of this lecture, your mind will be full of strategies you can use to debug your code. 

  • Examining the Stack Trace  

    This lecture will teach you how to examine the stack trace that is printed out when an error occurs. By the end of this lecture you will know how to trace an error by looking at each line of the stack trace. 

  • Debug Class  

    This lecture will explain one of the resources Unity provides for debugging: the Debug class. By the end of this lecture, you will see the amazing potential of this class and understand how to use its code to your advantage. 

  • Debug Log  

    This lecture will cover one of the Debug class' methods, Log. By the end of this lecture you will know what Log is and how to use it. 

  • Debug Draw Line  

    This lecture will cover one of the Debug class' methods, DrawLine. By the end of this lecture you will know what DrawLine is and how to use it. 

  • Debug Break  

    This lecture will cover one of the Debug class' methods, Break. By the end of this lecture you will know what Break is and how to use it. 

  • Debug Mode  

    This lecture will cover how to use the Debug Mode in Mono Develop. By the end of this lecture you will understand what Debug Mode is and how to use it to help debug your code. 

  • What is a Break Point?  

    This lecture will cover what break points are and how to use them. By the end of this lecture you will understand what a break point is and be able to use it to debug your code. 

  • Unit Tests  

    This lecture will cover what unit tests are and how to create them in Unity. By the end of this lecture, you can add Unit Tests to your debugging skillset. 

  • Section 2 Summary  

    This lecture summarizes Section 2 of the course, Basics of Debugging. By the end of this lecture you will have a firm grasp on the material taught in Section 2 and be ready to move onto Section 3: Common Errors and How to Fix Them. 

Common Errors and How to Fix Them
  • Section 3 Introduction  

    This lecture introduces Section 3: Common Errors and How to Fix Them. By the end of this lecture, you will understand the structure of this section of the course. 

  • Null Reference Exception  

    This lecture explains what a Null Reference Exception is and how to fix it. 

  • Index Out of Range  

    This lecture explains what a Argument Out of Exception is and how to fix it. 

  • Are you missing a class reference?  

    This lecture explains what a "Are you missing a class reference" Exception is and how to fix it. 

  • Expecting ____ found _____  

    This lecture explains what a "Expecting ___ found ___" is and how to fix it. 

  • Overload Method Not Compatible  

    This lecture explains what an Overload Method Not Compatible Exception is and how to fix it. 

  • Class, Struct, or Interface Method Must Have a Return Type  

    This lecture explains what a "Class, Struct, or Interface Method Must Have a Return Type" Exception is and how to fix it. 

  • Expression Denotes a Type Where a Variable, Value, or Method Group Was Expected  

    This lecture explains what a "Expression Denotes a Type Where a Variable, Value, or Method Group Was Expected" Exception is and how to fix it. 

  • Operator ____ Cannot Be Applied to Operands of Type ____  

    This lecture explains what a "Operator ____ Cannot Be Applied to Operands of Type ____" Exception is and how to fix it. 

  • Cannot Implicitly Convert Type ____ to ____  

    This lecture explains what a "Cannot Implicitly Convert Type ____ to ____" Exception is and how to fix it. 

  • The Name ____ Does Not Exist in the Current Context  

    This lecture explains what a "The Name ____ Does Not Exist in the Current Context" Exception is and how to fix it. 

  • ____ is a Field but a Type Was Expected  

    This lecture explains what a "____ is a Field but a Type Was Expected" Exception is and how to fix it. 

  • An Object Reference Is Required to Access Non-Static Member ____  

    This lecture explains what a "An Object Reference Is Required to Access Non-Static Member ____" Exception is and how to fix it. 

  • Unexpected Symbol ____ in Declaration  

    This lecture explains what a "Unexpected Symbol ____ in Declaration" Exception is and how to fix it. 

  • Parsing Error  

    This lecture explains what a "Parsing Error" Exception is and how to fix it. 

  • “;” Expected  

    This lecture explains what a "";” Expected" Exception is and how to fix it. 

  • Stack Overflow Exception  

    This lecture explains what a "Stack Overflow Exception" Exception is and how to fix it. 

  • Section 3 Summary  

    This lecture summarizes Section 3 of the course. 

Course Summary and Wrap-Up
  • Course Summary and Wrap-Up  

    This lecture summarises the course and wraps-up what you have learned. 

  • Bonus Lecture: My Other Simpliv Courses  

    In this lecture, I talk about my other Simpliv courses, many of which teach Unity game development. Attached to this lecture are links where you can get these courses for just $12 at anytime. 


Reviews (0)