Everyday Unity – Telegram
Everyday Unity
1.11K subscribers
157 photos
59 videos
42 files
2.36K links
A game developer and tech lead in a top grossing company posting Unity, programming, and gamedev related stuff that I find interesting
Website: https://gamedev.center

Most used tags are:
#performance
#shader
#interview

Author: @alexmtr
Download Telegram
Using DOTS to Optimize GameObject Gameplay: A Case Study from Survival Kids

This talk provides a few examples from a real game showing how performance-intensive paths were optimized. As I've mentioned before, I love reading or watching these optimization stories from the "tech trenches," and I definitely recommend checking the recording later.

It covers a few techniques, including how to:
- Use Entities systems to update MonoBehaviors
- Do position checks effectively
- Use a Transform Access Array to update Transforms fast in worker threads

There were only 3 cases, but how the talk was delivered is at a super high level. Kudos to Andy for the excellent storytelling
🔥16👍4
Advanced performance tips and tricks from a Unity consultant

One of the most anticipated talk of the conference
👍7
A default tip from every year about how transform hierarchies work in unity and how it can be parallelized
🔥6👍3
🔥5👍2
How to speed up the compilation.

I worked at a project with 1800 assemblies. Everything was slow: Unity compilation, domain reload, Rider processing all these solutions. So it's a good advice to keep track of your compilation and assemblies count in control
🔥6👍3
The next default tip: disable domain reload on entering play mode
🔥7👍2
Sounds like the exactly same advice from the last year about shader variants and how to optimize it. Nicolas goes into more details how keywords and variants work
👍6🔥4
Assets loading section

Disable audio preloading
Tune Async Upload Pipeline
Strip shader variants, less shaders to load and compile
🔥6👍1
It was quick overall. Not as rich in advice as previous years. Especially 2017-2019 talks on the same topic, which are my all time favourites.
Make sure to check them, here is my overview of these talks: https://gamedev.center/best-optimization-tips-by-unity-engineers-at-unite/
🔥5👍1
Talk: Keeping it simple and indie on Multiplayer

What a nice day-1 set of features for the speaker and his indie game
🔥4👍1
Talk: Understanding Unity Memory

I recommend checking the recording as Richard gives a gentle intro into how memory works. It must be interesting if you haven't learned it before.

There were a few slides that caught my attention:
- how to use unsafe to allocate your data sequentially in memory in his particular case
- other GC in Unity used for assets etc
- when to split big structs
🔥14👍2
Everyday Unity
Timelines for CoreCLR
The Unity Engine Roadmap

It was impossible for me to share live at Unite all the great features they have planned as it was so packed. Check the recording and you'll definitely find something interesting for you.

I posted the most exciting stuff for me live on the 19th of November, what do you expect the most from the roadmap?

https://youtu.be/rEKmARCIkSI

#roadmap
🔥15👍1
Optimizing Burst matrix multiplications

A deep dive into optimizing matrix multiplications. A story of multiple optimization attempts, moving from basic implementation to hand-tuned intrinsics.
Key takeaways from the optimization journey:
* Switching to Unity’s Mathematics package (SIMD-friendly) immediately gave a massive boost over standard C#.
* The Low-Hanging Fruit: Using FloatMode.Fast allows the compiler to merge instructions into Fused Multiply-Add (FMLA).
* Reinterpreting NativeArray<Matrix4x4> as float4x4 helps the compiler see the data layout more clearly, reducing instruction count.
* Utilizing Affine Matrices (since most game objects don't use perspective projection) allows you to skip calculating the 0,0,0,1 row, saving significant cycles.
* Using Intrinsics and float4x3 to pack data tightly into vector registers.
This is a must-read if you are working on high-performance physics, skinning, or animation systems in Unity.

https://medium.com/toca-boca-tech-blog/optimizing-burst-matrix-multiplications-bfb301de80ce

#burst #optimiziation
1🔥8👍1