10

Debugging and Building

When coding Unity games, two main kinds of human-created error arise: these are syntax or “compile time” errors, on the one hand, and Run-Time or logical errors, on the other. Compile time errors, like misspellings and invalid statements, are the easiest to spot and correct because the compiler, at compile-time, simply refuses to compile your code until the errors are corrected. Logical or Run-Time errors, by contrast, cause no compilation errors. Their problematic nature is not about incorrectly written statements, which can be easily identified and fixed, provided you know the language rules. But rather, they’re about how both correct and valid statements combine together into an overall logic that has unforeseen ...

Get How to Cheat in Unity 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.