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.
asked Aug 26 '18 at 03:22 AM in Bug Reports
Follow this question
Once you sign in you will be able to subscribe for any updates here