creating project folder failed unity что делать
Troubleshooting
This section provides information on the following issues:
Type of error: | Error message: |
---|---|
General startup issues | — Error messages in the Package Manager window — Package Manager missing or window doesn’t open — Problems after upgrading Unity to new version — Resetting your project’s package configuration |
Package installation issues | — Package installation fails — Packages not recognized |
Problems installing git dependencies | — No ‘git’ executable was found — git-lfs: command not found — Repository not found — Could not read Username: terminal prompts disabled — Can’t update Git version |
Asset Store A growing library of free and commercial assets created by Unity and members of the community. Offers a wide variety of assets, from textures, models and animations to whole project examples, tutorials and Editor extensions. More info See in Glossary packages (My Assets) | — ‘Failed to parse Http response’ in My Assets context |
Scoped registries | — Missing ‘My Registries’ in the Package Manager window |
Issues when building packages | — Missing MonoBehaviour errors — Loading error for hostfxr.dll on Windows |
You can also run the Unity Package Manager Diagnostics tool if you are experiencing problems that might be network-related. For more information, see Network issues.
Error messages in the Package Manager window
The Package Manager displays error indicators in the Package Manager window when it encounters problems:
System-wide issues
Error messages that appear in the status bar indicate the Package Manager has detected an issue that is not related to a specific package. For example, if the Package Manager cannot access the package registry server, it displays this message in the status bar:
Network error message
If your network cannot reach the package registry server, it is probably because there is a connection problem with the network. When you or your system administrator fix the network error, the status bar clears.
If your network connection is working, but you are not signed into your Unity account, the Package Manager doesn’t display any Asset Store packages. When you try to use the My Assets context, the Package Manager displays an error in the status bar:
Logged out of Unity account
Click the Sign in button inside the list view to sign into your Unity account through the Unity Hub.
Package-specific issues
If a specific package has a problem when loading or installing (for example, when determining which package versions to load), the error icon () appears in the package list next to the compromised package (A). To find out what the problem is, open the compromised package’s details view to see the detailed error message (B):
Dependency error message
Missing MonoBehaviour errors
While building, if there are a lot of errors about Missing Behavior, the UnityLinker might be mistakenly stripping out a component that it thinks is unreferenced. It often does this because the stripping level is too aggressive. For example, if you have a prefab An asset type that allows you to store a GameObject complete with components and properties. The prefab acts as a template from which you can create new object instances in the scene. More info
See in Glossary in an AssetBundle that references the SpriteShape component in the 2D SpriteShape package, the object might be missing and might generate compiler warnings.
To fix this, you can either lower the stripping level for the UnityLinker or declare the package’s assemblies inside the link.xml file in order to preserve them from being stripped:
For more information on stripping levels and the UnityLinker, see Managed code stripping.
Package Manager missing or window doesn’t open
The Package Manager window might get moved offscreen or hidden by another window. When this happens, it looks like the Package Manager window failed to open. In this case, you can try to reset the window layout (Window > Layouts > Default) and reopen the Package Manager window again.
If the Package Manager window still doesn’t appear, check your Unity Console window A Unity Editor window that shows errors, warnings and other messages generated by Unity, or your own scripts. More info
See in Glossary :
This error message indicates that your manifest.json file is malformed. It also tells you the line number where the Package Manager failed to parse the file, so you can fix the JSON. There are a number of online validators that you can use to try to correct the problem. Once you save the corrected file, Unity reloads the Package Manager window.
If you upgraded from an early version of the Unity Editor, there may be other problems with your package manifest Each package has a manifest, which provides information about the package to the Package Manager. The manifest contains information such as the name of the package, its version, a description for users, dependencies on other packages (if any), and other details. More info
See in Glossary file:
As of 2019.3, your manifest.json file should not contain any references to the com.unity.package-manager-ui package. You can either reset your project’s package configuration or remove the following line from the manifest’s dependencies list:
Check to see if your project manifest Each Unity project has a project manifest, which acts as an entry point for the Package Manager. This file must be available in the
/Packages directory. The Package Manager uses it to configure many things, including a list of dependencies for that project, as well as any package repository to query for packages. More info
See in Glossary uses “exclude” as a package version. This is an obsolete value for the dependencies In the context of the Package Manager, a dependency is a specific package version (expressed in the form package_name@package_version ) that a project or another package requires in order to work. Projects and packages use the dependencies attribute in their manifests to define the set of packages they require. For projects, these are considered direct dependencies; for packages, these are indirect, or transitive, dependencies. More info
See in Glossary property. If you find any lines like these, remove the entire line. Package Manager only installs packages that are explicitly included as a dependency in your project, so once you remove that entry, Package Manager ignores the package and doesn’t install it.
If the Package Manager still fails to load, follow the procedures under Packages not recognized and Resetting your project’s package configuration.
Problems after upgrading Unity to new version
When you upgrade a project to a newer Unity version, the Package Manager automatically updates incompatible packages to newer compatible versions. However, if your package doesn’t compile, the Package Manager displays error messages in the Console.
To correct these messages, read the error messages and fix any problems you can. For example, a package might be missing a dependency on another package or version. In that case, you can try and install the package yourself.
You can also try the following sequence of solutions until you find something that works:
Package installation fails
If you are trying to install a new package from the registry and it is not working, it might be due to permission problems.
You must have full permissions on the cache folder:
It might be a problem with the network. Check your firewall and proxy settings.
Sometimes institutional environments, such as schools, government offices, or network-protected workplaces set up proxy servers to control traffic between the network and the Internet, and use their own server certificates which are not recognized by Unity or the Package Manager. Talk to your network administrator.
Packages not recognized
Install any recommended updates in Visual Studio
Use homebrew to brew and install mono:
If necessary, delete the Library/obj/temp folder under your project and restart Unity.
If you are still experiencing difficulties, try rebooting your computer as well.
Loading error for hostfxr.dll on Windows
If the Console reports that the hostfxr.dll library was found, but Unity failed to load it from C:\
Resetting your project’s package configuration
If a project has too many package issues, you can reset your project back to the default package configuration for the Editor’s version of Unity. This operation resets all packages in your project. This might not fix the source of the problem, but it can help you figure out what the problem is.
Note: You can’t undo resetting your package configuration, so make sure you back up the manifest.json file first or make sure your project is under source control. You can also take extra precautions by cloning your project and testing out the operation on the clone before proceeding.
To return to the default package configuration, select Reset Packages to defaults from the Help menu.
Reset Packages to defaults»> Help > Reset Packages to defaults
Resetting a clone of your project
You can also test the return to the default packages before you perform the final change:
Clone your project by copy-pasting your project folder and renaming it so that it is easy to find (for example, if your project is called MyProject then you could use something like clone_MyProject ).
Load your newly cloned project.
From the Help menu, select Reset Packages to defaults.
Depending on the size of your project, this might take a few minutes.
Check that it successfully reset the packages. If so, you can perform the operation safely on the original project.
No ‘git’ executable was found
If you try to install a package from a git URL, a message similar to this appears:
git-lfs: command not found
If you are trying to download a package that uses Git LFS (Large File Storage), you might see this error message:
This indicates that Git LFS is probably not installed on your machine. To make sure, you could test it on the command line:
If you see something like this, Git LFS is installed:
Otherwise, you can install it by following the Bitbucket GitHub instructions.
Repository not found
If you specify a location that does not exist, a message similar to this one appears in the Unity Console:
Check your spelling. To make sure you are using the correct URL, go to the repository’s page and copy the URL from the Clone button:
Where to copy the URL on GitHub (A) and GitLab (B)
Click the button to the right of the URL on GitHub (A) or GitLab (B) to copy the URL to your clipboard.
If the location of the repository is correct, there may be another problem with the URL:
Could not read Username: terminal prompts disabled
If you are trying to install a package from a private repository that requires authentication, a message similar to this one appears in the Unity Console:
This message is likely due to the fact that Package Manager does not provide an interactive terminal or dialog where you can enter your username and password for HTTP, or your passphrase to unlock your SSH key:
With HTTP(S), every time you log onto BitBucket, GitHub or GitLab you need to enter your username and password in a terminal or a dialog box. However, the Package Manager does not provide an interactive terminal or dialog where you can enter your username and password for HTTP(S).
To bypass this, use one of the workarounds suggested in Solutions for HTTPS.
SSH uses a pair of public and private SSH keys. You can add your public SSH key to Bitbucket, GitHub or GitLab and then access repositories without having to enter a username and password.
However, if you have set up a passphrase to keep your SSH key safe, you still have to enter that passphrase in a terminal or a dialog box in order to authorize your key. In that case, you can use an SSH agent that can unlock your SSH key to authenticate with the Package Manager on your behalf.
Solutions for HTTPS
The Package Manager does not provide an interactive terminal or dialog where you can enter your HTTP(S) username and password. To bypass this, use one of these workarounds:
Solutions for SSH
If you are using the SSH protocol to install a package by Git URL, you might get an authentication error from Git. This typically happens when you set up a private SSH key on your local machine that is protected by a passphrase.
The solution to this problem is to set up an SSH agent that can unlock your SSH key to authenticate with the Package Manager on your behalf. Follow the instructions in the section that corresponds to your operating system:
Setting up OpenSSH for Windows
The native Windows OpenSSH version of the ssh-agent works better than the version available by default with Git for Windows. This procedure explains how to set up the OpenSSH client and add your key to its ssh-agent. If you are using Git for Windows, you can also prioritize the native Windows OpenSSH over the Git for Windows SSH agent:
Make sure the OpenSSH Client is installed by searching for it in the Windows Settings Optional features window (Start > Settings, then search for “Optional features”). This applies to Windows 10+.
Check your %PATH% environment variable to make sure the native Windows OpenSSH location appears (for example, C:\WINDOWS\System32\OpenSSH\ ).
Note: If you are already using Git for Windows, make sure the native Windows OpenSSH location appears before the Git for Windows SSH location in your %PATH% variable. This ensures that Windows uses the native Windows OpenSSH agent over the Git for Windows SSH agent.
In a PowerShell terminal, start the ssh-agent process and make sure it starts automatically:
Import your key into the ssh-agent by running ssh-add on the command line and then following the instructions. By default, the agent adds the %USERPROFILE%\.ssh\id_rsa key and prompts you for the password.
To use a different key, you can specify it as an argument:
If you can’t remember the name of your key, you can ask the agent to list them:
If you installed Git for Windows, reset the %GIT-SSH% environment variable to make sure that Git always uses the native Windows OpenSSH version of the ssh-agent:
Adding SSH keys to your SSH Agent for macOS
Use the following command to add your SSH keys to the ssh-agent running on your macOS system:
After you run this command, the terminal asks for the password to unlock your SSH key and then adds it to the macOS keychain. However, once you restart your system, every key stored in the ssh-agent is reset.
To prevent re-entering your password after restarting your system, open the
/.ssh/config file (or create one if you don’t find it), and add the following:
Restart your machine to apply these changes.
Can’t update Git version
If you are trying to update your Git dependency The Package Manager retrieves Git dependencies from a Git repository directly rather than from a package registry. Git dependencies use a Git URL reference instead of a version, and there’s no guarantee about the package quality, stability, validity, or even whether the version stated in its package.json file respects Semantic Versioning rules with regards to officially published releases of this package. More info
See in Glossary to a newer version from the repository, but it’s not working, it’s probably because your Git dependency is locked. If you want to update your Git dependency to a newer version from the repository, use the Add package from git URL button and enter a Git URL. For more information, see Locked Git dependencies.
Missing ‘My Registries’ in the Package Manager window
Not all registry providers are compatible with Unity’s Package Manager. If the package registry server you added does not implement the /-/v1/search or /-/all endpoints, your scoped registry is not compatible with Unity’s Package Manager, and doesn’t appear in the My Registries context in the Package Manager window.
‘Failed to parse Http response’ in My Assets context
If you see the following message in the Console window when trying to download an Asset Store package, there might be a problem with your Asset Store cache:
[PackageManager] Error Failed to parse response. UnityEditor.AsyncHTTPClientone(State, Int32)
To solve this problem, delete all downloaded assets from the Asset Store package directory and then try downloading the assets again.
Warning: If your project contains a lot of asset data, this might take a lot of time and bandwidth to re-download everything.
РЕШЕНО | Ошибки при попытке построить проект в Unity, что делать?
(Я новичок в Unity)
(Версия юнити: 2020.3.5f1)
При попытке построить проект в Unity появляются следующие ошибки:
FAILURE: Build failed with an exception.
* Where:
Build file ‘C:\Users\Слава\Circle Game\Temp\gradleOut\launcher\build.gradle’ line: 3
* What went wrong:
A problem occurred evaluating project ‘:launcher’.
> Failed to apply plugin [id ‘com.android.internal.application’]
> Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See b.android.com/95744 for details. This warning can be disabled by adding the line ‘android.overridePathCheck=true’ to gradle.properties file in the project directory.
BUILD FAILED in 13s
FAILURE: Build failed with an exception.
* Where:
Build file ‘C:\Users\Слава\Circle Game\Temp\gradleOut\launcher\build.gradle’ line: 3
* What went wrong:
A problem occurred evaluating project ‘:launcher’.
> Failed to apply plugin [id ‘com.android.internal.application’]
> Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See b.android.com/95744 for details. This warning can be disabled by adding the line ‘android.overridePathCheck=true’ to gradle.properties file in the project directory.
Creating project folder failed unity что делать
May 22, 2021 · How To Fix Unity Creating Project Folder Failed Error. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn’t begin shortly, try restarting your device. Up next.
About this site
level 1. ArmyofNukes. 1 year ago. i know this post was made 2 months ago and idk if you fixed it or not but dont have your games in the same folder as the installation folder, like if the unity installation is in program files put your project in documents. 1. View Entire Discussion (2 Comments)
Hello, I am new to Unity and I tried to create a project but it Does not let me create a Project folder. It says Something like «Failed to Create Project Folder«, I used the 2020 version and 2019 Version, It said the same thing for both of them.
Unity-Creating Project folder failed!_~勿据散客~的博客-CSDN博客
Jun 30, 2019 · [Hub] Project creation fails when selecting a directory same as where Unity Hub is located 1. Open Unity Hub 2. Click on «New» and open Location selection dialog 3. Go to Folder where Unity Hub is located and create a Project there
How to solve the «Creating project folder failed» error in Unity. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn’t begin shortly, try restarting your device. Up.
Open your project folder and delete the CurrentLayout-default.dwlt file. Go to «C:\Users \AppData\Roaming\Unity\Editor-5.x\Preferences\Layouts» Copy Default.wlt file to your project library folder and rename it to «CurrentLayout-default.dwlt» my project opened normally without the warning.
Jul 28, 2014 · Hello Unity Users! Let’s get this straight, have you ever encountered this problem whenever you create new projects in Unity where sometimes the «Create» button is just ruining your day. Having that Cold Gray Look from hell. This is just one of the many problems new Unity users encounter. Well let’s end this sucker right here,…
Oct 26, 2020 · 2. Set the Location of the Project that’s being created to C:/Program Files/test 3. Try creating the Project. Expected results: the Project is created in the chosen Location, the user might be asked to give Hub permission to do so beforehand or warned …
Unity Creating Project Folder Failed
Jun 13, 2019 · it creates the file without creating a new project or adding the file to an already existing project. Since the new created file is a blank cs, IntelliSense wont activate, which is really annoying. I already tried creating a new C#-Project and pulling it into Unity, but projects that are created out of Unity do not inherit from MonoBehaviour.
Oct 16, 2021 · Create a new empty project. If the Package Manager window loads successfully, replace the Library/PackageCache/[email protected] folder in the failing project with the same folder from the newly created project.
Unity プロジェクト作成時のエラー Windows | たゆまかニュース
Creating directory Temp failed. Please ensure there is enough disk space and you have permissions set up correctly. まあ、意味は ・ディレクトリ(フォルダ)が作れませんでした! ・ディスクの空きを確認 …
About your problem: You used an absolute path because you included the Application.dataPath property. An Asset path in Unity is simply relative to the project root folder. So an Asset path should start with the «Assets» folder. You can see an example how to use it in the code example on the CreateAsset documentation page.
Jun 03, 2018 · Example: Creating a new project and importing it to VCS (GIT) repository. Create a new project inside Unity and name it, hereReverieSample. You can add any initial assets here or add them later on. Enable Visible Meta files in Edit->Project Settings->Editor; Switch to Force Text in Edit → Project Settings → Editor → Asset Serialization Mode
Submission failed. For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation. Close
Nov 26, 2019 · Custom Project Settings. Enables custom, global, scriptable settings for the Unity Editor that are readable in builds. What does this do? This small set of code allows you to create a ScriptableObject that is saved outside of the Assets folder in your project, that can then be edited in the Inspector in the Unity Editor.. Where are the files stored?
Aug 04, 2020 · Download the template file attached to this case and install it (On windows, the folder is [editorroot]\Editor\Data\Resources\PackageManager\ProjectTemplates. 2. Restart the HUB. 3. Create a new project using the FPS template. 4. Check the console once everything is launched. Project is created without any errors. Errors are thrown in the console.
Description. Creates a new native Unity asset. Use this method to create a native Unity asset. Native assets are those created by Unity (either in the editor or via script), and are in Unity’s serialized format. If an asset already exists the path you specify it will be overwritten with your new asset.