Hey,
The spider entity will not move even when the player is in the field of view. The issue is PathingMap is not registering just by using qRegisterMetaType<PathingMap>(); //(Line 45 in Game.cpp)
qRegisterMetaType(); requires that you first declare the struct using Q_DECLARE_METATYPE()
Using this instead of the above solves my issue.
int qRegisterMetaType(const char * typeName)
i.e. qRegisterMetaType<PathingMap>("PathingMap"); //I was able to find this using the Debug messages.
Love your work,
Thank you,
Abhishek