Is this a bug? in play mode standalone, the array's contain and find nodes do not work?

  • I made a fresh new project on the third-person template with no plugins, UE 5.3.2
  • So I notice that having an array with values I initialized in it, and an individual initialized variable, that using the contains and find node DOES WORK in play mode select view port, BUT DOESN’T WORK when i use play mode standalone
  • I would like others try this set up to see if they can replicate this issue. I will post the image of my blueprint code



play mode selected viewport, DOES WORK

play mode standalone, DOESN’T WORK

Can someone help me understand why this is happening?

1 Like

I have the same result with text type. Version 5.1
For each array loop correctly outputs the elements of the array.
If you use equal in it, then everything works as expected.

With another type (for example “int”) find and contains works.

1 Like

Addition:
If you disable localization in the text default value - the error disappears.

Apparently in editor mode it is the text value that is checked, and in standalone the text ID (package and key).

I assume that “find” and “contains” works in the editor due to the fact that localization is not active at this moment.

image

1 Like

thanks for the response, and the localization thing is definitely interesting and will remember that in the future.

The solution I decided to go with is just convert everything into a string variable (as it all works normally with string) and convert things back and forth between string and text, just to simplify the whole process.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.