Search Unity

package.json and minimum scripting run-time version

Discussion in 'Package Manager' started by mosaic_school, Jun 23, 2018.

  1. mosaic_school

    mosaic_school

    Joined:
    Dec 12, 2012
    Posts:
    73
    I was wondering if you can set a minimum 'scripting runtime version' for a package.json similar to a minimum unity version.

    Or is there any other way in case your package depends on newer .NET functionality?
     
  2. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    610
    Hi @mosaic_school,

    I'm sorry there is no option to do this. For now, our internal packages are required to be compatible with 3.x framework. Because of this, we did not implement a feature like you are describing.

    Regards,

    Pascal
     
    mosaic_school likes this.
  3. capyvara

    capyvara

    Joined:
    Mar 11, 2010
    Posts:
    72
    Actually all the ECS related packages requires .NET 4.x and just won't compile until you change it.
     
    supron likes this.