Getting started creating games from scratch - Unity3d environment construction

I was laid off recently, so when I had nothing to do, I discussed with my friends about trying to make a game (every man has a fantasy in his mind), and I recorded the first super simple game I made from scratch.

  • The door to entry, setting up the environment

This was my first pitfall.

First enter the official website below

Unity official download_Unity latest version_Download and install from Unity Hub | Unity China official website

Key points:Download Unity Hub first

This is a tool for managing projects and different versions of unity, which is equivalent to steam

After downloading and installing, use this tool to install the version of Unity you want to install.

The pitfall I encountered at the time was that I installed Unity 3d directly, and an error [License Error] was reported after opening it, and there was no pop-up window asking for login or registration. Only Unity installed through Unity Hub can be opened normally.


  • Unity version

You need to log in when you open Unity Hub for the first time. Remember to choose the personal version because it is free.

Then install the editor

The second pitfall is that it is not recommended to choose the installed versionOther versions, although this is the latest version, because if a new version is released version, then the version here will also become the latest.

When making games with other people, different bugs may occur if the versions are inconsistent.

 If you want to download the previous version, you need to go to the official website to find the corresponding version, and then select [Download from hub]

 

The third pitfall:Unity Hub update will delete the unity launcher installed in the same path. I don’t know if this bug is only encountered by me.

You can see the version number of Unity Hub in the upper left corner. After I restarted and updated from c4 to c5, the installed version 2022.1.15 was gone and became an empty folder, which could not be found in Unity Hub.

My personal guess is that after Unity Hub is upgraded, only the [long-term support version] of the editor will be retained, and then the [other versions] will be deleted and updated to the latest version for people to re-download and install.

If you don’t want to re-download because of poor network speed, you can go to [Installation] in the left gear [Preferences] and [Download Path] to find the current installation program and reinstall it. The file name is [UnitySetup64-Installed Version] No.exe]

Usually in the folder [unityhub-xxxxxxx], you can search it yourself according to the installation time.

After installation, select [Select Location] on this page, and select [Unity.exe] in the path of the reinstalled editor.

The fourth pitfall is that the above reinstallation method willlack the function of adding modules

Click the gear on the right side of the corresponding version. The editor installed through Unity Hub will have the [Add Module] function, and you can even install Chinese version.

 However, the editor that is installed by itself and then associated with the unity hub does not have this function, and there is no way to install the Chinese version.

  • Create project

 When creating a project, you can choose 2D or 3D according to your own needs. Note that you should not check [Enable version management] here, because the free version does not have this function (probably), so you cannot check it. Use git or git for project program files. Synchronize with other tools

After opening the project, this page will appear. Wait for ten minutes (depending on the computer performance) to open the unity editor.

Guess you like

Origin blog.csdn.net/dwe147/article/details/126859517