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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question package refence error after Unity Editor update

Discussion in 'Editor & General Support' started by er0d, Nov 24, 2022 at 6:00 PM.

  1. er0d


    Nov 8, 2017

    I'm working on a project using DOTS (2D entities and Burst).
    Today, I updated Unity Editor to last LTS version (2021.3.14f1).
    I also updated the packages. Particularly :
    2D.Entities -> Version 0.32.0-preview.5
    Burst -> Version 1.7.3

    Problem : I got the following error when I open my project :
    Library\PackageCache\com.unity.2d.entities@0.32.0-preview.5\Common\Unity.2D.Entities\AssemblyInfo.cs(1,1): error DC0060: Assembly Unity.2D.Entities contains Entities.ForEach or Entities.OnUpdate invocations that use burst but does not have a reference to Unity.Burst. Please add an assembly reference to `Unity.Burst` in the asmdef for Unity.2D.Entities.

    So I tried to add the reference Unity.Burst to Unity.2D.Entities, but the properties of the package is greyed in inspector, so I can't edit it :

    I also tried to edit Unity.2D.Entities.asmdef, but my modifications are overwritten by the Editor.

    Anyone know why I got this error ?

    Attached Files:

  2. er0d


    Nov 8, 2017
    no one have an idea ?
    Maybe I should have post this question in another part of the forum ?