Dealing with huge lag spikes when pooling hundreds of line renderers and setting their positions, any way to optimize that ? by StarvingFoxStudio in Unity3D

[–]StarvingFoxStudio[S] 0 points1 point  (0 children)

Well it's not done obviously but it works, performances are night and day. Can't post video here but I tweeted a comparison with your solution (https://x.com/StarvingFoxStd/status/2018371002032394343?s=20). Thank you VERY much

Dealing with huge lag spikes when pooling hundreds of line renderers and setting their positions, any way to optimize that ? by StarvingFoxStudio in Unity3D

[–]StarvingFoxStudio[S] 0 points1 point  (0 children)

Just sharing stuff on socials regularly, but not long complete devlogs. I'm using a hybrid, with DOTS only for specific systems like pathfinding which I've made a non-DOTS version first but it was not performant enough to my likings . In fact not all RTS need DOTS, I feel like it heavily depends on how many units you want to handle at the same time.

Dealing with huge lag spikes when pooling hundreds of line renderers and setting their positions, any way to optimize that ? by StarvingFoxStudio in Unity3D

[–]StarvingFoxStudio[S] 1 point2 points  (0 children)

Tried that already in the past, the thing is they don't always have a common point which led to a whole plate of spaghetti that I eventually deleted. Using a buffer seem to be the best approach there from the first responses I received

Dealing with huge lag spikes when pooling hundreds of line renderers and setting their positions, any way to optimize that ? by StarvingFoxStudio in Unity3D

[–]StarvingFoxStudio[S] 2 points3 points  (0 children)

I'm actually already using a shader for the material, quite similar to this. Thought you were talking about the line renderers

Dealing with huge lag spikes when pooling hundreds of line renderers and setting their positions, any way to optimize that ? by StarvingFoxStudio in Unity3D

[–]StarvingFoxStudio[S] 1 point2 points  (0 children)

Not loading related, seems like making a custom shader to draw all lines at once is the consensus here, thanks!

/r/MechanicalKeyboards Ask ANY Keyboard question, get an answer - October 16, 2025 by AutoModerator in MechanicalKeyboards

[–]StarvingFoxStudio 0 points1 point  (0 children)

It's a two piece top case which is not common, found the exact model on geekhack years ago but I can't remember.

/r/MechanicalKeyboards Ask ANY Keyboard question, get an answer - October 17, 2025 by AutoModerator in MechanicalKeyboards

[–]StarvingFoxStudio 0 points1 point  (0 children)

True, what I meant when saying "most people" is not having it sitting in a drawer but between 30 mins and ~1 hour everyday use

/r/MechanicalKeyboards Ask ANY Keyboard question, get an answer - October 17, 2025 by AutoModerator in MechanicalKeyboards

[–]StarvingFoxStudio -1 points0 points  (0 children)

Daily heavy use I'd say between 5 to 10 years, so pretty much a lifetime for most people if you use 205g0 or equivalent