linuxunity-game-engineentity-component-systemunity-dots

Unity ECS on linux error when trying to start new 2D project


I have installed Unity on linux and everithing seems to work as expected when developing games in the standard model. However when I set up a project for ECS development, by installing the following packages:

I get the following error when creating a blank 2D project:

Library/PackageCache/com.unity.2d.animation@3.2.2/Runtime/TransformAccessJob.cs(196,62): error CS1061: 'NativeHashMap<int, TransformAccessJob.TransformData>' does not contain a definition for 'Length' and no accessible extension method 'Length' accepting a first argument of type 'NativeHashMap<int, TransformAccessJob.TransformData>' could be found (are you missing a using directive or an assembly reference?)

Unity version: 2019.3.14f1 Personal

Anyone has any idea what could be the issue?


Solution

  • Removing the 2D Animation package is not a valid option for me since I am using the 2D skeleton animation functionalities it provides.

    This problem seems to result from the API change with Jobs 0.2.10. Downgrading Jobs to 0.2.9 solved this problem for me.