It seems like searching ~30k PointPrimitive in the Primitive Collection every 1-2seconds is a bit heavy, so I have decided to store them on a Map. I am having some issue when update them from the Map. The ones I stored on the Map are not longer in the Primitive Collection (with index of -1 and not attached to a collection). And I found ones with the same ID in Primitive Collection which is not exactly the one on my map. They seems has been recreated some how.
I really want them in Map. Can anyone please advise? Thank you.