2D URP New project gets an error when I Add Entities Packages

Unity Version: 2022.2.0f1
Entities: 1.0.0-pre.15

I got a list of 200 errors when I installed Entities and Graphics/dependencies. After restart, the following was the only error left:

Library\PackageCache\com.unity.2d.animation@9.0.1\Runtime\TransformAccessJob.cs(165,62): error CS1955: Non-invocable member ‘NativeHashMap<int, TransformAccessJob.TransformData>.Count’ cannot be used like a method.

1 Like

Here is an active ticket for this problem: Unity Issue Tracker - &quot;Non-invocable member cannot be used like a method&quot; 2D Animation package error when the Entities package is installed

Is there any workaround for this problem?

Remove the 2d animations package. The rest will work with dots.

I posted a fix for this just recently here .

2 Likes

If anybody is still having this issue, updating the 2D Animation package to 9.0.2 fixed it for me