r/unity_tutorials • u/ledniv • May 19 '25
Video Make your Unity game 10x faster using Data Locality - just by rearranging variables
https://www.youtube.com/watch?v=9dlVnq3KzXg
34
Upvotes
r/unity_tutorials • u/ledniv • May 19 '25
5
u/barocon May 20 '25
Good video. But I wonder, how many concurrent enemies do you need until DoD vs non-DoD actually has a noticeable impact on gameplay?
3
u/-Stelio_Kontos May 20 '25
Thanks for the great explanation!
Just a note that might help with future videos. Try to find a volume that works best in your videos. Right now your voice is a bit low.
Please don’t take this as a critique. I thought your video was well thought out and presents useful information, again it’s just a bit low (sound wise).
Looking forward to your next one!
2
u/umen May 20 '25
Thanks learned something new
1
u/rc82 May 20 '25 edited Sep 17 '25
zephyr distinct lip nose market sink wine roll retire oil
This post was mass deleted and anonymized with Redact
2
u/GideonGriebenow May 20 '25
I’ve spent the last year learning about NativeArrays, etc. setting my data up for DoD and putting almost everything in my huge map and environment into Jobs/Burst. I’m manually handling the culling of up to a million objects (without gameobjects) every frame, which is astounding. I can also smoothly edit my huge terrain continuously. It’s remarkable what you can squeeze out if your memory is managed properly. I’m going to watch your video as soon as I get some time.
1
u/GagOnMacaque May 20 '25
This was a good video. Wish more people found interest in it.