# Unity Games by Tutorials

**URL:** https://forums.kodeco.com/c/books/unity-games-by-tutorials/29.md?page=4

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

**Page:** 5

---

## [Chapter 20 Errata? public class OcculusGazeInputModule : MonoBehaviour {](https://forums.kodeco.com/t/chapter-20-errata-public-class-occulusgazeinputmodule-monobehaviour/30255)

<div class="topic-metadata">

**Author:** [@rgarrett7](https://forums.kodeco.com/u/rgarrett7)\
**Replies:** 1\
**Last updated:** [June 3, 2017, 9:18pm UTC](https://forums.kodeco.com/t/chapter-20-errata-public-class-occulusgazeinputmodule-monobehaviour/30255 "2017-06-03T21:18:07Z")

</div>

I believe there is an error on page 547, version 1.2 The text says: "public class OcculusGazeInputModule : MonoBehaviour { but this is the HTC Vive section, so I imagine it should say something about the Vive. Looking…

---

## [Chapter 6: Aliens moving head](https://forums.kodeco.com/t/chapter-6-aliens-moving-head/30481)

<div class="topic-metadata">

**Author:** [@mhatzitaskos](https://forums.kodeco.com/u/mhatzitaskos)\
**Replies:** 0\
**Last updated:** [June 3, 2017, 3:28pm UTC](https://forums.kodeco.com/t/chapter-6-aliens-moving-head/30481 "2017-06-03T15:28:27Z")

</div>

I have the following problem which I’ve tried twice now. In Chapter 6 p.162-163 we make the alien head move as an animation. When I follow the instructions and then play the game the alien heads move up and down as want…

---

## [The BobbleMarine Body - chapter 1 does not show material correctly](https://forums.kodeco.com/t/the-bobblemarine-body-chapter-1-does-not-show-material-correctly/30291)

<div class="topic-metadata">

**Author:** [@kentga](https://forums.kodeco.com/u/kentga)\
**Replies:** 0\
**Last updated:** [May 30, 2017, 5:01pm UTC](https://forums.kodeco.com/t/the-bobblemarine-body-chapter-1-does-not-show-material-correctly/30291 "2017-05-30T17:01:43Z")

</div>

It comes into the scene like this - with no details? And I have Blender open., The scene is perfect and I can see the enemy too.

---

## [Were i can find the assets? { Solved }](https://forums.kodeco.com/t/were-i-can-find-the-assets-solved/29732)

<div class="topic-metadata">

**Author:** [@pkats](https://forums.kodeco.com/u/pkats)\
**Replies:** 1\
**Last updated:** [May 16, 2017, 3:15pm UTC](https://forums.kodeco.com/t/were-i-can-find-the-assets-solved/29732 "2017-05-16T15:15:17Z")

</div>

Hello i have bought the physical copy of the book from amazon. Do you know were i can get the Assets ?? The book doesn’t have any cd/dvd with it. :frowning: Is there a site that i have missed ??

---

## [Chapter 9 did not open correctly with Unity 5.6.0f3](https://forums.kodeco.com/t/chapter-9-did-not-open-correctly-with-unity-5-6-0f3/29391)

<div class="topic-metadata">

**Author:** [@juanmunoz](https://forums.kodeco.com/u/juanmunoz)\
**Replies:** 1\
**Last updated:** [May 8, 2017, 11:31pm UTC](https://forums.kodeco.com/t/chapter-9-did-not-open-correctly-with-unity-5-6-0f3/29391 "2017-05-08T23:31:22Z")

</div>

Hi guys. I am having a problem to open any of the projects on Chapter 9 (final, starter) as well as various projects for the version 1.2 of this book. When I open the project it prompt this message: I notice somethi…

---

## [Requesting Code and Resource Files for Unity 5.4](https://forums.kodeco.com/t/requesting-code-and-resource-files-for-unity-5-4/28757)

<div class="topic-metadata">

**Author:** [@eager2learn](https://forums.kodeco.com/u/eager2learn)\
**Replies:** 5\
**Last updated:** [April 28, 2017, 5:36am UTC](https://forums.kodeco.com/t/requesting-code-and-resource-files-for-unity-5-4/28757 "2017-04-28T05:36:49Z")

</div>

Can I possibly obtain the code and resources from the book for Unity 5.4? I’m finding that Unity 5.4 and the tutorials work a lot better on my PC than Unity 5.5 does for some odd reason!

---

## [Skip chapters if only interested in Unity2D?](https://forums.kodeco.com/t/skip-chapters-if-only-interested-in-unity2d/28697)

<div class="topic-metadata">

**Author:** [@cmartyres](https://forums.kodeco.com/u/cmartyres)\
**Replies:** 1\
**Last updated:** [April 22, 2017, 9:22pm UTC](https://forums.kodeco.com/t/skip-chapters-if-only-interested-in-unity2d/28697 "2017-04-22T21:22:02Z")

</div>

Hello all, I am only interested in Unity2D at the moment and I was wondering if I could skip certain 3D related chapters/sections, in the interest of time. I have just started doing the C# tutorials on the website, and…

---

## [Errata on chapter 1](https://forums.kodeco.com/t/errata-on-chapter-1/27324)

<div class="topic-metadata">

**Author:** [@rcp140875](https://forums.kodeco.com/u/rcp140875)\
**Replies:** 3\
**Last updated:** [April 15, 2017, 4:48pm UTC](https://forums.kodeco.com/t/errata-on-chapter-1/27324 "2017-04-15T16:48:48Z")

</div>

I think I found a errata on chapter 1, page 38, section “Importing Packages” it says: As you did before, to keep things tidy, single click the newly generated Materials folder (in the Models folder) and rename it to Mod…

---

## [I don't think all games are full source code, it seems missing, it is being fragmented](https://forums.kodeco.com/t/i-dont-think-all-games-are-full-source-code-it-seems-missing-it-is-being-fragmented/28384)

<div class="topic-metadata">

**Author:** [@hieulsw](https://forums.kodeco.com/u/hieulsw)\
**Replies:** 4\
**Last updated:** [April 15, 2017, 4:05pm UTC](https://forums.kodeco.com/t/i-dont-think-all-games-are-full-source-code-it-seems-missing-it-is-being-fragmented/28384 "2017-04-15T16:05:22Z")

</div>

I don’t think all games are full source code, it seems missing, it is being fragmented

---

## [Chapter 5 why bugs can pass though columns?](https://forums.kodeco.com/t/chapter-5-why-bugs-can-pass-though-columns/28171)

<div class="topic-metadata">

**Author:** [@nighter](https://forums.kodeco.com/u/nighter)\
**Replies:** 2\
**Last updated:** [April 14, 2017, 9:58am UTC](https://forums.kodeco.com/t/chapter-5-why-bugs-can-pass-though-columns/28171 "2017-04-14T09:58:54Z")

</div>

I’m confused that bugs can pass though columns, both of them have collider. However, player can not pass though the columns. What’s the reason? I have not reached the part of Nav. I just don’t know why a gameobject wit…

---

## [Capsule Collider for Chapter 9 and 10 Player Object](https://forums.kodeco.com/t/capsule-collider-for-chapter-9-and-10-player-object/27715)

<div class="topic-metadata">

**Author:** [@brettb](https://forums.kodeco.com/u/brettb)\
**Replies:** 0\
**Last updated:** [March 31, 2017, 2:34am UTC](https://forums.kodeco.com/t/capsule-collider-for-chapter-9-and-10-player-object/27715 "2017-03-31T02:34:17Z")

</div>

UPDATE: So i went back and redid the the whole FPS tutorial from the start. Got to the same spot and it works. I’m still a little confused why the screenshot of the player object in chapter 9 includes the “Character Co…

---

## [Error in Chapter 3 page 84 tranform.parent not working](https://forums.kodeco.com/t/error-in-chapter-3-page-84-tranform-parent-not-working/22299)

<div class="topic-metadata">

**Author:** [@h-max](https://forums.kodeco.com/u/h-max)\
**Replies:** 7\
**Last updated:** [April 2, 2017, 4:31pm UTC](https://forums.kodeco.com/t/error-in-chapter-3-page-84-tranform-parent-not-working/22299 "2017-04-02T16:31:01Z")

</div>

Hello, Problematic part of code: bullet.GetComponent().velocity = transform.parent.forward \* 100; When i launch game and start to fire i got error: NullReferenceException: Object reference not set to an instance o…

---

## [Errata on chapter 2](https://forums.kodeco.com/t/errata-on-chapter-2/27361)

<div class="topic-metadata">

**Author:** [@rcp140875](https://forums.kodeco.com/u/rcp140875)\
**Replies:** 0\
**Last updated:** [March 21, 2017, 1:22am UTC](https://forums.kodeco.com/t/errata-on-chapter-2/27361 "2017-03-21T01:22:40Z")

</div>

On section “Parenting the space marine”, there are wrong coordinates for marine, it keeps the head far from the body. Wrong: (-1.38, 6.16, 1.05) Correct: (-1.38, 1.16, 1.05)

---

## [Marine head not moving in chapter 4](https://forums.kodeco.com/t/marine-head-not-moving-in-chapter-4/19901)

<div class="topic-metadata">

**Author:** [@mremond](https://forums.kodeco.com/u/mremond)\
**Replies:** 4\
**Last updated:** [March 2, 2017, 11:50am UTC](https://forums.kodeco.com/t/marine-head-not-moving-in-chapter-4/19901 "2017-03-02T11:50:54Z")

</div>

Hello, Does someone have the same issue ? What could be the issue ? Anything specific to check ?

---

## [Chapter 5: Number of Aliens maxes out at MaxOnScreen](https://forums.kodeco.com/t/chapter-5-number-of-aliens-maxes-out-at-maxonscreen/26394)

<div class="topic-metadata">

**Author:** [@danieldevere](https://forums.kodeco.com/u/danieldevere)\
**Replies:** 4\
**Last updated:** [February 26, 2017, 11:24pm UTC](https://forums.kodeco.com/t/chapter-5-number-of-aliens-maxes-out-at-maxonscreen/26394 "2017-02-26T23:24:06Z")

</div>

Hi. The game won’t produce more aliens than the maxAliensOnScreen because in the GameManager the aliensOnScreen is incremented with each new spawn, but is never reduced when aliens are killed. I added a private int ali…

---

## [Physical Book vs PDF](https://forums.kodeco.com/t/physical-book-vs-pdf/26614)

<div class="topic-metadata">

**Author:** [@zacware](https://forums.kodeco.com/u/zacware)\
**Replies:** 0\
**Last updated:** [February 25, 2017, 5:17pm UTC](https://forums.kodeco.com/t/physical-book-vs-pdf/26614 "2017-02-25T17:17:08Z")

</div>

3 Questions… a) I’m typically a book person, but usually I will buy a discounted book/pdf combo on PacktPub. Since that isn’t available here… I was wondering if anyone has any opinion on the PDF quality… My preference i…

---

## [Physical book copy purchase, where can download project files?](https://forums.kodeco.com/t/physical-book-copy-purchase-where-can-download-project-files/26367)

<div class="topic-metadata">

**Author:** [@raz899](https://forums.kodeco.com/u/raz899)\
**Replies:** 2\
**Last updated:** [February 19, 2017, 8:45pm UTC](https://forums.kodeco.com/t/physical-book-copy-purchase-where-can-download-project-files/26367 "2017-02-19T20:45:30Z")

</div>

Hello all, I just book a paperback version of this book off of amazon and was wondering where the resources were located online to accompany the book. I scanned the first few pages up until the first project regarding …

---

## [Chapter 4 Physics - more explanation required](https://forums.kodeco.com/t/chapter-4-physics-more-explanation-required/25539)

<div class="topic-metadata">

**Author:** [@brunothedog](https://forums.kodeco.com/u/brunothedog)\
**Replies:** 1\
**Last updated:** [February 19, 2017, 9:36am UTC](https://forums.kodeco.com/t/chapter-4-physics-more-explanation-required/25539 "2017-02-19T09:36:04Z")

</div>

Hi, I need a bit more help than is provided by the current explanation in this chapter. Why do we create a Ray object and then pass this to Physics.Raycast, which then creates another ray object? According to Unit…

---

## [Purchase failure](https://forums.kodeco.com/t/purchase-failure/26129)

<div class="topic-metadata">

**Author:** [@box2](https://forums.kodeco.com/u/box2)\
**Replies:** 1\
**Last updated:** [February 19, 2017, 9:21am UTC](https://forums.kodeco.com/t/purchase-failure/26129 "2017-02-19T09:21:24Z")

</div>

Use PayPal to buy Unity book fails, will not jump to the main interface, the purchase failed please help

---

## [Unity 5.5 Project Files Crash Unity](https://forums.kodeco.com/t/unity-5-5-project-files-crash-unity/26181)

<div class="topic-metadata">

**Author:** [@eager2learn](https://forums.kodeco.com/u/eager2learn)\
**Replies:** 0\
**Last updated:** [February 14, 2017, 5:31am UTC](https://forums.kodeco.com/t/unity-5-5-project-files-crash-unity/26181 "2017-02-14T05:31:11Z")

</div>

Strangely, whenever I attempt to open the Unity 5.5 version project files for the book, everything loads fine before the crash dialog appears.I have to completely remove the project’s library files to get it loaded succe…

---

## [I am getting errors about Time and Input on Page 235](https://forums.kodeco.com/t/i-am-getting-errors-about-time-and-input-on-page-235/26096)

<div class="topic-metadata">

**Author:** [@kunal1784](https://forums.kodeco.com/u/kunal1784)\
**Replies:** 3\
**Last updated:** [February 12, 2017, 11:13am UTC](https://forums.kodeco.com/t/i-am-getting-errors-about-time-and-input-on-page-235/26096 "2017-02-12T11:13:43Z")

</div>

Hi, I am getting errors about Time and Input on page 235. The name ‘Input’ does not exists in current context The name ‘Time’ does not exists in current context my Code is as below: For Pistol.cs using System.Colle…

---

## [Chapter 2 Starter project won't import correctly](https://forums.kodeco.com/t/chapter-2-starter-project-wont-import-correctly/25235)

<div class="topic-metadata">

**Author:** [@brunothedog](https://forums.kodeco.com/u/brunothedog)\
**Replies:** 3\
**Last updated:** [January 19, 2017, 11:07pm UTC](https://forums.kodeco.com/t/chapter-2-starter-project-wont-import-correctly/25235 "2017-01-19T23:07:58Z")

</div>

I decided to start Chapter 2 with the Stater project as I wasn’t sure if I had imported all of the assets correctly for Chapter 1. Unfortunately when I opened the folder Bobblehead Wars in the Chapter 2 folder: firstly …

---

## [RuneStrife Modelling Tutorials Would be Nice!](https://forums.kodeco.com/t/runestrife-modelling-tutorials-would-be-nice/25381)

<div class="topic-metadata">

**Author:** [@eager2learn](https://forums.kodeco.com/u/eager2learn)\
**Replies:** 0\
**Last updated:** [January 19, 2017, 6:30pm UTC](https://forums.kodeco.com/t/runestrife-modelling-tutorials-would-be-nice/25381 "2017-01-19T18:30:34Z")

</div>

It’d be great if we could have some tutorials on creating the low-poly models made for RuneStrife! I’m suggesting this as perhaps a great way to get programmers who are not artistically inclined introduced to modelling a…

---

## [Not understanding Chapter 6 page 162](https://forums.kodeco.com/t/not-understanding-chapter-6-page-162/25178)

<div class="topic-metadata">

**Author:** [@scotts7777](https://forums.kodeco.com/u/scotts7777)\
**Replies:** 1\
**Last updated:** [January 17, 2017, 7:45am UTC](https://forums.kodeco.com/t/not-understanding-chapter-6-page-162/25178 "2017-01-17T07:45:22Z")

</div>

On page 162 when creating an Animation, the book says: With the middle keyframe still selected, go to the Inspector. Set Rotation to (-61, 0, 0) — now play the animation. So are we setting the rotation on the BobbleEne…

---

## [Minor error(s) page 220 onwards](https://forums.kodeco.com/t/minor-error-s-page-220-onwards/24960)

<div class="topic-metadata">

**Author:** [@urmela999](https://forums.kodeco.com/u/urmela999)\
**Replies:** 0\
**Last updated:** [January 8, 2017, 7:15pm UTC](https://forums.kodeco.com/t/minor-error-s-page-220-onwards/24960 "2017-01-08T19:15:22Z")

</div>

Page 220 note that the last keyframe for elevator summon is at 0.29, not 0.28. The screenshot would also have to be updated. Also note the ‘pip’ no longer leads to a popup, but opens in the inspector instead. Page 221 …

---

## [Foreground layer for particle system in marine/alien not needed?](https://forums.kodeco.com/t/foreground-layer-for-particle-system-in-marine-alien-not-needed/24951)

<div class="topic-metadata">

**Author:** [@urmela999](https://forums.kodeco.com/u/urmela999)\
**Replies:** 0\
**Last updated:** [January 8, 2017, 2:58pm UTC](https://forums.kodeco.com/t/foreground-layer-for-particle-system-in-marine-alien-not-needed/24951 "2017-01-08T14:58:02Z")

</div>

First of all, great book, thank you for that! Second, page 212, I find that using a deathfloor or not makes no difference: the particles render where they are needed and seen, i.e, on top of the deathfloor. That being …

---

## [Flicking top of screen on macOS 10.11.6 with Unity 5.5.0f3](https://forums.kodeco.com/t/flicking-top-of-screen-on-macos-10-11-6-with-unity-5-5-0f3/24554)

<div class="topic-metadata">

**Author:** [@scotts7777](https://forums.kodeco.com/u/scotts7777)\
**Replies:** 2\
**Last updated:** [January 5, 2017, 7:50pm UTC](https://forums.kodeco.com/t/flicking-top-of-screen-on-macos-10-11-6-with-unity-5-5-0f3/24554 "2017-01-05T19:50:57Z")

</div>

Hey guys Anyone else see flickering at the top of the screen when you Play a game? I’ve found that clicking the “Maximize on Play” button in the Game View allows you to see the game running but the flickering doesn’t g…

---

## [Error in Chapter 10 on page 252](https://forums.kodeco.com/t/error-in-chapter-10-on-page-252/24611)

<div class="topic-metadata">

**Author:** [@makerboost](https://forums.kodeco.com/u/makerboost)\
**Replies:** 2\
**Last updated:** [January 3, 2017, 7:42am UTC](https://forums.kodeco.com/t/error-in-chapter-10-on-page-252/24611 "2017-01-03T07:42:29Z")

</div>

In the Start() function, the book tells us to find the GameObject with the tag “Player”. player = GameObject.FindGameObjectWithTag(“Player”).transform; This produces an error, as the result from FindGameObjectWithTag()…

---

## [Chapter 5 confusing code tips for GameController.cs](https://forums.kodeco.com/t/chapter-5-confusing-code-tips-for-gamecontroller-cs/24750)

<div class="topic-metadata">

**Author:** [@scotts7777](https://forums.kodeco.com/u/scotts7777)\
**Replies:** 0\
**Last updated:** [January 3, 2017, 5:37am UTC](https://forums.kodeco.com/t/chapter-5-confusing-code-tips-for-gamecontroller-cs/24750 "2017-01-03T05:37:22Z")

</div>

If you follow the steps through Chapter 5 - page 121-125 on spawning enemies in GameController.cs it gets VERY confusing. Even if you follow it exactly to the letter as laid out in the book your code will be wrong. The…

---

## [Camera Follow Script issues](https://forums.kodeco.com/t/camera-follow-script-issues/24556)

<div class="topic-metadata">

**Author:** [@scotts7777](https://forums.kodeco.com/u/scotts7777)\
**Replies:** 1\
**Last updated:** [December 27, 2016, 9:59pm UTC](https://forums.kodeco.com/t/camera-follow-script-issues/24556 "2016-12-27T21:59:25Z")

</div>

I’m just working through Chapter 3 : Components - in the part where we create a Camera Follow script - for some reason the camera is positioning itself way down below the BobbleArena. I checked the transform Y value of …

[Previous page](https://forums.kodeco.com/c/books/unity-games-by-tutorials/29.md?page=3)

[Next page](https://forums.kodeco.com/c/books/unity-games-by-tutorials/29.md?page=5)
