Go to Editor Preferences and search for Environment Query System and make sure that it is ticked on.

This is used for a number of systems in Smart AI and must be enabled, If you migrate Smart AI to another project you will need to enable it again in the project you are migrating the files to.