Failed to import package with error cannot import package in play mode что делать

Unity is the ultimate game development platform. Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers.
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /

avatar image


1

I was importing assets package but it failed with the error message «cannot import package in play mode. Unity Editor. Web. JSProxy Mgr:DoTasks()». I would appreciate it if you help me to fix…

Alice

2 Replies

·
Add your reply

  • Sort: 

avatar image


4

Answer by a2dadam · Jun 10, 2016 at 01:42 PM

Hey

sohei0722,

just had the same issue. Have a look inside the unity editor. There on top you have the play controls(play, pause, next). If the play-btn is in blue color, just click it once and try to import again. T$$anonymous$$s fixed it for me.

Thanks pal, i applied the same method and it worked out for me

avatar image


0

Answer by roger18 al-subaie · Jun 11, 2016 at 03:45 AM

the same happen to me i couldnt find any solution for t$$anonymous$$s anyone knows?

Your answer

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Related Questions

Содержание

  1. «Couldn’t decompress package» error when importing #157
  2. Comments
  3. Unity: Failed to import package with error: Couldn’t decompress package #2
  4. Comments
  5. What happened?
  6. Where I got the package file and key?
  7. How I decrypt the file?
  8. How I import the output file into Unity?
  9. What’s the expected result?
  10. Troubleshooting
  11. Error messages in the Package Manager window
  12. System-wide issues
  13. Package-specific issues
  14. Package Manager missing or window doesn’t open
  15. Problems after upgrading Unity to new version
  16. Resetting your project’s package configuration
  17. Resetting a clone of your project
  18. Package installation fails
  19. Packages not recognized
  20. Unable to add package from Git URL
  21. Insufficient drive space
  22. Package version has no signature
  23. Package version doesn’t have a valid signature
  24. No ‘git’ executable was found
  25. git-lfs: command not found
  26. Repository not found
  27. Could not read Username: terminal prompts disabled
  28. Solutions for HTTPS
  29. Solutions for SSH
  30. Setting up OpenSSH for Windows
  31. Adding SSH keys to your SSH Agent for macOS
  32. Can’t update Git version
  33. ‘Failed to parse Http response’ in My Assets context
  34. Missing ‘My Registries’ in the Package Manager window
  35. Missing MonoBehaviour errors

«Couldn’t decompress package» error when importing #157

I have cloned and successfully built HoloToolkit-Unity. However, when I try to do Assets -> Import Package -> Custom Package… I get the following error:

Failed to import package with error: Couldn’t decompress package

I’ve rebuilt it twice. I’ve also tried moving it to various places on my hard disk with no luck. Any ideas whats up? Here’s a link to the package file it produced.

The text was updated successfully, but these errors were encountered:

@anandx how did you create your unity package?

I just tried the following and it worked:

  1. Opened the cloned HoloToolkit-Unity in Unity
  2. Right click on Assets > Export package
  3. Give it a name and export
  4. Used a different Test project
  5. Right click on Assets > Import Package > Custom Package
  6. Selected the previously created package > Open
  7. Clicked Import in the Import dialog box.
  8. Everything worked.

I suspect something was created incorrectly in your unity package.

Hmm. I am using those exact steps but at step 6 I get the compression
error. I have retried this process 3x including fresh clone from git.

Might be a broader Unity related error? I’m fairly new to Unity, wonder if
anyone has suggestions of what to try?

On Thu, Aug 4, 2016 at 6:34 PM Neeraj Wadhwa notifications@github.com
wrote:

I just tried the following and it worked:

  1. Opened the cloned HoloToolkit-Unity in Unity
  2. Right click on Assets > Export package
  3. Give it a name and export
  4. Used a different Test project
  5. Right click on Assets > Import Package > Custom Package
  6. Selected the previously created package > Open
  7. Clicked Import in the Import dialog box.
  8. Everything worked.

I suspect something was created incorrectly in your unity package.

Источник

Unity: Failed to import package with error: Couldn’t decompress package #2

What happened?

Where I got the package file and key?

I send request to https://kharma.unity3d.com/api/en-US/content/download/ .json to fetch the package file’s download URL and decryption key. Here is an example of the response:

How I decrypt the file?

I basically copy paste the test code from here.

How I import the output file into Unity?

What’s the expected result?

Should be able to import decrypted package file into Unity successfully.

The text was updated successfully, but these errors were encountered:

Hey @moscartong — looks like something changed in the crypto module — i see a similar failure with the test suite when running with modern node ( 8.2.1 ) but it works if i revert to old node ( 6.7.0 ) — i’ll isolate the change and work on a fix!

Huge thank you for finding this issue, and communicating it so clearly with the above description! 🚀 💯

still investigating — but it looks like the behavior of Decipher.final is differing by node version.

C:Usersbengitunity-package-decrypt (master) (unity-package-decrypt@0.1.0)
λ npm test

unity-package-decrypt@0.1.0 test C:Usersbengitunity-package-decrypt
mocha

UnityDecryptClient
√ should construct
√ should createDecryptStream
3291616
3291600
3103469
1) should decrypt

2 passing (64ms)
1 failing

UnityDecryptClient should decrypt:

AssertionError [ERR_ASSERTION]: 3103469 == 3171523

at client.decrypt.then (e:vs_workspaceunity-package-decrypttestbasic.js:34:24)
at
at process._tickCallback (internal/process/next_tick.js:188:7)

npm ERR! Test failed. See above for more details.

C:Usersbengitunity-package-decrypt (master) (unity-package-decrypt@0.1.0)
λ nvm use 6.7.0
Now using node v6.7.0 (64-bit)

C:Usersbengitunity-package-decrypt (master) (unity-package-decrypt@0.1.0)
λ npm test

unity-package-decrypt@0.1.0 test C:Usersbengitunity-package-decrypt
mocha

UnityDecryptClient
√ should construct
√ should createDecryptStream
3291616
3291600
3171523
√ should decrypt (62ms)

Источник

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
— Unable to add package from Git URL
— Insufficient drive space
Package signature issues — Package version has no signature
— Package version doesn’t have a valid signature
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 Diagnose 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

Network connection issues

Error messages appear in the status bar when the Package Manager has detected an issue that isn’t related to a specific package. For example, if the Package Manager can’t access the package registry server, it displays this message in the status bar:

Network error message

Error refreshing assets (or Error refreshing packages)

If your network can’t reach the package registry server, it’s probably because there is a connection problem with the network. When you or your system administrator diagnose and fix the network error, the status bar clears.

If your network connection is working, but you aren’t 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

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 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:

  • Back up and then delete the Packages folder under your project.
  • Back up and then delete the package sources in your project’s Packages folder, leaving only the manifest.json file. Then try to reload the project.
  • Create a new empty project. If the Package Manager window loads successfully, replace the Library/PackageCache/com.unity.package-manager-ui@ folder in the failing project with the same folder from the newly created project.
  • As a last resort, you can reset your project to the default package Unity automatically pre-installs a select number of default packages (for example, the Analytics Library, Unity Timeline, etc.) when you create a new project. This differs from a bundled package because you don’t need to install it and it differs from a built-in package because it extends Unity’s features rather than being able to enable or disable them.
    See in Glossary configuration and add back packages one at a time until it works.

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.

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:

  • Windows: C:UsersyournameAppDataLocalUnitycache
  • macOS:

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

If you see a lot of compilation errors, this might indicate that Unity is not recognizing the packages in your existing project. In this case, you might be missing a .NET component.

  1. Download and install Visual Studio 2017 version 15.9.0 or higher with the .NET Core cross-platform development workload selected under Other Toolsets.
  2. Download and install the .NET SDK v2.2.101 component.

Download and install the .NET SDK v2.2.101 component.

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.

Unable to add package from Git URL

Insufficient drive space

If your installation drive is out of space or low on space, consider changing the location of the package caches:

Package version has no signature

This message can appear when you fetch a Unity package from a scoped registry. Unity signs packages that it creates, except for older packages, which aren’t necessarily re-signed in later releases. If you copy an unsigned Unity package from a scoped registry to another registry, Package Manager can’t determine if the package content is safe and identical to the original package.

If you encounter this message, try these solutions:

  • Use another version of the package.
  • Fetch the Unity package from the Unity Registry.
  • If you own the scoped registry, make sure you copy the newest version of the package from the Unity Registry.

Package version doesn’t have a valid signature

Packages have a signature to ensure that the content wasn’t changed before or during transit. An invalid signature typically occurs in the following situations:

  • Someone published the package with modifications on their own registry.
  • An error occurred while transferring the file to the end user.

In both cases, Package Manager considers the package to be potentially malicious.

When you encounter an invalid signature, you can try to install a different version of the package. You should also avoid using Unity packages from a registry other than the Unity Registry.

If you are sharing a Unity package that contains a fix, consider using a Git URL or embedding the package in your 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:

  • If you are targeting a specific revision, make sure your revision comes last. For example:
    https://github.example.com/myuser/myrepository1.git#revision
  • If you are targeting a revision and the package is not at the root, make sure the path query parameter precedes the revision anchor. For example:
    https://github.example.com/myuser/myrepository.git?path=/example/folder#v1.2.3

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:

  • Use a credential manager (Git Credential Manager for Windows or OSXKeyChain). Credential managers handle sending the password without having to use a terminal or a command prompt.
  • Use git-credentials from a terminal or command prompt, then launch the Hub from the same terminal so that Unity has access to the cached or stored credentials.
  • Use SSH to authenticate instead. If you set up your SSH key without a passphrase, the Package Manager doesn’t have to decrypt it to authenticate with the Git server. If you decide to use a passphrase for added security, you can use the ssh-agent on either macOS or Windows to get around the authentication problem.

Solutions for SSH

If you use 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. To do this, search 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:WINDOWSSystem32OpenSSH ).

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. To do this, run ssh-add on the command line and then follow the instructions. By default, the agent adds the %USERPROFILE%.sshid_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 ssh-add command to add your SSH keys to the ssh-agent running on your macOS system. The command parameter you use depends on your version of macOS:

Prior to macOS 12, use:

Starting with macOS 12, use:

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 make sure you don’t need to re-enter your password after you restart 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.

‘Failed to parse Http response’ in My Assets context

If you see the following message in the Console window when you try to download an Asset Store package, there might be a problem with your Asset Store cache:

[PackageManager] Error Failed to parse response. UnityEditor.AsyncHTTPClient![:D](https://forum.unity.com/styles/default/xenforo/clear.png)one(State, Int32)

To solve this problem, delete all downloaded assets from the Asset Store package directory and then try to download the assets again.

Warning: If your project contains a lot of asset data, it might take a lot of time and bandwidth to re-download everything.

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.

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.

Источник

I’ve been trying to import the asset called Winter Forest Envoriment and everytime I click import it gives me the error «Failed to import package with error: Couldn’t decompress package
UnityEngine.GUIUtility:,ProcessEvent(Int32, IntPtr, Boolean&)»

I’ve stumpled across some other threads were they imported outside the unity package manager, and not directly from the package manager. Other assets works like a charm except this one, and since there aren’t a remove button in the package manager anymore I can’t delete and try again.

Any help is appreciated :)

asked Sep 29, 2020 at 18:19

Duddle Diddle's user avatar

Duddle DiddleDuddle Diddle

591 gold badge1 silver badge3 bronze badges

4

Try deleting and re-downloading. You’ll likely find it under:

%AppData%RoamingUnityAsset Store-5.x

Tomer Shetah's user avatar

Tomer Shetah

8,2737 gold badges24 silver badges35 bronze badges

answered Jan 23, 2021 at 18:46

Dude with same issue's user avatar

1

I’ve encountered this issue before when I didn’t have enough disk space on my computer for Unity to decompress the package. So, if you haven’t done so yet, check that you have enough storage.

answered Sep 29, 2020 at 22:06

AR Artistry's user avatar

1

make sure you have the required space and the project folder location in a writable directory

answered May 28, 2021 at 10:09

Pavan's user avatar

PavanPavan

111 bronze badge

use winrar to open the unitypackage, it will display a file within it, extract that file and import it as custom package, note: when you try to import the extracted file change file type from unity package to all in the import select window

answered Sep 29, 2020 at 23:21

Moncif Mo's user avatar

1

your unity 3d is in play mode that’s why it not import first stop your game play.

answered Jun 17, 2021 at 11:23

Rojava's user avatar

  1. Check the space on the drive:

    %AppData%RoamingUnityAsset Store-5.x

    which is under your main user directory on the system drive
    NOT necessarily the same drive where Unity is installed.

  2. Once there is enough space and write permission on this drive, go in
    and Delete the folder in there containing the Asset you were trying to
    install. (eg Yughes Free Ground Materials)

  3. Go back to the package manager and refresh the list of assets, which should make the Download button reappear.

  4. Redownload the package and import successfully.

This step by step is basically a summary of the correct information from the above answers.

answered Sep 13, 2021 at 2:26

blissweb's user avatar

blisswebblissweb

2,6313 gold badges20 silver badges33 bronze badges

Проблема с импортированием .unitypackage

Добрый день! Помогите, пожалуйста, с проблемой.

Почему-то не импортируются файлы формата .unitypackage, он говорит, что couldn’t decompress file.

У вас нет доступа для просмотра вложений в этом сообщении.

aenoyes
UNец
 
Сообщения: 6
Зарегистрирован: 18 окт 2011, 12:38

Re: Проблема с импортированием .unitypackage

Сообщение Neodrop 18 окт 2011, 12:47

Проект или сам пакадж не лежат в папках, имеющих в пути нелатинские символы? :-?

Добавить neodrop в Skype

Изображение
«Спасибо!» нашему порталу, вы сможете сказать ЗДЕСЬ.
Если проблема не решается честно, нужно её обмануть! || Per stupiditas at Astra!
Страх порождает слабость. Бесстрашных поражают пули.
Протратившись на блядях байтах, на битах не экономят.

Аватара пользователя
Neodrop
Админ
 
Сообщения: 8463
Зарегистрирован: 08 окт 2008, 15:42
Откуда: Питер
Skype: neodrop
  • Сайт

Re: Проблема с импортированием .unitypackage

Сообщение aenoyes 18 окт 2011, 13:04

Пересоздала вообще на рабочем столе и паки тоже туда положила, но не помогло, пишет то же самое.

aenoyes
UNец
 
Сообщения: 6
Зарегистрирован: 18 окт 2011, 12:38

Re: Проблема с импортированием .unitypackage

Сообщение waruiyume 18 окт 2011, 13:13

Возможно пак битый, не работает со всеми паками?
Кряк ставили?

Аватара пользователя
waruiyume
Адепт
 
Сообщения: 6059
Зарегистрирован: 30 окт 2010, 05:03
Откуда: Ростов на Дону

Re: Проблема с импортированием .unitypackage

Сообщение aenoyes 18 окт 2011, 13:26

Ставила, пак не битый, на форуме люди его использовали, всё ок. Ни один пак не работает.

aenoyes
UNец
 
Сообщения: 6
Зарегистрирован: 18 окт 2011, 12:38

Re: Проблема с импортированием .unitypackage

Сообщение Avatarchik 18 окт 2011, 14:05

Возми и импортируй ручками ;)
То есть вкладка Project->Import Package ->Custom Package и выбираем свой name.unitypackage
Должно импортировать. :-B

Добавить ava-karaban в Skype

Аватара пользователя
Avatarchik
UNITрон
 
Сообщения: 274
Зарегистрирован: 04 апр 2009, 15:36
Откуда: Украина(Донецк)
  • ICQ

Re: Проблема с импортированием .unitypackage

Сообщение seaman 18 окт 2011, 14:26

Пересоздала вообще на рабочем столе и паки тоже туда положила

Путь к рабочему столу обычно СОДЕРЖИТ русские символы: «c:Documents and SettingsUserРабочий стол». Разве что у Вас нерусифицированная винда.
Положите пак в корень диска.

seaman
Адепт
 
Сообщения: 8351
Зарегистрирован: 24 янв 2011, 12:32
Откуда: Самара

Re: Проблема с импортированием .unitypackage

Сообщение SumraK2012 07 ноя 2011, 11:01

Здесь всё просто: assets => Import Package => Custom Package
Сам с этой проблемой сталкивался запихиваются ток так.

Neodrop писал(а):Проект или сам пакадж не лежат в папках, имеющих в пути нелатинские символы? :-?

Это не играет значения

SumraK2012
UNец
 
Сообщения: 12
Зарегистрирован: 03 ноя 2011, 18:42

Re: Проблема с импортированием .unitypackage

Сообщение Neodrop 07 ноя 2011, 11:28

Вы желаете со мной поспорить? :-?

Добавить neodrop в Skype

Изображение
«Спасибо!» нашему порталу, вы сможете сказать ЗДЕСЬ.
Если проблема не решается честно, нужно её обмануть! || Per stupiditas at Astra!
Страх порождает слабость. Бесстрашных поражают пули.
Протратившись на блядях байтах, на битах не экономят.

Аватара пользователя
Neodrop
Админ
 
Сообщения: 8463
Зарегистрирован: 08 окт 2008, 15:42
Откуда: Питер
Skype: neodrop
  • Сайт

Re: Проблема с импортированием .unitypackage

Сообщение Zaicheg 07 ноя 2011, 11:56

SumraK2012 писал(а):Это не играет значения

Одна из самых частых причин проблемного поведения Unity. Насколько знаю, в актуальной версии не исправлено.

Аватара пользователя
Zaicheg
Адепт
 
Сообщения: 3024
Зарегистрирован: 19 июн 2009, 15:12
Откуда: Череповец

Re: Проблема с импортированием .unitypackage

Сообщение Neodrop 07 ноя 2011, 12:05

Уважаемый, Зайчег, в 3.4.2, увы, повторялось.

Добавить neodrop в Skype

Изображение
«Спасибо!» нашему порталу, вы сможете сказать ЗДЕСЬ.
Если проблема не решается честно, нужно её обмануть! || Per stupiditas at Astra!
Страх порождает слабость. Бесстрашных поражают пули.
Протратившись на блядях байтах, на битах не экономят.

Аватара пользователя
Neodrop
Админ
 
Сообщения: 8463
Зарегистрирован: 08 окт 2008, 15:42
Откуда: Питер
Skype: neodrop
  • Сайт

Re: Проблема с импортированием .unitypackage

Сообщение SumraK2012 07 ноя 2011, 21:21

Neodrop писал(а):Вы желаете со мной поспорить? :-?

Нет, спорить не собираюсь, но сам с рабочего стола импортирую, а это значит, что нелатиница есть и всё нормально

Zaicheg писал(а):Одна из самых частых причин проблемного поведения Unity. Насколько знаю, в актуальной версии не исправлено.

С вами тоже спорить не буду :D , но [unity 3D] у меня нормально ведёт, но по 1 не судят

SumraK2012
UNец
 
Сообщения: 12
Зарегистрирован: 03 ноя 2011, 18:42

Re: Проблема с импортированием .unitypackage

Сообщение Kabanelloo 27 фев 2012, 21:17

ну так что кто то тут раскжит что же это такое? то что вы написали всё !ерьмо ,
что я делал, Переустоналивал Юнити, Делал так что бы небыло пуйтей с русскими буквами!, кароче всё что вы тут написали не катит и пишит Error while importing package: Couldn’t decompress package
и это на любом проекте + на новой юнити без русских букв любой пак это уже достало я решился сменитть ОС и что вы думаете? не помогло преенес Users на другой диск тоже не помогло опять переустоновил нифига не катит решим проблемму?? или вам влом что-то делать? если влом так пишим не игнорим.. [-x

а еще оно меня очень смущает раньше у меня такого небыло потом что то клацнул и появилось…. :-s

http://s018.radikal.ru/i520/1202/43/ecca0c00aff3.jpg

фото большое влом переделывать =)

Последний раз редактировалось Kabanelloo 27 фев 2012, 21:31, всего редактировалось 1 раз.

Kabanelloo
UNITрон
 
Сообщения: 163
Зарегистрирован: 03 фев 2012, 21:55
Откуда: Kaliningrad/Crimea

Re: Проблема с импортированием .unitypackage

Сообщение seaman 27 фев 2012, 21:27

1. Не имеете прав на папку в которой пакедж.
2. Не имеете прав на папку куда распаковываете.
3. Версия Вашей Юнити ниже чем версия Юнити, которой запаковывали.
4. В пути к пакеджу не латинские символы.
5. В пути, куда распаковываете не латинские символы (не называйте вашу игру русскими буквами!)

seaman
Адепт
 
Сообщения: 8351
Зарегистрирован: 24 янв 2011, 12:32
Откуда: Самара

Re: Проблема с импортированием .unitypackage

Сообщение Kabanelloo 27 фев 2012, 21:32

seaman писал(а):1. Не имеете прав на папку в которой пакедж.
2. Не имеете прав на папку куда распаковываете.
3. Версия Вашей Юнити ниже чем версия Юнити, которой запаковывали.
4. В пути к пакеджу не латинские символы.
5. В пути, куда распаковываете не латинские символы (не называйте вашу игру русскими буквами!)

клас фото посмотрите пож

http://s018.radikal.ru/i520/1202/43/ecca0c00aff3.jpg

Kabanelloo
UNITрон
 
Сообщения: 163
Зарегистрирован: 03 фев 2012, 21:55
Откуда: Kaliningrad/Crimea


Вернуться в Почемучка

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 23



Sometimes when trying to import a freshly downloaded package you can run into the following error:


Failed to import package with error: Couldn’t decompress package

UnityEditor.Web.JSProxyMgr:DoTasks() 

 This error is visible on the console often along with an empty import dialogue saying: 

«Nothing to import, all assets from this package are already in your project» 


A quick search on the Internet can show that people have been experiencing with all kind of asset packages in the past:


https://forum.unity.com/threads/error-while-importing-package-couldnt-decompress-package.15851/

https://forum.unity.com/threads/fix-the-bug-cant-decompress-package.484219/

https://answers.unity.com/questions/778318/error-in-decompressing-unity-asset-store-package.html

https://forum.unity.com/threads/couldnt-decompress-package.389685/  

From our support experience, a list of things to check for are:

1. Does your target disk have enough space to decompress the package?
FIX: Create more space on your target disk — you need at least twice the free space of the original package for this to complete properly.

2. Does your Unity Project or UnityPackage exist in a directory with non-English characters in it?
FIX: Remove the non english characters in that directory.

3. Do you have readwrite access to the UnityPackage, its parent directory, and your Unity Project’s directory?
FIX: Assign yourself read / write permissions to these directories.

4. Are you sure the download is not corrupt? Sometimes it can happen that the downloaded file gets corrupted or is incomplete. If you have 7zip installed on your computer (note there are unofficial download options for Mac & Linux as well) , you could test this theory by opening the unitypackage file on your computer. You can find the  package files in the following directory:

Windows: %APPDATA%UnityAsset Store-5.x (hidden folder!)
Mac: ~/Library/Unity/Asset Store-5.x/
Linux: ~/.local/share/unity3d/Asset Store-5.x

If 7zip shows you an error or an empty package when opening it, then the package is corrupt and needs to be re-downloaded. To do so, please delete this file and download it again from the asset store. We are aware that this sounds like an unlikely solution to this issue, but we are getting this issue reported about once per week and a simple redownload is often the solution.

5. In combination with the «corrupt download» issue, we had reports of security software such as Malwarebytes causing the download corruption. If a simple redownload still results in a corrupt download, it might be worth to consider deactivating additional software that might influence / scan downloads during the download until the installation is finished.

6. Try to delete your Unity Cache. Some times if you delete your cache this will also resolve the issue 9/10 times. 


If you are still having a problem then please create a support request with Unity at https://unity3d.com/learn/support.

Понравилась статья? Поделить с друзьями:
  • Failed to create dump file error 183 что делать
  • Failed to get token from remote the requested url returned error 400
  • Failed to get token from remote obs как исправить
  • Failed to create dump file error 183 warhammer 40000 soulstorm
  • Failed to get token from remote connection timed out after 5000 как исправить