Search Issue Tracker

Fixed in 5.0.1

Fixed in 3.2.5

Fix In Review for 4.2.6

Votes

8

Found in [Package]

5.0.0

Issue ID

1255839

Regression

Yes

2D Animation package has a compilation error when the Entities package is installed

Package: 2D Animation

-

How to reproduce:
1. Create and open a new project
2. Install 2D Animation package
3. Install Entities package

Expected result: there are no compilation errors
Actual result: there is a compilation error in the Console window

Reproducible with: 0.11.0-preview.7 (2019.4.0f1, 2020.1.0b13, 2020.2.0a15)
Not reproducible with: 0.0.12-preview.24 (2018.4.23f1), 0.0.12-preview.33 (2020.2.0a15), 0.5.1-preview.11 (2020.2.0a15), 0.9.1-preview.15, 0.10.0-preview.6 (2019.4.0f1, 2020.1.0b13, 2020.2.0a15)

Notes:
-The compilation error states: Library\PackageCache\com.unity.2d.animation@4.2.4\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?)

  1. Response avatar

    Resolution Note (fix version 5.0.1):

    Fixed in 2D Animation 5.0.1

  2. Response avatar

    Resolution Note (fix version 3.2.5):

    Fixed in 2019.4.12f1 2D Animation 3.2.5

Comments (1)

  1. 4b464282f7199810b84e04195a3971f4?d=mm

    BeJa

    Aug 06, 2020 16:58

    A very similar error occurs when installing the package Unity Transport version 0.3.1 in the Unity version 2019.3.15f1.

    This is the appearing error:
    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?)

    It works again after uninstalling the package Unity Transport.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.