Unity Package manager: The download could not be completed. Please try again - unity3d

I just bought this asset on the asset store.
https://assetstore.unity.com/packages/tools/integration/universal-sdk-for-amplitude-analytics-201542
When I try to download it the package manager window in Unity gives me this error
The download could not be completed. Please try again.
And I get these two errors in the editor console.
Could not read from encrypted package file.
[Package Manager Window] Error: Could not decrypt package file
UnityEditor.PackageManager.UI.Internal.AssetStoreDownloadManager/DownloadDelegateHandler:OnDownloadProgress
(string,string,ulong,ulong,int)
Ive had the same issue with new blank projects with normal filepaths using 2021.3.9f1 and 2021.3.16f1.
Ive been able to download any other packages no problem in those blank test projects.

Related

I can't upload my Unity game in the PlayStore, because It says the uploaded .aab file is empty

Recently, I finished a project in Unity and I am trying to release it in the playstore (this is my first time), but whenever I try to upload it in the app bundles it gives the following error:
And when I look at the properties of this .aab file, it says that the file contains zero bytes of information, even though I just build my entire Unity project on it.
When I open Unity, I get the following errors, which I've looked up, but I couldn't find a proper answer with relevance to my project.
These are my build settings:
I followed a tutorial video, which says that it's relevant in 2022, and I followed every step, but it still doesn't work. Any help would be appreciated!
Try building the game with EXPORT PROJECT option and build the app with Android Studio... I'm also having a lot of issues exporting with Unity 3D.
Export the project > Drag the new folder into Android Studio > Export Project (Select if APK or not)

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

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 :)
Try deleting and re-downloading. You'll likely find it under:
%AppData%\Roaming\Unity\Asset Store-5.x
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.
make sure you have the required space and the project folder location in a writable directory
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
your unity 3d is in play mode that's why it not import first stop your game play.
Check the space on the drive:
%AppData%\Roaming\Unity\Asset Store-5.x
which is under your main user directory on the system drive
NOT necessarily the same drive where Unity is installed.
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)
Go back to the package manager and refresh the list of assets, which should make the Download button reappear.
Redownload the package and import successfully.
This step by step is basically a summary of the correct information from the above answers.

access denied GVR SDK

I am trying to install a version of the GoogleVR SDK, however I get this message in unity after pressing the import button.
Copying Temp/Export
Package/59a575daa4f43d1468a5f9a51e1b1c2a/59177834662aa4ead89a6c07a4715165/asset to Assets/Plugins/x86_64/audioplugingvrunity.dll: Access is denied.
Try this:
Close Unity Completely
Using the file browser, navigate to your projects: Assets\Plugins\
Delete the x86_64 folder (The only thing in this folder was the
previous audioplugingvrunity.dll)
If you have x86_64.meta file, delete that too.
Open up your unity project and re-import the package.

Unable to upload package in AEM 6.2 - package file parameter missing

Everytime I upload a package on my QA server via Package Manager, it keeps loading it for a long time and then throws an error saying "package file parameter missing"
The error logs show absolutely no activity regarding the package.
This happens for both code packages (/apps/...) and content packages (/content/...)
Make sure your server has a tmp (linux) or temp (windows) folder accessible to the AEM process with full permission. This error occurs when the aem process cannot find the temp folder which it uses to temporarily store packages when they are being uploaded.

After updating unity to latest version, the unity launcher is blank

Yesterday I updated my unity to latest version..
Then the launcher is blank.
And when i open any .unity file.. It opens the editor with a error.
Error loading file:///C%3A%2FUsers%2FBuckyDroidz%2FAppData%2FRoaming%2FUnity%2FPackages%2Fnode_modules%2Funity-editor-home%2Fdist/index.html#/login
Unity is still working and running the project.. But unity launcher is not working
After searching on google I found a fix. I mean I have to add some file in package folder.. But there was a link to download those files and the link is dead...
Help Me!!
Looking at your SO username, it looks like this is a problem with your computer username.The D in your name is probably "Ď" or some other character and Unity is having problem reading that file path(C:/Users/username/AppData/Roaming/Unity/Packages/node_modules/unity-editor-home/dist/index.html#/login). This causes license check to fail.
Two things to try:
Method 1.
Change your username
A.Change your name to valid English characters
B.Uninstall and install Unity again to recognize that change.
If this does not fix your problem, do method 2.
Method 2
Do manual Activation
A.Disconnect your internet/wifi.
B.Open Unity. Go to Help -> Manage License
C.Click on Manual Activation.
D.Click on Save License or Save License Request(Depends on Unity version)
E.Connect to your internet/wifi.
F.Go to https://license.unity3d.com/manual then upload that saved license there. Follow steps to on the website to create a license on that website. Make sure to chose free unity version as the license type. When everything is done, you will be able to download a key file. Download that file.
G.Disconnect your internet/wifi again.
H.Open Unity. Go to Help -> Manage License
I.Click on Manual Activation.
J.Click on Load License then choose the file you downloaded from step F.
You can now connect to your internet/wifi again. Restart Unity and test if the problem is still there.
This is a issue with 2017.2 as well
To fix
go to C:\Program Files\Unity\Editor\Data\Resources\Packages
You can see 4 tgz files
unity-editor-home.0.8.30.tgz
unityeditor-cloud-hub-0.0.15.tgz
unityeditor-collab-history.0.6.14.tgz
unityeditor-collab-toolbar.0.7.15.tgz
Use an unarchive program (I used 7-zip file manager) to open each one of these and extract contents (dist folder and package.json file) to your Roaming folder
C:\Users\YOURUSERNAME\AppData\Roaming\Unity\Packages\node_modules
After extract, the folder looks like this..
..\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home
..\AppData\Roaming\Unity\Packages\node_modules\unityeditor-cloud-hub
..\AppData\Roaming\Unity\Packages\node_modules\unityeditor-collab-history
..\AppData\Roaming\Unity\Packages\node_modules\unityeditor-collab-toolbar
and unity-editor-home like below (one level subfolders shown)
..\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home\dist
..\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home\package.json
..\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home\README.md