Ultimate Guide to Debugging in Unity
4.2 (8 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
43 students enrolled

Ultimate Guide to Debugging in Unity

Learn Industry Standard Techniques to Find and Fix Errors in Unity
4.2 (8 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
43 students enrolled
Created by Robert Gioia
Last updated 11/2019
English
English [Auto-generated]
Current price: $27.99 Original price: $39.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1.5 hours on-demand video
  • 1 article
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll 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
Course content
Expand all 35 lectures 01:16:06
+ Introduction
2 lectures 02:18

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

Preview 02:13
Link Visual Studio to Unity
00:05
+ Basics of Debugging
13 lectures 31:15

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

Preview 02:11

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. 

Preview 02:20

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. 

Types of Errors
02:11

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. 

Approaches to Debugging
02:47

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. 

Examining the Stack Trace
03:25

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. 

Preview 01:48

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 Log
03:06

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 Draw Line
02:13

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 Break
01:44

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. 

Debug Mode
00:46

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. 

What is a Break Point?
04:20

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. 

Unit Tests
03:09

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. 

Section 2 Summary
01:15
Basics of Debugging Quiz
5 questions
+ Common Errors and How to Fix Them
18 lectures 36:49

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. 

Preview 00:24

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

Null Reference Exception
02:34

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

Index Out of Range
02:41

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

Are you missing a class reference?
02:45

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

Expecting ____ found _____
02:19

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

Overload Method Not Compatible
02:02

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

Preview 01:33

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. 

Expression Denotes a Type Where a Variable, Value, or Method Group Was Expected
02:13

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

Operator ____ Cannot Be Applied to Operands of Type ____
02:43

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

Cannot Implicitly Convert Type ____ to ____
02:12

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

The Name ____ Does Not Exist in the Current Context
01:45

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

____ is a Field but a Type Was Expected
02:17

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

An Object Reference Is Required to Access Non-Static Member ____
01:50

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

Unexpected Symbol ____ in Declaration
02:11

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

Parsing Error
01:27

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

“;” Expected
01:15

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

Stack Overflow Exception
01:30

This lecture summarizes Section 3 of the course. 

Section 3 Summary
03:08
Common Errors Quiz
4 questions
+ Course Summary and Wrap-Up
2 lectures 05:43

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

Course Summary and Wrap-Up
00:42

This bonus video will inform you about some of the other courses I offer on Udemy. If you enjoyed this course, maybe you would enjoy one of my other courses on Game Development, Web Development, Computer Programming, or Information Technology.

Bonus Lecture: My Other Udemy Courses
05:01
Requirements
  • Unity (Free)
  • Some Unity C# knowledge
Description

       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 this course is for:
  • 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