Search Issue Tracker
Fixed in 5.0.1
Fixed in 3.2.5, 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
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?)
-
copperwaif
Nov 27, 2022 23:50
also have the same error in 2022.2.0b16
-
Bartek6772
Nov 11, 2022 18:53
I have the same error in unity 2022.2.0b14
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Resolution Note (fix version 5.0.1):
Fixed in 2D Animation 5.0.1
Resolution Note (fix version 4.2.6):
Fixed in 2020.1.9f1 2D Animation 4.2.6
Resolution Note (fix version 3.2.5):
Fixed in 2019.4.12f1 2D Animation 3.2.5