Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Can't install Entities on fresh URP project

Discussion in 'Entity Component System' started by Karl_Bot, Sep 8, 2023.

  1. Karl_Bot

    Karl_Bot

    Joined:
    Jul 9, 2013
    Posts:
    6
    Using latest Unity LTS version (2022.3.9f1)
    Creating fresh 2D URP project
    Adding Entities (1.0.14) package from Package Manager
    Results in error messages related to com.unity.collections@2.1.4 dependency:

    com.unity.collections@2.1.4\Unity.Collections\UnsafeParallelHashSetExtensions.gen.cs(17,51): error CS0246: The type or namespace name 'NativeHashSet<>' could not be found



    I am unable to change the version of Entities or Collections packages through Package Manager.

    Not sure what is causing this issue,
    Any help would be greatly appreciated.
     
  2. Spy-Master

    Spy-Master

    Joined:
    Aug 4, 2022
    Posts:
    274
    Restart the editor.
     
  3. Karl_Bot

    Karl_Bot

    Joined:
    Jul 9, 2013
    Posts:
    6
    I made 3 fresh projects - always getting the same error.
     
  4. Spy-Master

    Spy-Master

    Joined:
    Aug 4, 2022
    Posts:
    274
    1. Create a 2D URP Core project.
    2. Add Entities 1.014.
    3. Observe Console errors.
    4. Close Editor.
    5. Open project from Unity Hub.
    6. Observe successful load.