Search Unity

DOTS: Multiple Errors when installing Hybrid Renderer

Discussion in 'Entity Component System' started by PedroHeck, Apr 2, 2022.

  1. PedroHeck

    PedroHeck

    Joined:
    Jan 27, 2019
    Posts:
    11
    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'
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    Going to guess you're not using the right version of unity. Must be 2020.3.30+
     
    ben_unity946 likes this.
  3. PedroHeck

    PedroHeck

    Joined:
    Jan 27, 2019
    Posts:
    11
    I am, It's 2021.2.17f1. But the problem remains in 2021.2.7f1 and 2021.2.6f1...
     
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    Yes. 0.50 is only supported in 2020.3 (30f1+)
    You can not use 2021
     
    mikaelK likes this.
  5. PedroHeck

    PedroHeck

    Joined:
    Jan 27, 2019
    Posts:
    11
    Oh! Really? I saw people saying 2020.3 or bigger, so I assumed 2021 would work. I'll try that later then, thank you! :)
     
  6. doingTheCodes

    doingTheCodes

    Joined:
    Apr 27, 2016
    Posts:
    19
    I can confirm that this is the correct answer. use the LTS version of unity.
     
    PedroHeck likes this.
  7. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    Or wait for Entities 0.51 and Unity 2021 LTS
     
  8. PedroHeck

    PedroHeck

    Joined:
    Jan 27, 2019
    Posts:
    11
    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
     
  9. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    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
     
  10. GhostbuGaming

    GhostbuGaming

    Joined:
    Sep 17, 2019
    Posts:
    19
    I'm using Unity 2021 LTS and I still get the error
     
  11. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    Because you can only use 2020.3 (30+)
    2021 isn't supported until entities 0.51
     
  12. unhappyangel83

    unhappyangel83

    Joined:
    Sep 3, 2017
    Posts:
    3
    hello,
    after updating Entities 0.50 to 0.51, I got these errors.
    in 2021.2.19f1
    Is there a solution for this?

    Code (CSharp):
    1. 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'
    2.  
    3. 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'
    4.  
    5. 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'
    6.  
    7. 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'
    8.  
    9. 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
     
  13. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    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
     
    Antypodish and Anthiese like this.
  14. unhappyangel83

    unhappyangel83

    Joined:
    Sep 3, 2017
    Posts:
    3
    Yes, I made a mistake,
    it is 0.50.1
    sry ;-)
     
  15. NoFuchsGavin

    NoFuchsGavin

    Joined:
    Sep 29, 2018
    Posts:
    5
    There is no 0.51... It's 0.50.1 as far as I know.
     
  16. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    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
     
  17. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,779
    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.
     
    Anthiese likes this.
  18. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    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.
     
    Anthiese likes this.
  19. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    UI Elements Runtime. It's so problematic in 2020
     
  20. ibx00

    ibx00

    Joined:
    Jul 17, 2018
    Posts:
    7
    I was using 2021, now I'm using 2020.3.31f1. Have also tried 2020.3.30f1. But the errors persist.
    Code (CSharp):
    1. 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
    2. 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
    3. 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
    4. 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
    5. 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
    6. 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
    7. 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
    8. 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
    9. 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
    10. 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
    11. 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
    12. 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
    13. 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
    14. 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')
    15. 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
    16. 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
    17. 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
    18. 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
    19. 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
    20. 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
    21. 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
    22. 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
    23. 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
    24. 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
    25. 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
    26. 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
    27. 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
    28. 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
    29. 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
    30. 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
    31. 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
    32. 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
    33. 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
    34. 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?
     
  21. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,074
    So I just tried to install ECS.
    And I got a lot of errors like:


    So to clarify this - since to this day we cannot have ECS on unity 2021 ?
     
  22. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,779
    No.
    Please read pinned threads.
     
    Anthiese likes this.
  23. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,074
    Thank you, still a warning before importing to the project should be welcomed.
     
  24. KnightWhoSaysNi

    KnightWhoSaysNi

    Joined:
    Jan 21, 2017
    Posts:
    13
    I'm using 2020.3.33f and I'm getting these:

    Code (CSharp):
    1. [SIZE=2]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
    2. 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
    3. 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
    4. 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
    5. 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
    6. 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
    7. 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
    8. 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
    9. 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
    10. 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
    11. 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
    12. 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
    13. 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
    14. 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
    15. 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
    16. 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
    17. 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
    18. 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
    19. 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
    20. 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
    21. 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
    22. 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
    23. 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
    24. 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
    25. 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
    26. 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
    27. 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
    28. 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
    29. 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
    30. 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
    31. 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
    32. 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
    33. 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
    34. 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')[/SIZE]
    35.  
    So same as @ibx00
    Any solutions to this?
     
  25. Krajca

    Krajca

    Joined:
    May 6, 2014
    Posts:
    347
    KnightWhoSaysNi likes this.
  26. KnightWhoSaysNi

    KnightWhoSaysNi

    Joined:
    Jan 21, 2017
    Posts:
    13
    "Remove any references to the DOTS Editor package (com.unity.dots.editor). The package has been merged into the Entities 0.5 package, and any previous version will conflict and cause compilation errors."

    Ah. That was the problem.
    @Krajca thanks
     
    Krajca likes this.
  27. Tony1974

    Tony1974

    Joined:
    May 26, 2018
    Posts:
    11
    Tried upgrading to 0.51 and 2021 LTS.

    Getting the following errors:

    Code (CSharp):
    1. Library\PackageCache\com.unity.entities@0.51.0-preview.32\Unity.Entities\DefaultWorld.cs(26,25): error CS0117: 'JobsUtility' does not contain a definition for 'ClearSystemIds'
    2.  
    3. Library\PackageCache\com.unity.entities@0.51.0-preview.32\Unity.Entities\EntityManager.cs(226,29): error CS0117: 'JobsUtility' does not contain a definition for 'PanicFunction'
    4.  
    5. Library\PackageCache\com.unity.entities@0.51.0-preview.32\Unity.Entities\EntityManager.cs(228,29): error CS0117: 'JobsUtility' does not contain a definition for 'PanicFunction'
    6.  
    7. Library\PackageCache\com.unity.entities@0.51.0-preview.32\Unity.Entities\SystemDependencySafetyUtility.cs(64,53): error CS0117: 'JobsUtility' does not contain a definition for 'GetSystemIdMappings'
    8.  
    9. Library\PackageCache\com.unity.entities@0.51.0-preview.32\Unity.Entities\SystemState.cs(424,50): error CS0117: 'JobsUtility' does not contain a definition for 'GetSystemIdCellPtr'
    10.  
    11.  
    And no, I don't have any references to com.unity.dots.editor

    Actually. Turns out its pretty easy to replicate this.
    - Start a new URP Project (2021.3.1f1)
    - Go to Package Manager and add Git from URL.
    - Type com.unity.rendering.hybrid to install the necessary hybrid render and related packages.

    After the install you will immediately see the above errors.
     
    Last edited: Jul 10, 2022
  28. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    Seems like you have the wrong version of Unity.
    What version of 2021 LTS?
    needs to be 2021.3.4+
     
    Anthiese likes this.
  29. Tony1974

    Tony1974

    Joined:
    May 26, 2018
    Posts:
    11
    Ok great. Thanks. Will give that a go.
    I was using 2021.3.1
     
    Last edited: Jul 10, 2022
  30. Rook1e0ne

    Rook1e0ne

    Joined:
    Apr 27, 2018
    Posts:
    4
    hi. so now that 0.51.1 is out , i tried using it with 2021 LTS version.. still errors like the ones posted above persist
     
  31. azanwork01

    azanwork01

    Joined:
    Sep 8, 2022
    Posts:
    2
    I'm using 2020.3.47f1 and still getting these errors.
     

    Attached Files:

  32. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,633
    same errors, any fix? do we need to downgrade hybrid renderer?
     
  33. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,633
    Managed to get this working !

    steps taken:

    fresh project using 2022.3.12f1 LTS with hdrp
    Installed com.unity.rendering.hybrid@0.50.0-preview.44
    Installed com.unity.physics@0.51.0-preview.32
    lots of errors

    upgraded hybrid to match entities ie 0.51.0-preview-32, this did get rid of all entity errors
    updated hybrid to 0.61.0-preview7 still tons of errors,

    finally attempted to upgrade to physics 1.2.0-pre6
    this actually removed most errors.

    attempted to upgrade entities graphics to match entitites ie
    upgraded hybrid to match entities ie 1.2.0-pre.6
    Installed com.unity.entities.graphics@1.2.0-pre.6

    OK no errors.

    I was trying out the asset ECS Swarms, so from there i just updated that to 1.1 and it works (need to edit shader set to HDRP in active targets).