Is it a bug or my misunderstanding?
Hi, Im newbie and hobbyist, and do not understand clearly how nativeMultiHashMap.TryGetNextValue works,
I use NativeMultiHashMap<uint,struct> and when I use math.hash for uint hash everithing works as expected, TryGetNextValue gives me expected results. But in my approach i want to have some sort of custom index as key, and in my case, on the same data, but with my custom index as hash TryGetFirstValue returns result and TryGetNextValue return false, but if I try to find a second duplicated key in key array i can get it, but cannot get its value cause TryGetFirstValue return only first value andTryGetNextValue return false as i said, and i do not understand why. In both cases (with math.hash and my custom index) i have the same unique key arrays length.
It looks like a bug, cause i now see that even with math.hash andTryGetNextValue not always return correct result
Show code where you gets first and next values. NMHM works fine without problems.
I figured out the problem, it was my fault, Please Delete this thread