Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

alt text

Product Version: UE 4.19
warning-pic.png (128.8 kB)
more ▼

asked Aug 26 '18 at 03:22 AM in Bug Reports

avatar image

6 2

avatar image Jeff A ♦♦ STAFF Aug 27 '18 at 01:49 PM


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.



(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question