How would one make a player list for a lobby chat? It would have a lot of players online(and offline friends) where 1 player is 1 item on the list. I have tried to make a dynamic scroll list(created at runtime), but if there was more than 100 items I started to experience performance issues, not to mention having a list of 1000+ players.
Also, I would want to have tabs on this lobby chat, like ONLINE people and FRIENDS which would both be producing it’s own lists. Does that mean whenever I click on one of those tabs, the list gets recreated? Wondering if there’s a workaround in this because the list repopulation is also very hard on the performance.
Basically each of the items on the list should be interactable(click → open context menu → add as friend / join game / private chat). By lobby chat in here I mean just the player list, with a search option if possible(which would dynamically show matching player names).
In short, I know how to make a scroll list, but it’s too heavy on performance if having many items on it, so does anyone have a solution for it not be so hard or something other than having a scroll list but works like I have described above? All it matters that each player item is interactable, means I can open up a context menu based on each item data.
I don’t know if anyone ever tried to have over a 1000 items in a scroll list, but for me it’s a performance killer(it literally makes the game and UI not usable), and that’s not the case if using legacy gui or some other ui systems.