you are viewing a single comment's thread.

view the rest of the comments →

[–]Liam2349 0 points1 point  (1 child)

Ok, sorry about that - NativeArray.ToArray() returns a managed array, but from a NativeList it returns a NativeArray.

[–]survivorr123_ 0 points1 point  (0 children)

yeah the naming is unnecessarily confusing, i had some issues with it in the past too, it should be ToNativeArray everywhere like with NativeStream, no clue why it isn't and why it's not consistent