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?)
-
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
- Changes to instanced detail mesh material don't immediately apply
- Undo.RegisterObject or Undo.CreateObject dirties the scene, but no actual changes to Scene are made
- [Profiler] Scrubbing through filtered frames or sorting their data replaces the displayed data with duplicated data entries
- [UI Builder] It is possible to add content to parent document while editing child document in place
- EndChangeCheck is not triggered when clearing the IMGUI search field by pressing the "x" button
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