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

Question 'GetEntityQuery' does not exist in the current context [ANSWERED]

Discussion in 'Entity Component System' started by JamesWjRose, May 13, 2023.

  1. JamesWjRose

    JamesWjRose

    Joined:
    Apr 13, 2017
    Posts:
    663
    oh joy, my upgrade to ECS 1.0 is just SO much fun. You'd think after literally decades of software dev experience I would avoid beta products.... but ECS is so awesome I had no choice. Anyway....

    Unity 2022.2.13
    Entities: 1.0 pre.65

    https://imgur.com/a/06xByzU

    Please take a look at that code. What dumbass thing am I doing wrong?

    Thanks
     
  2. Rukhanka

    Rukhanka

    Joined:
    Dec 14, 2022
    Posts:
    177
    You should use `systemState.GetEntityQuery(...)`.
     
    JamesWjRose likes this.
  3. JamesWjRose

    JamesWjRose

    Joined:
    Apr 13, 2017
    Posts:
    663
    Aren't you just a slice of awesome. Thank you, and have a wonderful weekend
     
    Rukhanka likes this.