"Unable to create project" error in Unity hub 3.1.2 - unity3d

I've been having some issues with Unity so I installed the latest hub but now I can't create any new projects and I don't know what to do. Does anyone know how I can solve this?
Here is what happens when I try to create a new project

Check the version on the top, this happened to me when I uninstalled the editor and installed a previous version. There's a drop down menu where you can select the correct editor version.

This is a path issue. All paths should be select.
enter image description here

In macos it is for permissions, I solved it by following these two tutorials
Enable root user
https://www.maketecheasier.com/enable-root-user-mac/
Execute Unity Hub as root user
https://es.wikihow.com/abrir-aplicaciones-con-privilegios-de-ra%C3%ADz-en-una-Mac#:~:text=Es%20posible%20abrir%20cualquier%20aplicaci%C3%B3n,a%20la%20aplicaci%C3%B3n%20o%20computadora.

When the editor is installed in a non-C drive, the editor has no right to create objects in any path
Unistall Unity Editor and install it in C:*
https://forum.unity.com/threads/if-unity-hub-didnt-be-installed-in-c-you-cannot-create-project.1375554/
report bug

Related

Reload Scripts Assemblies (busy for long time) Unity Freezes

I'm Using Unity version 2020.3.32f1 & Rider as Editor. Whenever I make any changes in scripts, even small changes, Unity script assemblies take too much of time to compile and load. Sometimes it freezes Unity entirely and in the Task Manager I can see "application not responding" for the Unity session.
Does anyone know how I can solve this issue?
Disable Domain Reloading. To disable Domain Reloading:
Go to Edit > Project Settings > Editor
Make sure Enter Play Mode Options is enabled.
Disable Reload Domain
source https://docs.unity3d.com/Manual/DomainReloading.html
Edit > Project Settings > Editor > Check Enter Play Mode Options
Uncheck reload domain & reload scene
That worked for me .. unity 2021.3.4f1
After so much of research, I got one solution which worked for me , in Unity Package manager , Search for Rider & got Update for rider. After Updating Rider version from unity package manager. my Scripts reloading issue got fixed.
The Windows version of UnityEditor also has this problem.
Weirdly, if you have this problem, just save any file in your Unity project folder without changing anything and the progress bar will start progressing.
Open Window->Package Manager. Select Packages: In Project to see the packages currently installed. Remove everything you are not using.
Not being logged in in the Unity editor (upper left corner) certainly seems to increase the chances of this issue happening.
If you open the Package Manager without being logged in you get some errors in the console. I suspect this is related but in the script reload case it just hangs.

Unity 3D is Layout Errors On a fresh install

Unity 3d doesnt work, when I try to open my project it says that This can happen if layout contains custom windows and there are compile errors in the project. I tried reinstalling OpenGL and something that I found on the internet but didn't work. The error window says that Revert Factory Settings but same thing happens after it too my Unity version is 2020.1.0a My OS is Ubuntu and I gave all the permissions to some folders. Didn't work And all this happened after a fresh install
Unity 2020.1.0a3 is an ALPHA VERSION!
As any alpha version it is not stable for production and can be expected to be full of bugs and unexpected behavior.
Search through the Known Issues in 2020.1.0a3 maybe your problem is already listed there.
In general do not touch alpha or beta versions unless you want to checkout a new added feature and test it.
For anything else stick to the stable releases like 2019.1.14f1 or 2019.2.6f1
On the last letter you can see their state:
a = Alpha
b = Beta
f = Release
Not sure if these are related but here and here also others had this problem already in early version so maybe one of their hot-fixes work for you as well.
This error may occur in released versions.
To resolve this problem:
Go to this directory:
C:\Users{YOUR_USER}\AppData\Roaming\Unity\Editor-5.x\Preferences\Layouts\default
Open Default.wlt file with Notepad or any text editor and copy all its contents.
Go to your unity project directory like this:
{YOUR_UNITY_PROJECT}\Library
Open CurrentLayout-default.dwlt file with Notepad or any text editor and delete all its contents then paste the contents of Default.wlt that you copied in step 2
If these files exist in Library delete them:
CurrentMaximizeLayout.dwlt
CurrentLayout.dwlt
Stop the Unity Hub service by a click the system tray and right-click on Unity Hub icon then select Quit Unity Hub.
Run your project again.

Getting "Error: Failed to connect to OmniSharp"

I'm trying to get VSCode working with my Unity projects, and every time I select the Project icon (the little fire at the bottom) I get the following error:
Error: Failed to connect to OmniSharp
Is anyone else getting this?
You need to download the most recent version of "mono". Open up terminal and pass in brew install mono. Then "Pick a project" and select the ..-csharp.sln file and you should be up and running.
Ok, made some progress and gotten a few Unity projects working. It seems that you need some prerequisites installed, a clean up of your Unity project folder, and possibly some hand editing of your .sln and .csproj files.
I posted a (possibly) better answer over on Reddit. Hope that's not breaking stack etiquitte.
http://www.reddit.com/r/Unity3D/comments/34d6gc/visual_studio_for_mac_help_us_vote_for_unity/
i get this on windows when my project directory has a space in it
i removed the space and removed the error
i expect it will be fixed soom
I have a completely different answer: it's the runtime that VSCode is using. It doesn't match up with what it thinks it needs. I have to remember that we're still in beta and that things are changing rapidly. I had my dnvm running beta 7, but VSCode (and OmniSharp, by extension) is looking for beta 6, so it was failing. I updated my runtime using this this post as a clue. Now I have VSCode 0.7.0 using the beta 6 runtime. I have no idea how to tell what it's looking for...I just guessed based on when they were both released. HTH

Activity 01] Unable to resolve target 'Google Inc.:Google APIs:5'

problem while it is installed at sdk manager
i installed project and it shows error like this plz help me out of thisActivity 01] Unable to resolve target 'Google Inc.:Google APIs:5'
You might have to clean and build the project again so that eclipse/ADT will generate a new R.java file.
Before the clean, you might want to also use the Android Context menu when you right click your project and select 'Fix Project Properties'.
After install crashlytics I had a path Google Inc./Google APIs/17 in project.properties. After change it to Google Inc.:Google APIs:17 the app worked.

Facebook SDK for Unity slow settings screen

I'm using the Facebook SDK for Unity v5.04 (also tried 5.03) and whenever I open the FacebookSettings panel in the inspector I get ridiculous slowdown to the point that I can't even use Unity. This only happens when I do that, does anyone know what might be wrong? I've tried it on multiple computers now and all have been experiencing this lag.
I am getting this same thing. I don't think this is happening to every project or the FB team would have noticed prior to pushing the builds out.
As far as I can tell, it only happens on larger projects. We have seen this same behavior in other plugins (namely one that one of our developers wrote) when the plugin tried to scan the project for a file of a specific name. It didn't show up in his tests but in large projects it made Unity almost unusable.
I tested the Facebook settings issue on a brand new project and it's fast.
Potential Solution Delete everything in your project except Facebook ;)
Edit: The settings menu appears to work just fine on a Mac. I have the same project on my PC and Mac (and the PC's specs are far better than the Mac's) yet it brings Unity to a crawl on the PC and it works fine on the Mac. Go figure :S
OP: If you add the SDK to a new project, or Facebook's sample project, do you see the same issue? Also, could you update with the Unity version you're using, so we can explore? Thanks!
I have the same problem
but when I follow this Link that solve "[Open SSL not found]" Problem >> The slow problem was disappeared.
this is the steps that I was follow:
1) Download and install OpenSSL. http://slproweb.com/products/Win32OpenSSL.html
Win32 OpenSSL v#.#.# (not Light)
OR Win64 OpenSSL v#.#.# (not Light)
2) Add the OpenSSL directory to your path.
Go to: Control Panel > System > Advanced system settings > Environment Variables
Select the Variable "Path" in the "System variables" window and click Edit.
3) Add the path to your OpenSSL bin folder to the end of the "Variable value" text. e.g. I added ";C:\Program Files\OpenSSL-Win64\bin" to the end of the value text.
Restart Unity3D.
take note do not forget to add semi-colon ";" before the C:/
4) If you get the error in FacebookSettings "Keytool not found", you need to add the JDK (Java Development Kit) bin directory to the Path variable value.
5) Follow the same steps as before, but instead of the OpenSSL bin path, add the JDK bin path. e.g. I added ";C:\Program Files\Java\jdk1.7.0_45\bin" to the end of the value text.
Restart Unity3D.