Do you get Error while installing Unity. (Error code: 1)? Some peoples are getting this error and don’t understand why. Since Error code: 1 is not a very describing error message.
Recently I came across this error message too. Then I remembered from earlier I got almost the same message when installing Visual Studio. It was slightly different. Visual Studio install error code 1. The Unity manual is not giving away too much information about this error message either.
Anyway, in my case I got the Error while installing Unity. (Error code: 1) because I already had Visual Studio installed. By default Unity uses the Visual Studio community edition as a code editor for Unity projects. You are free to change to another editor or IDE if you want too.
Error while installing Unity solution
So go to your settings, click Systems and select Apps & features from the left panel. Check if you already have a version of Visual Studio installed. That solved the issue for me. Not sure how I could forget Visual Studio was installed tho. However you can still use Unity if that was the case. It will still launch Visual Studio and works as normal. It is just the installer giving you the error because Visual Studio was already installed.
Other useful IDE’s
Many uses the Rider IDE from JetBrains. It is not free, but not super expensive either. And has a lot of useful functionality regarding Unity.
IntelliJ IDEA is another popular IDE many use with Unity. IntelliJ IDEA is like Rider made by JetBrains.
MonoDevelop is also still available, the former default IDE, for Unity.
Or if you are more hard core, you could even use VIM end Emacs as editors for Unity.
I’m new to Unity, and some of the stuff in Unity can be frustrating even tho it is a great tool. When working my self thru some tutorials for 2D games my sprites kept changing all the time, to random places on my sprite sheet. I got a bit tired of fixing my prefabs all the time, and after some googling and experimenting I found the reason.
After selecting the sprite sheet there is an option in the inspector called Generate Mip Maps. Right after deselecting Generate Mip Maps my sprites went back to normal.
Not sure what Mip Maps is or why is was selected. Just i tip sharing if anyone else run into same issues.