TGViewer
Channel Public Channel
Everyday Unity

Everyday Unity

@everydayunity

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
Subscribers
1.18K
Photos
169
Videos
61
Links
2.4K

Showing posts older than #1691 · Back to latest

Older Posts 20 shown
Post #1688 75
Post #1687 76
Post #1685 82
Post #1684 85
Post #1682 81
Network Latency Explained And How to Fix Latency Issues

High level description of client-server communication approaches. For more details you can check "Overwatch Gameplay architecture and netcode" video at GDC and "Peeking into Valorant's netcode" blog post.

https://unity.com/how-to/manage-network-latency

Refs: https://technology.riotgames.com/news/peeking-valorants-netcode
https://www.youtube.com/watch?v=zrIY0eIyqmI

#netcode
Unity Manage & fix latency issues in multiplayer games | Unity Understand the basics of network latency in multiplayer games and learn strategies to deal with it.
  • 👍 2
Post #1681 84
Unity code optimizations

Comparison of some Unity functions. Interesting video, but all benches are done in the editor, and he mentions LINQ tests in WebGL yielding completely different results, so probably other tests might be not so correct for your platform too. Remember to always profile your code on the target platform for performance critical sections.
And regarding heavy Unity functions: for 99.9% of games performance-wise it is enough to just not use them in Update(). The amount of iterations he uses for benches clearly shows that even heavy functions being called only on init are not going to be a big problem in most cases. But as usual, don't believe me or him, profile yourself.

https://youtu.be/Xd4UhJufTx4

#performance #optimization
YouTube Unity Code Optimization - Do you know them all? Find what common Unity optomizations truly make a difference. In this video I go over a bunch of interesting optimization tips as well and give you my recommendations on each. Keep your code running fast with as little garbage allocation as possible by…
  • 👍 2
Post #1679 76
A non-standard book list for software developers

I would personally add "The Design of Everyday Things" by Don Norman to this list too.

https://mihaiolteanu.me/books.html

#book #theory #personaldevelopment
  • 👍 2
Post #1678 75
Sins Of Code Readability

Sin 1 Favoring Cleverness over Clarity.
Sin 1a: Brevity is not clever-ity.
Sin 2: Overly Generic Function Signatures.
Sin 3: Comments Inside Functions.
Sin 3a: Soft Code is a Soft Sin.
Sin 4: Comments Instead of Self-Documentation.
Sin 5: Failing The Squint Test.

http://enemyhideout.com/2022/03/sins-of-code-readability/

#cleancode
ENEMY HIDEOUT Sins Of Code Readability In the course of my career, some people have occasionally asked me for advice on software development. It is frequently hard for me to explain my approach. Part of this is because any programmer’s …
  • 👍 2
Post #1677 85
Post #1676 80
Post #1675 82
Immediate Window – Interact with your Code while Debugging in Rider

In case you missed this feature like I did: the Immediate Window in Rider debugger. A valuable part of the debugging experience is experimentation, modifying variables and determining whether the outcomes were what we expected. The post has a simple example, would be glad to hear your ideas how it could be helpful in the comments.

https://blog.jetbrains.com/dotnet/2020/10/15/immediate-window-interact-with-your-code-while-debugging-in-rider/

#rider #debug
The JetBrains Blog Immediate Window - Interact with your Code while Debugging in Rider | The .NET Tools Blog A valuable part of the debugging experience is experimentation, modifying variables and determining whether the outcomes were what we expected. With the latest release of Rider 2020.3 EAP, we're happy
  • 👍 2
Post #1674 84
Post #1672 84
Improve C# code performance with Span<T>

Obviously fast Span<T> is not available in Unity yet, but the post has an interesting point about how applying domain knowledge could result in better performance than just using new fancy stuff

https://blog.ndepend.com/improve-c-code-performance-with-spant/

#span #optimization #parsing
NDepend Blog Improve C# code performance with Span<T> - NDepend Blog Span in C# is at the heart of memory management. It optimizes performance by representing contiguous regions of arbitrary memory.
  • 👍 3
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →