Search Unity

NativeQueue not found

Discussion in 'Entity Component System' started by Alesk, Dec 21, 2019.

  1. Alesk

    Alesk

    Joined:
    Jul 15, 2010
    Posts:
    340
    Hi,

    I've downloaded this package : https://github.com/Unity-Technologies/EntityComponentSystemSamples

    ... and I'm trying to run it with Unity 2019.3.0f1 on linux... but I keep having this error message :

    "The type or namespace name 'NativeQueue<>' could not be found (are you missing a using directive or an assembly reference?)"

    I've already googled it, but nothing is helping... I'v just found that it's part of Unity.Collections, but this is already properly declared at the begining of the scripts...

    What am I missing ?
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,759
    Not sure if this is same issue but they left out a dependency in entities 0.4

    Add Unity.Collections to your project from the package manager
     
  3. Alesk

    Alesk

    Joined:
    Jul 15, 2010
    Posts:
    340
    Thanks, problem solved :)