DOTS: Multiple Errors when installing Hybrid Renderer

Hey there!

I’ll go straight to the point: I’m getting many errors when installing Hybrid Renderer for my DOTS project. I have no idea what to do. I haven’t installed any other packages because there were already too many errors with this one. Does anyone have any idea how to solve this? Error messages are below.

Thank you very much in advance.

Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities.Editor\Unity.InternalAPIEditorBridge.002\ProfilerModules\StructuralChangesProfilerModuleBridge.cs(117,30): error CS0507: 'StructuralChangesProfilerModuleBridge.Clear()': cannot change access modifiers when overriding 'internal' inherited member 'ProfilerModule.Clear()'
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities.Editor\Unity.InternalAPIEditorBridge.002\ProfilerModules\MemoryProfilerModuleBridge.cs(92,32): error CS0507: 'MemoryProfilerModuleBridge.defaultOrderIndex': cannot change access modifiers when overriding 'private protected' inherited member 'ProfilerModule.defaultOrderIndex'
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities.Editor\Unity.InternalAPIEditorBridge.002\ProfilerModules\MemoryProfilerModuleBridge.cs(94,54): error CS0115: 'MemoryProfilerModuleBridge.DetailsViewController': no suitable method found to override
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities.Editor\Unity.InternalAPIEditorBridge.002\ProfilerModules\MemoryProfilerModuleBridge.cs(110,30): error CS0507: 'MemoryProfilerModuleBridge.Update()': cannot change access modifiers when overriding 'internal' inherited member 'ProfilerModule.Update()'
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities.Editor\Unity.InternalAPIEditorBridge.002\ProfilerModules\MemoryProfilerModuleBridge.cs(117,30): error CS0507: 'MemoryProfilerModuleBridge.Clear()': cannot change access modifiers when overriding 'internal' inherited member 'ProfilerModule.Clear()'
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities\DefaultWorld.cs(26,25): error CS0117: 'JobsUtility' does not contain a definition for 'ClearSystemIds'
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities\EntityManager.cs(221,29): error CS0117: 'JobsUtility' does not contain a definition for 'PanicFunction'
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities\EntityManager.cs(223,29): error CS0117: 'JobsUtility' does not contain a definition for 'PanicFunction'
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities\SystemDependencySafetyUtility.cs(64,53): error CS0117: 'JobsUtility' does not contain a definition for 'GetSystemIdMappings'
Library\PackageCache\com.unity.entities@0.50.0-preview.24\Unity.Entities\SystemState.cs(416,50): error CS0117: 'JobsUtility' does not contain a definition for 'GetSystemIdCellPtr'

Going to guess you’re not using the right version of unity. Must be 2020.3.30+

1 Like

I am, It’s 2021.2.17f1. But the problem remains in 2021.2.7f1 and 2021.2.6f1…

Yes. 0.50 is only supported in 2020.3 (30f1+)
You can not use 2021

1 Like

Oh! Really? I saw people saying 2020.3 or bigger, so I assumed 2021 would work. I’ll try that later then, thank you! :slight_smile:

I can confirm that this is the correct answer. use the LTS version of unity.

1 Like

Or wait for Entities 0.51 and Unity 2021 LTS

If I start now with Unity 2020.3 and later they release Entities 0.51 and Unity 2020, will I be able to migrate? Pardon if it’s a stupid question but I’m still quite new at this stuff haha

0.51 should only be a compatibility update, and a unity update shouldn’t be a big problem either, especially if you’re just starting a project now

I’m using Unity 2021 LTS and I still get the error

Because you can only use 2020.3 (30+)
2021 isn’t supported until entities 0.51

3 Likes

hello,
after updating Entities 0.50 to 0.51, I got these errors.
in 2021.2.19f1
Is there a solution for this?

Library\PackageCache\com.unity.entities@0.50.1-preview.2\Unity.Entities\DefaultWorld.cs(26,25): error CS0117: 'JobsUtility' does not contain a definition for 'ClearSystemIds'

Library\PackageCache\com.unity.entities@0.50.1-preview.2\Unity.Entities\EntityManager.cs(221,29): error CS0117: 'JobsUtility' does not contain a definition for 'PanicFunction'

Library\PackageCache\com.unity.entities@0.50.1-preview.2\Unity.Entities\EntityManager.cs(223,29): error CS0117: 'JobsUtility' does not contain a definition for 'PanicFunction'

Library\PackageCache\com.unity.entities@0.50.1-preview.2\Unity.Entities\SystemDependencySafetyUtility.cs(64,53): error CS0117: 'JobsUtility' does not contain a definition for 'GetSystemIdMappings'

Library\PackageCache\com.unity.entities@0.50.1-preview.2\Unity.Entities\SystemState.cs(416,50): error CS0117: 'JobsUtility' does not contain a definition for 'GetSystemIdCellPtr'

thanks for the help and greetings

Got my hopes all up. That’s 0.50.1 not 0.51
You can’t use entities in 2021 until entities 0.51 is out

2 Likes

Yes, I made a mistake,
it is 0.50.1
sry :wink:

There is no 0.51… It’s 0.50.1 as far as I know.

That’s why he said wait for it. t was already announced when the 0.50 was released that 0.51 would be compatible with the 2021 LTS

3 Likes

Is there any reason you in particular need Unity 2021?
For your project all features you need, are most likely in 2020. Plus you can use 0.50.
It would be safer for you, probably stay on 2020, until 2022 and 1.0 is ready. But that may be as well year ahead.

1 Like

In terms of programming, the biggest change is .NET standard 2.1. I can’t speak for others, but that’s why I’m currently waiting for 0.51.

1 Like

UI Elements Runtime. It’s so problematic in 2020

I was using 2021, now I’m using 2020.3.31f1. Have also tried 2020.3.30f1. But the errors persist.

Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\Inspector\EntityHeader.Inspector.cs(10,45): error CS0122: 'EntityHeader' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\EntityHierarchyFoldingState.cs(14,46): error CS0122: 'EntityHierarchyNodeId' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\EntityHierarchyFoldingState.cs(22,41): error CS0122: 'EntityHierarchyNodeId' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\EntityHierarchyFoldingState.cs(27,20): error CS0122: 'NodeKind' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\EntityHierarchyFoldingState.cs(30,69): error CS0122: 'EntityHierarchyNodeId' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\SystemSchedule\Details\SystemDetailsVisualElement.cs(36,16): error CS0122: 'SystemTreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\SystemSchedule\Details\SystemDetailsVisualElement.cs(51,16): error CS0122: 'SystemTreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\SystemSchedule\Details\SystemDetailsVisualElement.cs(53,16): error CS0122: 'SearchQueryParser' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\SystemSchedule\Details\SystemDetailsVisualElement.cs(342,44): error CS0305: Using the generic type 'SystemHandle<T>' requires 1 type arguments
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\SystemSchedule\Details\SystemDetailsVisualElement.cs(21,9): error CS0122: 'SearchQueryParser' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\SystemSchedule\Details\SystemDetailsVisualElement.cs(35,9): error CS0122: 'SystemTreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\DataDiffers\SharedComponentDataDiffer.cs(500,20): error CS0122: 'Chunk' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(9,33): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\DataDiffers\SharedComponentDataDiffer.cs(500,27): error CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('Chunk')
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(71,36): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(71,21): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(71,36): error CS0538: 'ITreeViewItem' in explicit interface declaration is not an interface
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(75,14): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(77,14): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(79,14): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(30,51): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(30,80): error CS0122: 'EntityHierarchyNodeId' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(30,110): error CS0122: 'IEntityHierarchy' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(40,16): error CS0122: 'EntityHierarchyNodeId' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(42,16): error CS0122: 'IEntityHierarchyState' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(69,16): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(14,34): error CS0122: 'BasicPool<T>' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(26,9): error CS0122: 'IEntityHierarchy' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(75,37): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(75,14): error CS0538: 'ITreeViewItem' in explicit interface declaration is not an interface
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(77,46): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(77,14): error CS0538: 'ITreeViewItem' in explicit interface declaration is not an interface
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(79,40): error CS0122: 'ITreeViewItem' is inaccessible due to its protection level
Library\PackageCache\com.unity.dots.editor@0.12.0-preview.6\Editor\EntityHierachy\View\EntityHierarchyItem.cs(79,14): error CS0538: 'ITreeViewItem' in explicit interface declaration is not an interface

I’m getting these errors after installing com.unity.dots.editor package.
Is there anything I can do to resolve this?