0

Problem with lists and Binary Search unit

Athreyu 2 years ago updated 2 years ago 1

Hello, I have an issue with lists. I created a list of strings that at start I save in a variable. Then I search its elements with the Binary Search unit and I'm able to retrieve some elements, but others can't be found. I can't understand why I'm able to find some elements and not others. Here are some screenshots:

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):

While I still don't know why this is not working, Necka on Discord suggested to use the "Index of" unit instead of "Binary Search". This fixed the problem.