how to switch platforms in unity? - unity3d

hiii i am new to unity, and i want to switch my platform to android. but, the problem is, when i click the android in build settings, it says "no android module loaded". and when i click to install with unity hub, it says "the unity version 2019.4.13f1 is already located by the hub. You cannot add modules to a located hub". how to resolve this issue ?? and i have also tried installing unity installer and when the downloading completes, it says "failed to locate unity.exe".... can someone pls help me with this.. I am trying this since past few days, and it has become annoying :(.. plssss somebody helpp.....

You should try this post:
Can't add modules to installed Unity editors
It says no reinstall required. But I would try that next.
It cannot hurt to read this as well:
https://docs.unity3d.com/Manual/android-sdksetup.html

Related

I can't make a new Unity Project

I have an error with creating a project with unity Hub (Editor 2021.2.9)
Here is the error message:
Could not find Unity Package Manager local server application at [/Applications/Unity/Hub/Editor/2021.2.9f1/Unity.app/Contents/Resources/PackageManager/Server/UnityPackageManager]. Missing files could be the result of an antivirus action or a corrupt Unity installation.
I tried to look it up but I don't have a Unity.app folder.
How do I get it? I tried to reinstall it and still there is nothing there.
I'm on a MacBook M1.
I appreciate any help.
Try to turn off antivirus and reinstall it again

Unity 3d error while opening the editor. Probably an error in the package manager

I am facing a problem with unity 3d editor. The issue is in both the versions of the Editor that I have downloaded being 2021 version and 2019.4 version. It occurs whenever I create and load up a new project in the unity editor.I have made no changes in the script or the scene so it is probably a problem with the packages. The module I have downloaded is the android build support and windows build support. Moreover I do not get any error message. I am attaching a screenshot. Please check the screenshot and please see what is the problem. Please help is you can. I will be very thankfulPlease see the picture and Help

Unity - Bug in Unity Hub : Unity is already in list. You cannot locate the same version

When I launch a project via Unity Hub, the following message is printed : Unity is already in list. You cannot locate the same version.
unity hub error
And when I want to access my project via Assets -> Scenes.
I get this : error message
If I said "continue", my project is broken with a lot of errors to fix.
Have you a solution ?
Thanks
From what I see in your screenshot, you are trying to open a project with an older unity version than the project's version. As it is written in the message, the operation is not supported and you should open it with at least the same version, or an older one. Make sure you have such a version installed in Unity Hub and to open the scene with this version.
You can still try to get everything to work by reimporting all you assets in Assets -> Reimport All but this will probably fail.

Installed Unity without hub version and now unity hub won't allow me to add module

i installed unity 2019.3.10f without unity hub. Now i want to download modules such as android , sdk ,ndk and jdk (recommended ones) but hub does not give option to add module.
Unity version is latest same as hub but radio button is disabled
You can re-enable the option 'Add Modules':
Windows
1- go to C:\Users\{USER_NAME}\AppData\Roaming\UnityHub
MacOS
1- go to ~/Library/Application/Support/UnityHub
2- open editors.json file.
3- change "manual":true to "manual":false
4- kill the UnityHub and restart it. Note: Do not forget is stays in the tray on Windows.
So, i searched and found out that if you don't download unity from unity hub you cannot add modules from unity hub.
I didn't expected that but that's how it works.
So, i had to uninstall the old one and then install via unity hub.
The three dot option show modules only if its downloaded via unity hub.
In short if you want unity hub's help you would have to play by unity hub's rules. That might be inconvenient to some extent.
The manual re-enable only seems to work if you have just one version of the editor installed. If you have more than one, it attempts to install the modules for the version you actually downloaded with the hub. This can break things. At this point, unfortunately, it seems you must uninstall the version that is not allowing modules to be added, and reinstall it directly through the hub.
Here is simple trick, and it worked for me.

Fatal error- Monodevelop-Unity failed to start

I originally installed unity but the monodevelop seems to not been installed as i tried to open a script in unity but nothing come out, saying i should find a software that opens it up when i have already set the preferences to monodevelop(built-in).
Then i reinstalled it again, this time, it contains visual studio too. then it can only open with visual studio. When I tried to open with monodevelop, the following pop-up will apear.
But I have already installed the two things which is /net and gtk. as shown below. what is the problem?
1st time-- install gtk after install unity(no monodev) 2nd time--
install monodevelop with unity i went to the monodev website and it
says xamarin studio not monodevelop
You messed up in the first step.
You have to Uninstall gtk and everything else you installed during this time. This includes Unity too.If possible, do a system restore and set the restore date to the time before you installed any of this.
Now, install Unity, make sure that MonoDevelop is selected from Unity and then install it. Don't install gtk or any other software. When using Unity, MonoDevelop must be installed from Unity and not from any other website. The reason for this is because they are using a customized version of MonoDevelop.