MODULE_ENTITIES defined but FollowerEntity part still greyed out

Latest A* and Unity 6, problem is the MODULE_ENTITIES does not work despite defining it and have installed 1.3.5 of com.unity.entities. This causes me to not be able to use FollowerEntity as all the body of the class is not there due to it thing MODULE_ENTITIES is not defined. I tried all solutions, regenerating solution, restarting editor, reimporting both A* and com.unity.entities multiple times. I’m not sure what to do



I even modified the comparison to lower the version yet still doesn’t work

I tried putting true in the #if and there are a bunch of errors

Update: I fixed it, turns out it was problem with Visual Studio 2019 (didn’t work despite regenerating solution), I switched to Visual Studio 2022 and after regenerating solution it works now!

1 Like