Can't use entities 0.3 in my 2019.3 project. preview package conflict?

These are the packages in the project (fresh URP 2019.3 project, except for the first two packages everything is Unity and there are no other assets or packages in the project):

“com.coffee.git-dependency-resolver”: “GitHub - mob-sakai/GitDependencyResolverForUnity: This plugin resolves git url dependencies in the package for Unity Package Manager. You can use a git url as a package dependency!”,
“com.coffee.upm-git-extension”: “GitHub - mob-sakai/UpmGitExtension: This package extends the UI of Unity Package Manager (UPM) for the packages installed from git repository.”,
“com.unity.addressables”: “1.1.10”,
“com.unity.assetgraph”: “1.6.0-preview”,
“com.unity.burst”: “1.1.2”,
“com.unity.cinemachine”: “2.3.4”,
“com.unity.collections”: “0.3.0-preview.0”,
“com.unity.dots.editor”: “0.1.0-preview.2”,
“com.unity.editorcoroutines”: “0.0.2-preview.1”,
“com.unity.entities”: “0.3.0-preview.4”,
“com.unity.game.foundation”: “0.1.0-preview.6”,
“com.unity.ide.rider”: “1.1.4”,
“com.unity.inputsystem”: “1.0.0-preview.3”,
“com.unity.package-validation-suite”: “0.7.12-preview”,
“com.unity.physics”: “0.2.5-preview.1”,
“com.unity.platforms.windows”: “0.1.7-preview.4”,
“com.unity.playablegraph-visualizer”: “0.2.1-preview.3”,
“com.unity.polybrush”: “1.0.1”,
“com.unity.postprocessing”: “2.2.2”,
“com.unity.probuilder”: “4.1.2”,
“com.unity.progrids”: “3.0.3-preview.4”,
“com.unity.quicksearch”: “1.4.1”,
“com.unity.render-pipelines.universal”: “7.1.6”,
“com.unity.rendering.hybrid”: “0.3.0-preview.4”,
“com.unity.scriptablebuildpipeline”: “1.5.4”,
“com.unity.searcher”: “4.0.9”,
“com.unity.subsystemregistration”: “1.0.6”,
“com.unity.terrain-tools”: “2.0.2-preview”,
“com.unity.test-framework”: “1.1.8”,
“com.unity.testtools.codecoverage”: “0.2.1-preview”,
“com.unity.textmeshpro”: “2.0.1”,
“com.unity.timeline”: “1.2.9”,
“com.unity.ugui”: “1.0.0”,
“com.unity.ui.builder”: “0.9.0-preview”,
“com.unity.visualeffectgraph”: “7.1.6”,
“com.unity.modules.ai”: “1.0.0”,
“com.unity.modules.androidjni”: “1.0.0”,
“com.unity.modules.animation”: “1.0.0”,
“com.unity.modules.assetbundle”: “1.0.0”,
“com.unity.modules.audio”: “1.0.0”,
“com.unity.modules.cloth”: “1.0.0”,
“com.unity.modules.director”: “1.0.0”,
“com.unity.modules.imageconversion”: “1.0.0”,
“com.unity.modules.imgui”: “1.0.0”,
“com.unity.modules.jsonserialize”: “1.0.0”,
“com.unity.modules.particlesystem”: “1.0.0”,
“com.unity.modules.physics”: “1.0.0”,
“com.unity.modules.physics2d”: “1.0.0”,
“com.unity.modules.screencapture”: “1.0.0”,
“com.unity.modules.terrain”: “1.0.0”,
“com.unity.modules.terrainphysics”: “1.0.0”,
“com.unity.modules.tilemap”: “1.0.0”,
“com.unity.modules.ui”: “1.0.0”,
“com.unity.modules.uielements”: “1.0.0”,
“com.unity.modules.umbra”: “1.0.0”,
“com.unity.modules.unityanalytics”: “1.0.0”,
“com.unity.modules.unitywebrequest”: “1.0.0”,
“com.unity.modules.unitywebrequestassetbundle”: “1.0.0”,
“com.unity.modules.unitywebrequestaudio”: “1.0.0”,
“com.unity.modules.unitywebrequesttexture”: “1.0.0”,
“com.unity.modules.unitywebrequestwww”: “1.0.0”,
“com.unity.modules.vehicles”: “1.0.0”,
“com.unity.modules.video”: “1.0.0”,
“com.unity.modules.vr”: “1.0.0”,
“com.unity.modules.wind”: “1.0.0”,
“com.unity.modules.xr”: “1.0.0”

I get this error and I found nothing like it from google search:

Library\PackageCache\com.unity.entities@0.3.0-preview.4\Unity.Scenes.Editor\SubSceneImporter.cs(30,104): error CS0234: The type or namespace name ‘CalculateCustomDependencyData’ does not exist in the namespace ‘UnityEditor.Build.Pipeline.Tasks’ (are you missing an assembly reference?)

Using Entities 0.2.0 ends the same way.

Any idea how to fix it? Should I submit a bug for this?

My guess is you are probably using an older beta of 2019.3 ? Also that version of Burst you are using isn’t supported in Entities 0.2 afaik? Try updating to 1.2-preview-10.

You need 2019.3 0b11+ for Entities 0.3.0

Where do I download 2019.3 0b11 from? Going to the beta page sends me to download the “regular” 2019.3.0f3 from the HUB and it isn’t compatible as well.

f1 and f3 should work just fine. You still getting the same error?

If this is a project you recently updated from 2019.2, then shut down the editor and delete your Library folder and then try again.

Looks like the API doesn’t exist until com.unity.scriptablebuildpipeline@1.6.3-preview, which isn’t showing up in Package Manager as an upgrade from com.unity.scriptablebuildpipeline@1.5.4 (i.e. the icon doesn’t flip to an upgrade icon). Expand all versions and install the new package. Worked for me.