x

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"

Is there a bug with find or contains in Arrays, Sets or Maps?

Hi, I am facing a problem with unreal 4.21 where I cant find an item in a Collection when the item is in it.

alt text

The same tthing happen with sets or list. I tried with simple Strings as keys too

Product Version: UE 4.21
Tags:
errorimage.jpg (151.5 kB)
more ▼

asked Mar 02 '19 at 12:28 AM in Bug Reports

avatar image

Alexarg
84 19 21 22

avatar image Alexarg Mar 02 '19 at 04:50 PM

I found similars errors reports, however I suspect that this should be happening only under certain circumstances, I mean, if this is a general bug, there is no way that so few people notice it.

https://answers.unrealengine.com/questions/459188/view.html

https://answers.unrealengine.com/questions/826494/blueprint-map-cant-find-exist-element.html?childToView=878700#answer-878700

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

1 answer: sort voted first

well for me it worked when i did the test normally like just a array with two things and finding if they exists. however doing the same with inventory causes this same thing to occur. i basically check if the item already exists but it just make the condition false. i feel like something maybe wrong but ill try on it later cause it might just be a problem on my side

more ▼

answered Mar 02 '19 at 06:49 AM

avatar image

SupDeity
508 5 7 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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