Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Nuget Packages

Discussion in 'Experimental Scripting Previews' started by chixcancode, Oct 26, 2021.

  1. chixcancode

    chixcancode

    Joined:
    Jun 26, 2018
    Posts:
    1
    What is the right way now to include Nuget packages into Unity projects?
     
  2. VolodymyrBS

    VolodymyrBS

    Joined:
    May 15, 2019
    Posts:
    150
    There are at least 2 options:
    1. Download nuget package from nuget.org. unpack it as zip and copy dll from lib/netstandard2.0 or lib/netstandard2.1(for unity 2021.2) to you project. same should be done for each dependency of package.
    2. Use UnityNuGet scoped registry which have some nuget packages converted to upm. https://github.com/xoofx/UnityNuGet
     
    NeneChico likes this.
  3. mrwellman_work

    mrwellman_work

    Joined:
    Jan 11, 2021
    Posts:
    4
    punki_na likes this.