Unusual FCollisionResponseParams Warning

I recently used a guide on a Fog of War system for an earlier UE4 version. I updated some of the deprecated code in order to get it working - and it does work just fine!

However, an unusual warning pops up each time I rebuild. Specifically, I’m warned about missing an “FName” parameter for FCollisionQueryParams - even though there are no FCollisionQueryParams. I use FCollisionResponseParams.

Here’s the warning:
“FogOfWarWorker.cpp(116): warning C4996: ‘FCollisionQueryParams::FCollisionQueryParams’: FCollisionQueryParams, to avoid ambiguity, please use other constructor and explicitly provide an FName parameter (not just a string literal) as the first parameter Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.”

FCollisionResponseParams has no “FName” member - no constructor to set any FName, and no member to set after construction.

Here’s the picture of the FCollisionResponseParams definition, the line (116) which is shooting out the warning, and the full warning.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks