Try this:
Click Edit, then Editor Preferences.
Then click Experimental, scroll down to AI and then click Environment Query System box.
See if that works.
Try this:
Click Edit, then Editor Preferences.
Then click Experimental, scroll down to AI and then click Environment Query System box.
See if that works.