Is this registration correct (nearestRef is dropped)?
// Vector3 CrowdManager::FindNearestPoint(const Vector3 &point, int queryFilterType, dtPolyRef *nearestRef=nullptr)
engine->RegisterObjectMethod("CrowdManager", "Vector3 FindNearestPoint(const Vector3&in, int)", asMETHOD(CrowdManager, FindNearestPoint), asCALL_THISCALL);
This registration has been working without problems for a long time, but I have doubts that this may cause some problems.
Or is the wrapper function required?