Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

book files

Discussion in 'Editor & General Support' started by westray, Jan 18, 2015.

  1. westray

    westray

    Joined:
    May 19, 2014
    Posts:
    1
    Hi.I have downloaded the epub book from amazon Unity Game Development in 24hrs by Mike Geig.My question is where can I get the files(models,animations)that the book says are included with the book?
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    From the Amazon user Reviews it sounds like there should be a download code / URL as text inside the book.
     
  3. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    There's a page near the front with a download link. Also, hello.
     
  4. deuxieme

    deuxieme

    Joined:
    Jul 15, 2015
    Posts:
    19
    Hi there,

    I'm replying here because I encountered this problem this morning and finally solved it. The link that is currently in the textbook is broken because informit.com/register is redirecting to informit.com/safarifree as a promotional offer (for myself and others). It then prompts you to sign up for an online version of the book which does not include the book assets. Understandably confusing.

    You have to go to informit.com and manually sign up and then search the book by ISBN, then on the book's page there is a tab for 'Downloads' which contains the assets.

    So, strictly speaking the book isn't linking to the assets as long as informit is running that safari promotion and redirecting...

    Here is a link to the assets themselves: http://www.informit.com/content/downloads/downloads/9780672336966_Assets.zip

    I hope this helps
     
  5. vanwinkle_kevin

    vanwinkle_kevin

    Joined:
    Jun 20, 2018
    Posts:
    2
    Hello Mike,
    I bought the Unity 2018 game development book this weekend. I have tried to access the download link located in the book for the scripts in chapter 7. Do you know if there is an error on the download?
    Thank you for the assistance!
     
  6. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    What happened when you tried deuxieme's solution?
     
  7. vanwinkle_kevin

    vanwinkle_kevin

    Joined:
    Jun 20, 2018
    Posts:
    2
    I was able to download the zip file. It was older and doesn't have the same scripts. They had a mono script that threw some errors when attaching them to the gamemanager. It was saying there was an error in the following section of code:

    void Start () {

    //prevent the character controller
    //from looking around
    motorScript.enabled = false;
    lookScript.enabled = false;
    }

    I may have to re-verify the issue later tonight then if this isn't an actual issue.
     
  8. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Howdy, sorry I just saw this. I don't check the forum notifications often. What happens when you try to download the files? I've confirmed that all the files are live and available
     
  9. stefankryan

    stefankryan

    Joined:
    Dec 29, 2018
    Posts:
    2
    im also having a problem it's saying my book code and the book was never used before purchase
     
  10. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Which edition of the book are you using? With the 3rd edition the files are just available for download on my website.
     
  11. stefankryan

    stefankryan

    Joined:
    Dec 29, 2018
    Posts:
    2
    2nd edition
     
  12. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Oh, got ya. Those files are hosted on Pearson's own site. I don't have any control over that. Can you contact the site support?
     
  13. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    I, too, am using the 2nd edition of "Sams Teach Yourself Unity Game Development", and I downloaded the book assets for Hour 7, but they said that they can't add the script because it doesn't derive from MonoBehaviour. I look at the setup for the script, and MonoBehaviour is in there, and the class is the same. Can somebody please help me with this issue?
     
    Last edited: Jun 13, 2019
  14. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    Also, it is the physical version, not the online version.
     
  15. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    These are my files for Hour 7's game "Amazing Racer"
     

    Attached Files:

  16. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Sounds like you have a compilation error which is causing the script to not fully compile.
     
  17. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    Do you have a possible solution to that problem by any chance?
     
  18. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Check your console window for errors and then fix any compilation errors you find.
     
  19. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    Would this help my script issue, because they won't go in to the thing they're supposed to be. I'll look, but I'm not too sure on it.
     
  20. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Yes, exactly. You can't apply them because they have a flaw and Unity is preventing it. Even if the flaw is in a different script, Unity will stop compilation
     
  21. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    Doesn't say anything on MonoBehaviour, but it says it couldn't decompress a package (which was from before), and it asked if I'm missing an assembly reference.
     
  22. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Yep, if a package won't compile then it won't compile scripts. You'll need to resolve that error.
     
  23. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    How do I, for I don't know much on Unity.
     
  24. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    I am also very sorry for the crazy amount of questions I have.
     
  25. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    I couldn't say. I don't know what the error is. Can you screenshot the whole error or copy paste it here?
     
  26. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    Sure, I'll try. I'll show you the files, if you didn't look at those already.
     
  27. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    Assets/FirstPersonCharacter/Scripts/FirstPersonController.cs(3,27): error CS0234: The type or namespace name `CrossPlatformInput' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?

    /FirstPersonCharacter/Scripts/FirstPersonController.cs(3,27): error CS0234: The type or namespace name `CrossPlatformInput' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?

    Assets/FirstPersonCharacter/Scripts/HeadBob.cs(3,27): error CS0234: The type or namespace name `Utility' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?

    Assets/FirstPersonCharacter/Scripts/MouseLook.cs(3,27): error CS0234: The type or namespace name `CrossPlatformInput' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?

    Assets/FirstPersonCharacter/Scripts/RigidbodyFirstPersonController.cs(3,27): error CS0234: The type or namespace name `CrossPlatformInput' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?

    Assets/FirstPersonCharacter/Scripts/FirstPersonController.cs(22,34): error CS0246: The type or namespace name `FOVKick' could not be found. Are you missing an assembly reference?

    Assets/FirstPersonCharacter/Scripts/FirstPersonController.cs(24,34): error CS0246: The type or namespace name `CurveControlledBob' could not be found. Are you missing an assembly reference?

    Assets/FirstPersonCharacter/Scripts/FirstPersonController.cs(25,34): error CS0246: The type or namespace name `LerpControlledBob' could not be found. Are you missing an assembly reference?

    Assets/FirstPersonCharacter/Scripts/HeadBob.cs(10,16): error CS0246: The type or namespace name `CurveControlledBob' could not be found. Are you missing an assembly reference?

    Assets/FirstPersonCharacter/Scripts/HeadBob.cs(11,16): error CS0246: The type or namespace name `LerpControlledBob' could not be found. Are you missing an assembly reference?

    Failed to import package with error: Couldn't decompress package
    UnityEditorInternal.InternalEditorUtility:projectWindowDrag(HierarchyProperty, Boolean)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    Failed importing package C:/Users/HP/Desktop/Hour07_BookFiles/Scripts/FinishScript.unitypackage
    UnityEditorInternal.InternalEditorUtility:projectWindowDrag(HierarchyProperty, Boolean)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  28. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    There is a lot of these, but most of them are around the same thing.:eek:
     
  29. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Hmm, what version of Unity are you using? You may need to use the version from the book. It looks like changes to the editor do not play well with something in the scripts or packages
     
  30. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    The one before the latest, 2018.2
     
  31. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Ah, I think I wrote that book with 2017.x.
     
  32. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
  33. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    Sorry, lag.
     
  34. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    So, what do you think is the issue?
     
  35. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    I think you need to try opening it with 2017.1 or so since that was the version those assets were made for. See if that resolves the issues. The scripts themselves are probably fine if taken directly from the book files.
     
  36. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    How do I change it to that?
     
  37. Indiana34

    Indiana34

    Joined:
    Jun 13, 2019
    Posts:
    18
    Hang on, I found a way to do it with the current thing in Unity I'm on, I needed to add it via "Add Compound".:oops: Sorry to waste your time and thank you, Mike, for the help, it may be used in the future.:)
     
  38. rick_mehta

    rick_mehta

    Joined:
    Dec 4, 2017
    Posts:
    3
    from where i can get the assets files
     
  39. sir-Gio

    sir-Gio

    Joined:
    Jan 20, 2020
    Posts:
    14
    I am just reading this book and find it very good. It is III edition based on Unity 2018. But the link to the source material http://fixbyproximity.com/Downloads/UnityBook.html does not work. Can you please give me another download source ?
    The page fixbyproximity.com is very hard to open (or is not openable at all) and has no download section.
     
  40. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Hmm, I clicked the link and it opened right up for me. Are you getting an error?
     
  41. sir-Gio

    sir-Gio

    Joined:
    Jan 20, 2020
    Posts:
    14
    Now I got it ! Thank you very much. And thank you for your book, which is exciting. My wife can't pull me away from the computer :)
     
  42. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Awesome! That is excellent to hear.
     
  43. hiko2000

    hiko2000

    Joined:
    Jun 2, 2020
    Posts:
    1
    Hi!

    I have a problem importing material into the book. When I try to import it, I get the message "Nothing to import. All assets from this package are already in your project." Any Ideas? Please, help me!
     
  44. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    It sounds like you've already imported the assets into your project. You should be good to go!
     
  45. Mrmystery543

    Mrmystery543

    Joined:
    Aug 12, 2021
    Posts:
    1
    Hello Mr. Geig my FpsCharacter is not working in unity.
     
  46. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    What version of Unity? What edition of the book? What is going wrong (error, misbehavior, etc)?
     
  47. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Ah got ya. If you go into the code and replace the name "CrossPlatformInput" with just "Input" it should work. Try that out
     
  48. Lumen264

    Lumen264

    Joined:
    Apr 2, 2021
    Posts:
    2
    I cannot download the Sams Teach Yourself Unity Game Development in 24 hours 4th version files, which cover Unity 2020 LTS from the website.

    It seems as though the downloading process almost seems to take forever without a progress bar or end.
     
  49. Mike-Geig

    Mike-Geig

    Unity Technologies

    Joined:
    Aug 16, 2013
    Posts:
    220
    Which Hour are you trying to download? They work for me: http://fixbyproximity.com/Downloads/4th_Edition/UnityBook.html
     
  50. Lumen264

    Lumen264

    Joined:
    Apr 2, 2021
    Posts:
    2
    I can't seem to download Hour 4. The download seems to take forever.