I need to run an EQS query for an Mass AI instance, but because the instance datas are structs and not UObjects, the line
InstanceData.EnvQueryRequest.Execute(EEnvQueryRunMode::SingleResult, &InstanceData, &FMassGenerateSearchLocationInstanceData::OnEnvQueryFinished);
gives an compile error “You cannot use UObject method delegates with raw pointers.”