Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Gets 2 errors while creating new project

Discussion in '2022.1 Beta' started by kei233, Nov 15, 2021.

  1. kei233

    kei233

    Joined:
    Dec 16, 2019
    Posts:
    56
    Am I missing some .net runtime modual?
    I get .net 5.0 and 6.0.

    Error:
    An assembly specified in the application dependencies manifest (Microsoft.NETCore.App.deps.json) was not found:
    package: 'runtime.win-x64.Microsoft.NETCore.App', version: '5.0.3-servicing.21072.12'
    path: 'runtimes/win-x64/native/ucrtbase.dll'

    edit:
    Emmm... fixed by Reinstalling...
     
    Last edited: Nov 16, 2021
  2. DandecatLiang

    DandecatLiang

    Joined:
    Aug 22, 2017
    Posts:
    26
    I met the same problem when upgrading my project to Unity2021.2.3 and want to how did you fixed it. I downloaded and installed NETCore 5.0.3 and error still exists.
     
  3. Meet2play

    Meet2play

    Joined:
    Feb 14, 2020
    Posts:
    5

    I'm also stuck with this problem as well, did you fix it?? I installed unity 2021.2.7
     
  4. kei233

    kei233

    Joined:
    Dec 16, 2019
    Posts:
    56
    I fixed by reinstalling unity.
     
    Last edited: Apr 17, 2023
  5. Hok-R-Kiza

    Hok-R-Kiza

    Joined:
    Apr 1, 2022
    Posts:
    1
    Do any one know how to fix it???
     
  6. kostantinreksa

    kostantinreksa

    Joined:
    May 4, 2022
    Posts:
    1
    no :((((
     
  7. unknownsk

    unknownsk

    Joined:
    Jan 16, 2020
    Posts:
    36
    Same problem
     
  8. HaraldNielsen

    HaraldNielsen

    Unity Technologies

    Joined:
    Jun 8, 2016
    Posts:
    136
    Instailling Net Core should really not be needed, as we ship the runtime with the Editor.
    Can you look in
    {EditorInstalledPath}\Data\NetCoreRuntime\shared\Microsoft.NETCore.App\6.0.3

    Do that contain `Microsoft.NETCore.App.deps.json`?
     
  9. HaraldNielsen

    HaraldNielsen

    Unity Technologies

    Joined:
    Jun 8, 2016
    Posts:
    136
    I see that we got this reported, but for some reason they were all closed with "Install Net Core Runtime". I reopened a bug for this and we will look into it
     
  10. supertopoviichell

    supertopoviichell

    Joined:
    Jun 1, 2022
    Posts:
    1
    guys, please fix this error, not that it bothers me, but I hate to see the error. thank you for
     
  11. HaraldNielsen

    HaraldNielsen

    Unity Technologies

    Joined:
    Jun 8, 2016
    Posts:
    136
    @supertopoviichell can you look in your Windows Editor install, and:
    \Data\NetCoreRuntime\shared\Microsoft.NETCore.App\5.0.3
    Do you have ucrtbase.dll there?
     
  12. HaraldNielsen

    HaraldNielsen

    Unity Technologies

    Joined:
    Jun 8, 2016
    Posts:
    136
    Ok I might have an idea what it can be, but our QA department nor I can reproduce.
    But it seem we are not including the packages folder, so might be it.
    If someone still have this issue, try this;

    Download binaries from:
    https://dotnet.microsoft.com/en-us/download/dotnet/5.0

    Extract it, and copy the `\packs` folder intoto {UnityEditorFolder}\Data\NetCoreRuntime
    Let me know if that fixed it, if it does ill try to fix it.
     
    DhiaSendi and felipe_arredondo like this.
  13. felipe_arredondo

    felipe_arredondo

    Joined:
    Feb 19, 2019
    Posts:
    1
     
    HaraldNielsen likes this.
  14. HaraldNielsen

    HaraldNielsen

    Unity Technologies

    Joined:
    Jun 8, 2016
    Posts:
    136
  15. HaraldNielsen

    HaraldNielsen

    Unity Technologies

    Joined:
    Jun 8, 2016
    Posts:
    136
    Hmm dotnet runtime should not need the packs directory. So trying to find out why that would be needed.
     
  16. StormcloudArts

    StormcloudArts

    Joined:
    May 23, 2019
    Posts:
    11
    Hi! I am also having this issue, and I do not see ucrtbase.dll in my folder. FYI I have reinstalled unity 4 times now, changed editor versions and even updated to Windows 11 to try to fix this. I am starting to lose hope in Unity!
     
  17. HaraldNielsen

    HaraldNielsen

    Unity Technologies

    Joined:
    Jun 8, 2016
    Posts:
    136
    DhiaSendi likes this.
  18. Xofs

    Xofs

    Joined:
    Feb 26, 2018
    Posts:
    1
    Yes, that helped. Thanks
     
  19. TASAEd

    TASAEd

    Joined:
    Oct 22, 2022
    Posts:
    1
    Even though I tried it many times, it still didn't work
     
  20. Aarsh786

    Aarsh786

    Joined:
    Aug 23, 2020
    Posts:
    1
    drake_san and HaraldNielsen like this.
  21. altanbay2005

    altanbay2005

    Joined:
    Feb 12, 2022
    Posts:
    1
  22. Basilio_Katchaka_Daniel

    Basilio_Katchaka_Daniel

    Joined:
    Jan 23, 2023
    Posts:
    1
    Graças, finalmente resolvi o meu problema seguindo a recomendação do @HaraldNielsen
     
  23. drake_san

    drake_san

    Joined:
    Mar 2, 2021
    Posts:
    1
  24. Yassinovski

    Yassinovski

    Joined:
    Apr 8, 2023
    Posts:
    1