Errata: May 27, 2018

Thank you for purchasing Unity in Action, Second Edition. Please post any errors, other than those listed below, in the book's Author Online Forum. We'll update this list as necessary. Thank you!


Instruction in section 4.5.2 (page 92)
These instructions for applying a texture work in older versions of Unity, but imported materials work slightly differently now. There are several ways to make it work correctly, but the simplest is to first click Extract Materials in the Materials tab of the imported model.

Error in listing 6.8 (page 143)
The line "if (deltaX != 0)" should be replaced with "if (!Mathf.Approximately(deltaX, 0))". The latter appears in listing 6.2 and 6.8 refers to that same line of code, but 6.8 has the incorrect version.