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
Selection Groups - a package made by Unity that provides a more convenient workflow in the editor by allowing to group a number of GameObjects under a common name.
This way, we can do operations on these groups, instead of individual GameObjects.

https://github.com/Unity-Technologies/com.unity.selection-groups

#editortools #selectiongroups
👍2
The Worst Bug Ever—Randomly Losing Your Best Players

A great example of solving a critical issue in production with Unity InApp Purchasing. I admire the engineering approach to problem solving the author has shown.
Unit testing third party code to reproduce the issue leads to stunning results. Even Uncle Bob wrote about it a long time ago in his book "Clean Code". Of course it also shows how good infrastructure is important, possibility to get data like real receipts helped to run these tests. And I am pretty sure they store a lot of different stuff that would help to detect issues in various areas of the game, not only IAPs.

https://medium.com/pocket-gems/the-worst-bug-ever-randomly-losing-your-best-players-c4c5d25048c4

#iap #debug
👍3
Unity: Avoid Custom "ENABLE_X" Preprocessor Symbols

The problem begins when removing custom symbols which are prefixed with “ENABLE_”.
Unity will not remove custom symbols prefixed with “ENABLE_” from the .csproj files!

https://www.brutalhack.com/blog/unity-avoid-enable-preprocessor-symbols/

#tip #preprocessor
👍3
Dependency Injection for Unity made by the developer of Zenject

UniDi is a Dependency Injection container for Unity and a continuation of Zenject/Extenject. The UniDi is a project that seeks to refactor Zenject in order to:
- Simplify maintenance
- Encourage contributions
- Split the work between multiple developers
- Maximize extensibility

https://github.com/UniDi/UniDi

#di #dicontainer
👍3
Free Potion Bottle Models

The post also has references to shaders used: Stylized Glass and Fake Liquid.

https://www.patreon.com/posts/free-potion-52073394

#liquid #shader #assets #bottle
👍3
While selecting multiple objects you can write L(startPos, endPos) in any position field to set those objects with equal distances.

No need to write a custom editor noscript to lerp positions of selected objects.

https://twitter.com/M4nusPotax/status/1521472254177349633

#editortip #tip
👍2
Framework Design Guidelines | Microsoft Docs

Even though the noscript mentions framework design this article consists of many sub pages that give advice on how to structure your code and use C# features. So it can be applicable not only to writing a framework, but any code, even a game in Unity

https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/

#architecture #systemdesign
👍3
Heap, Stack and Garbage Collector — A practical guide to .NET memory management system

A good refresher before an interview. GC is different in Unity, but I have faced myself questions about .NET GC during interviews to Unity dev positions, so can be helpful too

https://andresantarosa.medium.com/heap-stack-e-garbage-collector-a-practical-guide-to-net-memory-management-system-7e60bbadf199

#memory #gc #heap #stack #interview
👍5