{"id":3656,"date":"2022-12-13T21:24:44","date_gmt":"2022-12-13T21:24:44","guid":{"rendered":"http:\/\/mycours.es\/digitalmedia\/?page_id=3656"},"modified":"2025-03-24T12:57:05","modified_gmt":"2025-03-24T12:57:05","slug":"unity-introduction","status":"publish","type":"page","link":"https:\/\/mycours.es\/digitalmedia\/unity-introduction\/","title":{"rendered":"Unity: FAQ"},"content":{"rendered":"<h2>Setup and management<\/h2>\n<p>Many tools we use in this class are meant to be educational and designed with beginners in mind.<br \/>\nUnity is very accessible but it&#8217;s an actual game engine used for million-dollar commercial projects, so there are a few considerations and a few more things to keep in mind.<\/p>\n<p>For this project you cannot use your laptop.<\/p>\n<p>You will need a 3 button mouse, a big monitor, and a fast performing computer.<\/p>\n<p><span style=\"font-weight: 400;\">Unity projects can get very big, over 1 GB so y<\/span><span style=\"font-weight: 400;\">ou need an external hard drive to store your project and to bring it back home.<\/span><\/p>\n<p>Samsung and LACIE are reliable manufacturers that produce rugged portable hard drives.<br \/>\nThe minimum specifications are: <strong>USB 3.0, 7200rpm or SSD, 1TB of capacity<\/strong>.<\/p>\n<p><span style=\"font-weight: 400;\">External hard drives have to be <a href=\"https:\/\/www.laptopmag.com\/articles\/format-drive-for-windows-and-mac\">formatted exFAT<\/a> to be used on both Mac and PC<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The external hard drive has to be connected to the USB ports marked SS on the lab PC.<\/span><\/p>\n<p>You can and you should create the Unity projects directly on your external hard drive<\/p>\n<p><span style=\"font-weight: 400;\">You should regularly back up your Unity project. You can create a .zip of the asset folder and upload it to google Drive or Box<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you don&#8217;t create the project on the hard drive , Unity\u2019s default location on the PC lab is<br \/>\n<\/span><span style=\"font-weight: 400;\">C:\/&#8230;\/username\/documents<br \/>\nOpen that location right now.<br \/>\n<\/span><span style=\"font-weight: 400;\">Since the folder is locally, it doesn\u2019t have space limitations, but it will stay on that physical computer.<br \/>\nSo you have to sit at the same computer.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Although it\u2019s unlikely, computing services can\u2019t guarantee that the C hard drive won\u2019t be wiped out at any point during the semester. If not using a hard drive you should back up the project at the end of each class.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To back up or move a whole project you have to move the enclosing folder.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A project can take several minutes to copy because it has tons of files. You must wait until everything is copied or moved before you start working again.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To rename a project you have to close the project, rename the enclosing folder, and reopen it from the hub.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There is no \u201csave as\u201d in Unity, \u201csave as\u201d is just for scenes within a project.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There can be multiple scenes in a project. Sometimes scenes are in the Scene folder in assets.<br \/>\n<\/span><span style=\"font-weight: 400;\">Scenes have the Unity icon.<br \/>\nScenes contain information about the arrangement of the objects, what you see on the hierarchy panel.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">I will provide several templates as .unitypackage files, which are similar to like zip files.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Every time you import a package I will ask you to rename the scene and never work on something called \u201ctemplate\u201d or \u201cemptyScene\u201d because reimporting the same package will overwrite the scene (there is a warning that students often ignore).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Assets that are imported in Unity are copied in the asset folder, they are not linked. The original downloads in the download folder can be deleted.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Unity allows you to edit a scene in play mode. All the changes will be reverted when switching back to edit mode. This is a great feature of the engine but it\u2019s a tragedy for beginners.<br \/>\n<\/span><b>This is 100% certain: some students will edit their scene in play mode and then lose all their work.<br \/>\n<\/b><span style=\"font-weight: 400;\">One way to minimize this risk is to go to Edit &gt; preferences &gt; colors&gt; playmode tint and change the color to RED so you know you can\u2019t change things when the interface is all red.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Pausing with the pause button doesn\u2019t exit play mode. You have to click on the play button again to exit.<\/span><\/p>\n<h3><strong>Common issues<\/strong><\/h3>\n<p>Skim these common problems, come back to this session to troubleshoot your project.<\/p>\n<p><span style=\"font-weight: 400;\">You may open a project and not see your work, just because it&#8217;s not opening the right scene open. Check all the scenes, also in the &#8220;Scenes&#8221; folder.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If everything looks white is probably because you are searching for things in the hierarchy.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If everything looks flat is probably because you accidentally click on the isometric toggle under the gizmo on the top right.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you can&#8217;t see the interface it may be because you accidentally click on buttons on the top right of the scene panel disabling skybox, gizmos etc.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Objects can be hidden and locked from the hierarchy in edit mode. These objects <strong>will<\/strong> be visible in play mode.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The Game panel has a cursed default setting \u201clow resolution aspect ratio\u201d that will make their views tiny. Uncheck that and select Full HD.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you hit play and the camera doesn&#8217;t move it may be because a camera from an imported model took over the player one,<br \/>\n<\/span><span style=\"font-weight: 400;\">Click on the asset in the project panel &gt; inspector &gt; model &gt; uncheck import camera<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If your scene looks suddenly overexposed it may be because there are extra lights from an imported model<br \/>\n<\/span><span style=\"font-weight: 400;\">Click on the assets in the project panel &gt; inspector &gt; model &gt; uncheck import camera.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you want to edit scripts you have to use Visual Studio or Visual Studio Code. The set up is not automatic:<br \/>\n<\/span><span style=\"font-weight: 400;\">Preferences &gt; External Tools &gt; Browse &gt; Wherever the hell VS Code is hidden.<\/span><\/p>\n<h2>Unity Overview<\/h2>\n<p><iframe loading=\"lazy\" title=\"Unity: overview\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/wRMHHnQwxks?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setup and management Many tools we use in this class are meant to be educational and designed with beginners in mind. Unity is very accessible but it&#8217;s an actual game engine used for million-dollar commercial projects, so there are a few considerations and a few more things to keep in mind. For this project you &hellip; <a href=\"https:\/\/mycours.es\/digitalmedia\/unity-introduction\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Unity: FAQ&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3656","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mycours.es\/digitalmedia\/wp-json\/wp\/v2\/pages\/3656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mycours.es\/digitalmedia\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mycours.es\/digitalmedia\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mycours.es\/digitalmedia\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mycours.es\/digitalmedia\/wp-json\/wp\/v2\/comments?post=3656"}],"version-history":[{"count":4,"href":"https:\/\/mycours.es\/digitalmedia\/wp-json\/wp\/v2\/pages\/3656\/revisions"}],"predecessor-version":[{"id":4085,"href":"https:\/\/mycours.es\/digitalmedia\/wp-json\/wp\/v2\/pages\/3656\/revisions\/4085"}],"wp:attachment":[{"href":"https:\/\/mycours.es\/digitalmedia\/wp-json\/wp\/v2\/media?parent=3656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}