Compile error with latest version 5.3.4

  • 5.3.4
  • 2022.3.10f1

I just started upgrading from an old 4.x beta version to the latest 5.3.4.
I deleted the previous package.
Imported the full new package.
Restarted Unity.
Get this one error:

Packages\com.arongranberg.astar\Core\ECS\Systems\RepairPathSystem.cs(46,5): error CS0117: 'EntityQueryDesc' does not contain a definition for 'Present'

Dependencies seem satisfied even though I could upgrade some.

I have now tried:

  • deleting and re-importing
  • upgrading my project to 2022.3.60f1
  • restarting Unity multiple times

Still get the same compile error.

I have also tried:

  • New Empty project, 2022.3.60f1
  • Import astar only
  • Has no errors
  • Import samples
  • Run a recast sample scene
  • Get error that Entities is required
  • Click button which installs Entities 1.3.10
  • Restart Unity
  • Seems to run example scenes without error

Fixed!

This seems to have solved it:

  • Upgrade editor to 2022.3.60f1
  • Upgrade Entities to 1.3.10
  • Restart Unity

Good ole’ Entities package always causing issues :upside_down_face: