Search Unity

Tips for new Unity users

Discussion in 'Getting Started' started by Joe-Censored, Jun 27, 2019.

Thread Status:
Not open for further replies.
  1. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Been here on the forums for a while, and I've noticed a few trends with new users. Here's some tips to help you be successful in getting started, saving a bit of frustration, participating here on the forums, and having fun with Unity. They are in no particular order.

    1) When running tutorials, use the version of Unity which the tutorial was written for

    The tutorial was written using a specific version of Unity, and every new version of Unity will have changes which may slightly (or significantly) change the steps of the tutorial, or worst case require a new API or workflow to achieve the same results. There is nothing wrong with using a version of Unity which isn't latest/greatest, and the skills you learn in earlier versions of Unity will still translate to newer versions, even if the exact steps aren't identical or a menu option has been moved.

    It will be very frustrating when you are trying to walk through a tutorial and hit an unexpected error or can't find a menu option the tutorial specifies. After you have experience, you'll be able to get around these kinds of issues with ease, but not a good idea when just getting started. You can have installed as many different versions of Unity as you need at the same time, which is actually completely normal even for experienced Unity users.

    2) Make regular project backups

    Any project you don't have fully backed up, is as good as lost. Backup your project folder on a regular basis, especially after making significant progress, and always before you are about to make a significant change. This includes before you import a third party asset, and especially before you move your project to a different version of Unity. Unity doesn't support later downgrading your project's Unity version, so it is generally a one way trip and can result in unexpected issues in your project.

    You can just zip up your entire project folder, but you don't actually need the library folder and a few other files. You can search for threads on this specific topic if you're trying to minimize what files you save.

    Consider using version control instead of zip files for this purpose. Version control systems, such as Git or SVN, are the software industry standard way of doing backups and help in many additional ways which zip files are weak at. At first they seem an unnecessary hassle, but once you have to revert changes a few times or investigate when a bug first popped up you will change your opinion.

    3) Only use Unity versions with an "f", no "a", no "b"

    As a new Unity user, there is likely no good reason for you to be learning Unity on an alpha or beta version of Unity. Alpha or beta versions will have major feature breaking bugs, or might be missing important functionality. Other than using the same version as a tutorial, you should be jumping on either the latest tech release or the latest LTS release.

    Alpha releases have an "a" in the version, betas with a "b", released versions of Unity (and I believe release candidate builds) will all have an "f".

    4) When asking for help on the forum ask a specific question and provide context

    There are lots of people who are more than happy to help with your struggles here on the forum, but you have to ask a question which can actually be answered in a forum post, and provide enough information in order for that to be possible. Asking a general question which would require an entire tutorial series to answer, is just wasting everyone's time. Asking a very specific question, explaining what you are trying to do, showing the code you have, and what is happening that is unexpected, is very likely to quickly get you a helpful response.

    When posting code onto the forums, make sure you use CODE tags. There is a sticky thread at the top of the scripting forum explaining how to do that, or you can just quote any other post which includes code to see how it is done.

    When you are running into some suspected problem with Unity itself, it is often helpful to specify exactly what Unity version you are using.

    5) Don't bother asking questions on Unity Answers, just ask on the forum

    Unity Answers is slow to get a response, if it is working that day at all. Just ask your question here. Just make sure you post your question in the correct sub forum.

    6) Your first project should be a single player game

    You'll have a hard time learning Unity on a multiplayer game, especially involving networking. Those games are very complex and time consuming, and you're unlikely to be successful unless you already have the fundamentals of creating a game in Unity in the first place. Make your multiplayer game a later project, and start with a single player game, preferably something of very small scope.

    7) Just because Unity released a new version, that isn't a reason to upgrade your project

    Once your project reaches a significant level of progress, you should be planning to lock down your project's Unity version. From that point on you should only take a new Unity version if it has some must have bug fix or needed new feature, and only after careful consideration.

    Whenever you change a component in your project, you should retest everything that component touches, and since Unity touches everything, that means you need to retest everything. Like any complex software, a new Unity version can introduce new issues, and these can negatively impact your project. I've seen far too many threads here about people complaining that their released to the public game has been broken by upgrading to a new Unity version just because Unity released it, publishing the new build to the public without testing, and some critical functionality in their game is broken for their customers without a clear way to quickly resolve the problem.

    Edit: Please post your own additional tips!
     
    Last edited: Oct 30, 2019
  2. Vryken

    Vryken

    Joined:
    Jan 23, 2018
    Posts:
    2,106
    Also want to add:
    When posting a thread asking how to solve an error your script is throwing, please post the entire error message and stack-trace as well.

    Without that, we can only make assumptions.
     
  3. BrewNCode

    BrewNCode

    Joined:
    Feb 17, 2017
    Posts:
    372
    point #5 is the best one for saving time when you run into a bug.
     
  4. nitrofurano

    nitrofurano

    Joined:
    Jun 7, 2019
    Posts:
    92
    "there is likely no good reason for you to be learning Unity on an alpha or beta version of Unity. " - GNU/Linux users have almost no choice there... :S
     
  5. bloodwolftico

    bloodwolftico

    Joined:
    Nov 13, 2017
    Posts:
    100
    This is very useful. TYVM!
     
  6. wqhjstudios

    wqhjstudios

    Joined:
    Sep 3, 2019
    Posts:
    1
    i agree, bloodwolftico.
     
    Deleted User and jjrice2233 like this.
  7. angelicamontano0725

    angelicamontano0725

    Joined:
    Sep 5, 2019
    Posts:
    1
    Hello guys for Filipino out there I have tagalog unity tutorials kindly subscribe for more videos thanks
     
    jjrice2233 and KATDASIA like this.
  8. rutukate

    rutukate

    Joined:
    Sep 9, 2019
    Posts:
    1
    Very well explained the topic.
     
    jjrice2233 likes this.
  9. GarBenjamin

    GarBenjamin

    Joined:
    Dec 26, 2013
    Posts:
    7,441
    That's fantastic stuff @Joe-Censored. Unity Technologies should add that to the Unity download page (and maybe in the hub "while you're waiting for installation... READ THIS"). I would say put as sticky here but doubt anyone would see it.
     
    Spryte7, kitswas, JudyRosella and 5 others like this.
  10. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    I've been guilty of 7 a whole lot. I love tinkering with new toys. But I actually know what I'm doing + version control so there's that...

    Great set of tips!
     
  11. Game making is art. Every art form has its own set of rules. Newbies usually should not break those rules. Once you mastered the craft and you know the rules, you can start to break them when you know which rule you're breaking, for what purpose and when. Or you need to be incredible lucky.
     
  12. KermitCHP

    KermitCHP

    Joined:
    Dec 29, 2017
    Posts:
    11
    Thanks! Good advice!
     
    jjrice2233 likes this.
  13. circuitc99

    circuitc99

    Joined:
    Oct 1, 2019
    Posts:
    1
    Hi everyone---I am the ULTIMATE Noob when it comes to Unity--so forgive me for the ridiculous questions I am about to ask. Hoping someone can point me in the right direction. My company recently hired a vendor to crate a VR training module. The module was created for use with an HTC Vive Focus. We have the source file for the training module. Is there a way to import the training module into Unity and republish for use with Oculus instead of the HTC Vive Focus?
     
    jjrice2233 likes this.
  14. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    And it would be good to learn basic debugging skills! At a minimum, place numerous Debug.Log statements before and after the location of the code in concern which will show in the device logs. Write out all your variable values at run time when running on your Android device, don't guess. So you don't know how to capture device logs for Unity games? Google it! (search tip "capture device logs for unity"). Even better https://docs.unity3d.com/Manual/ManagedCodeDebugging.html This might help too

     
    Last edited: Nov 2, 2019
  15. altepTest

    altepTest

    Joined:
    Jul 5, 2012
    Posts:
    1,115
    I would add that if you want to install multiple unity versions do not install unity 5 in the same folder as Unity 2017 or up.

    More recent versions can be installed side by side but unity 5 may conflict/break files. Learned this the hard way, had to completely uninstall/erase several versions, cleaned all unity related files from appdata ecc, because I've put unity 5 in the same folder as the recent versions.

    Do Not open projects created with older versions using new versions of unity.

    First backup everything if you need to do it, but if you are not really forced for some reasons to upgrade the project better avoid this. You will most certainly have a bad time with errors hard to debug or impossible to fix.
     
    Joe-Censored, jjrice2233 and User340 like this.
  16. Zchary

    Zchary

    Joined:
    Oct 9, 2019
    Posts:
    2
    Thanks for the advice!
     
    jjrice2233 likes this.
  17. JeffBship

    JeffBship

    Joined:
    Nov 1, 2019
    Posts:
    9
    This! I've been pulling my hair out for 2 days. Sadly, using the latest version on the download page and which is in the range of the recommended version for https://learn.unity.com/tutorial/2d-game-kit-walkthrough (2017.3 - 2019.2) does not work and leads to the exact situation you describe.

    I wish they'd include a specific version used to create the tutorial, with a link to the download archives for that exact version. Tons of frustration just to get the menu option "Kit Tools" to appear, only to get to the second step and that step doesn't work either.
     
  18. hstatus

    hstatus

    Joined:
    Dec 1, 2019
    Posts:
    2
    Thanks for this video
     
    jjrice2233 and tigerleapgorge like this.
  19. junior330

    junior330

    Joined:
    Jan 15, 2020
    Posts:
    5
    Thanks for sharing.
     
    jjrice2233 and tigerleapgorge like this.
  20. electroprofik

    electroprofik

    Joined:
    Dec 29, 2019
    Posts:
    5
    For me, this post is just the right instruction, as for a beginner. The information is clear. Thanks to the author.
     
  21. Inxentas

    Inxentas

    Joined:
    Jan 15, 2020
    Posts:
    278
    Don't be afraid to fail at first.

    One of the best ways to learn something is to go in blind and frustrate yourself. This sounds counter-intuitive but it helps you to figure out what disciplines in game development you find hard, and which you find easy. You'll gravitate towards finding solutions on the end you're struggling with, making you a better developer. You can't master every skill though, so admitting a weakness and moving on is more productive then chastising yourself. I for one suck at keyframe animation, so I used assets from the Store to learn how to tinker with blend trees from code.

    Look at tutorials for inspiration, but the most recent documentation to actually implement anything. Look at the dates, anything old might contain techniques no longer available as such. Usually you'll find the same functionality in some newer package, or under a new name.
     
  22. bluecrimson42

    bluecrimson42

    Joined:
    Apr 7, 2020
    Posts:
    2
    Will Unity help me learn how to code for other software engineering jobs so I can freelance while trying to start game development and narrative writing? If not, any recommendations for programs to use and learn?
     
    jjrice2233 likes this.
  23. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Coding skills are rather general. Once you learn a few programming languages you'll understand that the language is just another tool, and programming challenges are often solved similarly in different languages. So as far as learning to code with Unity, the skills you learn will certainly benefit you elsewhere, and C# which Unity uses just happens to be one of the world's most popular programming languages right now.

    What you learn as far as the Unity Editor itself though is fairly proprietary to Unity.
     
  24. bluecrimson42

    bluecrimson42

    Joined:
    Apr 7, 2020
    Posts:
    2
    Thank you very much. I appreciate your feedback!
     
  25. Inxentas

    Inxentas

    Joined:
    Jan 15, 2020
    Posts:
    278
    I second that answer. I was proficient in ActionScript 3.0 which looks a lot like C#. Once you understand one object oriented language, learning another is rather easy.

    Just different syntax (the order of words) and maybe a few extra features. For instance, Queues and Lists were new to me coming from AS3.

    By learning C# you get a principial understanding of pretty much any typed and compiled language out there.
     
    jjrice2233 and Joe-Censored like this.
  26. iampranav

    iampranav

    Joined:
    May 3, 2020
    Posts:
    1
    Hey everyone, thank you for the tips. I am new to unity and the game development world.
     
    jjrice2233 and Joe-Censored like this.
  27. ArtemLookinAR

    ArtemLookinAR

    Joined:
    May 9, 2020
    Posts:
    12
    Thanks for the tutorial
     
    jjrice2233 likes this.
  28. miamihope

    miamihope

    Joined:
    May 12, 2020
    Posts:
    2
    Dumb question f interested in unity !
    Can someone make a Unity game basically, only using WebGL & three.js ? I saw an article on the WebGL topic, but my eyes ar a mess and couldn’t put 2 and 2 together
     
    jjrice2233 and ArtemLookinAR like this.
  29. Charles-Brant

    Charles-Brant

    Joined:
    May 11, 2020
    Posts:
    9
    Why would you need three JS? You can make browser game (WebGL) using unity only.
     
    jjrice2233 and miamihope like this.
  30. miamihope

    miamihope

    Joined:
    May 12, 2020
    Posts:
    2
    Thanx for answering just super curious about making a “head-first” charge into Unity!
     
    jjrice2233 likes this.
  31. Petrovarh

    Petrovarh

    Joined:
    May 15, 2020
    Posts:
    1
    I’m a beginner, my first time using unity. My pc runs on 32 bits, I installed unity editor 5 for 32 bits without the hub. I can only watch tutorials, if I try to practice something new, it always say “failed to initialize unity graphics”.
    I need someone to put me through please, I’m so confused.
     
    jjrice2233 likes this.
  32. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    What is your GPU? If your computer is so old it is still 32 bit, you very well might have a GPU so old it is not supported.

    Unity 5 is old and no longer under active support. All of the recent tutorial content will be for later Unity versions, so won't be able to open in Unity 5. You can find a wide variety of tutorials from a few years back on YouTube though.
     
    jjrice2233 likes this.
  33. bananabasher

    bananabasher

    Joined:
    Jun 3, 2020
    Posts:
    2
    hey can you help me out? I just got unity on Mac and I cant find out how to edit my scripts.
     
    jjrice2233 likes this.
  34. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    When you double click the script within Unity, what happens?
     
    jjrice2233 likes this.
  35. MFKJ

    MFKJ

    Joined:
    May 13, 2015
    Posts:
    264
    Here are 10 worth Unity tips for new Users. First three tips are belong to Unity2019 editor:
     
    jjrice2233, JohngUK and janett17 like this.
  36. janett17

    janett17

    Joined:
    Jun 26, 2020
    Posts:
    2
    Awesome, thanks for sharing:)
    Well..Hi everyone, I'm a newbie here..!
     
    jjrice2233, Joe-Censored and MFKJ like this.
  37. game187

    game187

    Joined:
    Jul 11, 2020
    Posts:
    1
    Thanks for these tips
     
    jjrice2233 likes this.
  38. MFKJ

    MFKJ

    Joined:
    May 13, 2015
    Posts:
    264
    Four Coding or Visual Studio 2019 tips for Unity3d Developers!
     
    jjrice2233 likes this.
  39. huseyinbaba58

    huseyinbaba58

    Joined:
    Feb 12, 2020
    Posts:
    146
    Good article.That will provide benefits to us.
     
    jjrice2233 likes this.
  40. asherdavidson

    asherdavidson

    Joined:
    Aug 17, 2020
    Posts:
    17
    Great tips, thank you!
     
    Joe-Censored and jjrice2233 like this.
  41. The314pies

    The314pies

    Joined:
    Sep 3, 2020
    Posts:
    2
    Nice tips!
     
    jjrice2233 and Joe-Censored like this.
  42. cbfunky

    cbfunky

    Joined:
    Sep 11, 2020
    Posts:
    24
    Thanks for the hint about Answer - when you google problems that you come across you find links to the Answers section quite often, not so much for the forums. So that makes one think Answers is the place to go... >_<

    Now I know better :)
     
    jjrice2233 and Joe-Censored like this.
  43. isotian

    isotian

    Joined:
    Mar 8, 2015
    Posts:
    6
    I have complains when I see tutorials, because they introduce you to the most important features but they do not do that for the concepts: explain why this functionality is implemented in the given way. I`m not able to make a good design on paper even if I have done some projects already and learned CS. This video https://www.youtube.com/watch?v=1YGVP6wsxj0 and this one
    are examples of resource I`m looking for, ideally from the Unity team since they do made this decisions (about why this functionality is implemented in the given way)
     
    AlvaroMN and jjrice2233 like this.
  44. Bloodhunteryt

    Bloodhunteryt

    Joined:
    Sep 25, 2020
    Posts:
    4
    Im am the noobiest noob ever so thanks you kind sire
     
    jjrice2233 and Joe-Censored like this.
  45. MarketingAgency

    MarketingAgency

    Joined:
    Oct 19, 2020
    Posts:
    1
    As a newbie on Unity, this is really very helpful and can prove to be beneficial.
     
    jjrice2233 likes this.
  46. unity_mtd-VYKTtrPjag

    unity_mtd-VYKTtrPjag

    Joined:
    Nov 6, 2020
    Posts:
    2
    Hello, I am a newbie. I'm trying to install a version of unity from the hub but it says to me that I don't have enough.space but in the hub we can see the total space(440Gb) and the required space(between 13 and 18.8Gb following your modules). Specific part: I work on a free version of Linux mint 20 Ulyana. I couldn't download the hub from the unity blog but by the software manager of mint.Is there something I should do or just desinstall it and try again?
     
    jjrice2233 likes this.
  47. kevinsanjaya

    kevinsanjaya

    Joined:
    Jan 18, 2021
    Posts:
    1
    thankyou for the tutorial
     
  48. Deleted User

    Deleted User

    Guest

    I'm a newbie to Unity but a pro at beta-testing ("debugging") programs, looking forward to putting all of this advice to good use.
     
    Joe-Censored likes this.
  49. Inventory_Status

    Inventory_Status

    Joined:
    Dec 31, 2020
    Posts:
    42
    Hi, can anyone tell me how to delete my own threads and add tags? I'm new to the forums and I accidentally posted a thread in the wrong place. I also am having difficulty adding tags to my threads because everytime I do so, I keep getting an error stating that "I'm not allowed to create new tags." So Im not able to add tags to my threads at all.
     
  50. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    You can't delete your own threads, because there would be a problem of people asking questions, then getting helpful answers that the community benefits from, then the OP deletes the thread. If your thread is useless though, go to the bottom of your first post and hit the report button. In the message ask the mod to delete the thread. They can do that for you.

    As far as tags, I don't know anything about that, and no one pays attention to them because more often than not threads are tagged incorrectly. For example, head over to the Scripting forum and notice how many threads are tagged with "Unityscript". I don't even have to look, but I'd guess you'll see at least 5 of such threads on the first page. Most likely 0 of those threads has anything to do with Unityscript, which was a Javascript like language Unity removed from the Editor a few years ago. So tags are useless, don't worry about it :p
    https://forum.unity.com/forums/scripting.12/
     
Thread Status:
Not open for further replies.