Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Bug Package files not found when resolving packag

Discussion in 'Package Manager' started by Charmander906, Aug 26, 2022.

  1. Charmander906

    Charmander906

    Joined:
    Aug 26, 2022
    Posts:
    1
    So I've been meaning to get into Unity for a while now, and I wanted to start out with a 2D game. However, I got the error message upon loading up my first project that said that there was an error in resolving the packages, and some things might not work properly. But I thought to myself that it would be fine, seeing as I'm not planning on doing any super advanced things. So, I went about uploading texture files, and tried making a tile set with textures I had already made, but I came to the point where I needed some of the 2D packages in order to do so. So I didn't question why there were missing packages, and I tried to download the packages. But upon getting another error message, I realized that there was something wrong. So I deleted the project I had, then uninstalled and reinstalled the Unity version I was using (Ver 2021.3.8f1). Then I set up a new 2D project, and was confronted with the same error message I saw originally (See The Screenshot).

    Does anyone know what went wrong, or preferably, how to fix the problem?

    Additionally, here is the logs referenced by the error:

    [LicensingClient] Error: Code 10 while verifying Licensing Client signature (process Id: 3060, path: "C:/Users/Charm/Desktop/Game Editors/Unity Hub/UnityLicensingClient_V1/Unity.Licensing.Client.exe")
    [Licensing::Module] Warning: LicensingClient has failed validation; ignoring
    [LicensingClient] Handshaking with LicensingClient (version: 1.10.5+a276b43)
    [Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-Charm" (connect: 0.00s, validation: 0.01s, handshake: 0.04s)
    Entitlement-based licensing initiated
    [Licensing::Module] Successfully updated the access token Co7o8iZSsbS0dTZnJPMy2hcymEqVDu7NuZ-4NhQvRak001f
    [LicensingClient] Licenses updated successfully
    LICENSE SYSTEM [2022825 21:19:42] Next license update check is after 2022-08-27T03:19:45
    LICENSE SYSTEM [2022825 21:19:42] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
    Built from '2021.3/staging' branch; Version is '2021.3.8f1 (b30333d56e81) revision 11731763'; Using compiler version '192829333'; Build Type 'Release'
    OS: 'Windows 11 (10.0.22000) 64bit Core' Language: 'en' Physical Memory: 6021 MB
    [Licensing::Module] Serial number assigned to: "F4-8AV5-JNXV-NSQD-N5SY-XXXX"
    BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
    [Package Manager] Server::Start -- Port 55756 was selected
    COMMAND LINE ARGUMENTS:
    C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Unity.exe
    -projectpath
    C:\Users\Charm\Desktop\Games\Isle's Calling
    -useHub
    -hubIPC
    -cloudEnvironment
    production
    -licensingIpc
    LicenseClient-Charm
    -hubSessionId
    31cc27a0-249a-11ed-a673-83633e05bd90
    -accessToken
    Co7o8iZSsbS0dTZnJPMy2hcymEqVDu7NuZ-4NhQvRak001f
    Successfully changed project path to: C:\Users\Charm\Desktop\Games\Isle's Calling
    C:/Users/Charm/Desktop/Games/Isle's Calling
    [UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=33554432"
    "memorysetup-bucket-allocator-block-count=8"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=33554432"
    "memorysetup-profiler-bucket-allocator-block-count=8"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=16777216"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=33554432"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gi-baking-worker=262144"
    "memorysetup-temp-allocator-size-gfx=262144"
    [Package Manager] Done resolving packages in 0.48s seconds
    An error occurred while resolving packages:
    One or more packages could not be added to the local file system:
    com.unity.2d.animation: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-smh3h20wXGd5'
    com.unity.2d.common: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-9vwdwsuSaZXR'
    com.unity.2d.path: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-QvwCWsFB5gti'
    com.unity.2d.pixel-perfect: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-oCcWuc2g5LbN'
    com.unity.2d.psdimporter: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-aKjI6Jv3mq9X'
    com.unity.2d.sprite: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-2O7WmlQ1gR7a'
    com.unity.2d.spriteshape: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-Yni7nNE50M2g'
    com.unity.2d.tilemap: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-NSKpgd25Aa8v'
    com.unity.2d.tilemap.extras: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-3eHWNVe8rbKw'
    com.unity.ads: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-eWOMq1SR52OI'
    com.unity.analytics: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-ISdklFp8dhhU'
    com.unity.burst: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-w26mYfLUnjGj'
    com.unity.collab-proxy: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-jG3HPm462moO'
    com.unity.ext.nunit: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-PU1zb0nn10cW'
    com.unity.feature.2d: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-JR0R7rXk7tDt'
    com.unity.ide.rider: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-Layt2QioAojR'
    com.unity.ide.visualstudio: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-clAVQd5ZnbM1'
    com.unity.ide.vscode: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-fIKNvpC7A6Za'
    com.unity.mathematics: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-cvv2gG6TTUDH'
    com.unity.modules.ai: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-9IkJrhSutb7W'
    com.unity.modules.androidjni: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-A7k0RkpJwfaL'
    com.unity.modules.animation: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-rY41USvWaRwV'
    com.unity.modules.assetbundle: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-mgZdwCiwOrkO'
    com.unity.modules.audio: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-tY3JxIv6Ihby'
    com.unity.modules.cloth: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-ssQPI1fwHYnu'
    com.unity.modules.director: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-Rxnb5VMzdTkb'
    com.unity.modules.imageconversion: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-wq2guJ0tH1nl'
    com.unity.modules.imgui: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-9vwAYmMJcs9r'
    com.unity.modules.jsonserialize: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-LtFPmyRWlW9m'
    com.unity.modules.particlesystem: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-lT3HG7aTUipq'
    com.unity.modules.physics: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-SwHdiEbh0MU4'
    com.unity.modules.physics2d: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-9i7agDTDaBbT'
    com.unity.modules.screencapture: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-DV8X4IH5h6Uy'
    com.unity.modules.subsystems: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-B1FQG08wbPEJ'
    com.unity.modules.terrain: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-7gqBGK5CgNB6'
    com.unity.modules.terrainphysics: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-trCwiSqdwpc7'
    com.unity.modules.tilemap: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-4NoVWhunXo5O'
    com.unity.modules.ui: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-JxL60Ju6fVwl'
    com.unity.modules.uielements: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-VtkTtGE7Uysw'
    com.unity.modules.uielementsnative: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-2iezVRuVrF2X'
    com.unity.modules.umbra: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-j32hU7SA6PPq'
    com.unity.modules.unityanalytics: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-0cHJyMiQjFJa'
    com.unity.modules.unitywebrequest: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-7BRh03QVvMZx'
    com.unity.modules.unitywebrequestassetbundle: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-XAxuJH5trmyH'
    com.unity.modules.unitywebrequestaudio: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-tiR35rGF8GO8'
    com.unity.modules.unitywebrequesttexture: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-dyr6XAtVsjuX'
    com.unity.modules.unitywebrequestwww: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-uMOx2ZjEIf5V'
    com.unity.modules.vehicles: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-KDKZW1t4D7Jr'
    com.unity.modules.video: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-A7oU2Q1QqZTo'
    com.unity.modules.vr: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-ftqjdqIfYzuJ'
    com.unity.modules.wind: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-zCjpyxpNl7o6'
    com.unity.modules.xr: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-INT3pUNdEF8H'
    com.unity.nuget.newtonsoft-json: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-nyDW50mmobzv'
    com.unity.purchasing: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-86SFtYhjfGO2'
    com.unity.services.analytics: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-kvOtCHzQeM55'
    com.unity.services.core: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-01cJ7MMTSvwj'
    com.unity.test-framework: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-4B1gujIJ1Smg'
    com.unity.textmeshpro: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-S0JdEmZlnjof'
    com.unity.timeline: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-RBKpLyM2t7dq'
    com.unity.ugui: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-oLfz30F9s8Kh'
    com.unity.visualscripting: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-ATmeNFicrmZV'
    com.unity.xr.legacyinputhelpers: ENOENT: no such file or directory, mkdir 'C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-1CTYcGPQfwBA'
    A re-import of the project may be required to fix the issue or a manual modification of C:/Users/Charm/Desktop/Games/Isle's Calling/Packages/manifest.json file.
    Exiting without the bug reporter. Application will terminate with return code 1
     

    Attached Files:

  2. Agoston_R

    Agoston_R

    Joined:
    Mar 30, 2022
    Posts:
    13
    Not sure if this helps, but when you are using mkdir or mkdirSync, to pass the path, like folder1/folder2/folder3, folder1 and folder2 must exist or you get that error.

    mkdir fails with C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache\.tmp-9884-RBKpLyM2t7dq

    so all the way to C:\Users\Charm\Desktop\Games\Isles Calling\Library\PackageCache have to exist.
     
  3. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    Hi @Charmander906,

    This is bug in UPM. A library that we use to create temporary folders introduced a regression in its latest version. It removes single and double quotes in the path when trying to create a folder. Incidently, this creates the problem @Agoston_R describes. Sorry about that. A fix is on the way. In the meantime, remove quotes from your project path.

    Note: This is issue will show up if the computer account username has quotes or double quotes. This is because UPM creates temporary folder in the cache which is usually located under user's folder. In that case, sadly, quotes and double quotes have to be removed from the username until the issue is resolved :(

    Pascal
     
    Agoston_R likes this.
  4. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    593
    Hi @Charmander906

    As mentioned by @okcompute_unity, this issue is caused by the presence of a single-quote character (') or double-quote character (") in the paths used by the Package Manager. In this case, your project path seems like it would contain an apostrophe (single quote), which would explain why you are affected by this issue.

    It's a bug that recently slipped by unnoticed in 2021.3.7f1. The fix is currently being integrated in all release branches affected. Until the fix is released with a new version of Unity that you upgrade to, the simplest workaround is to revert to a version prior to when the issue was introduced, if this is possible for you. In your case, it would mean 2021.3.6f1.

    You can track the status of the fix for this issue here: https://issuetracker.unity3d.com/issues/package-manager-enoent-no-such-file-or-directory-mkdir