Custom Build Process
#UnityTipsDoesn’t matter if you’re a solo dev or part of a big team - a custom build process can supercharge your iteration speed and streamline CI/CD.Take cont
layerCullDistances
#UnityTips Normally Camera skips rendering of objects further away than farClipPlane. You can set up some Layers to use smaller culling distances using layerCul
Service Locator Tutorial
#UnityTipsYou hear a lot "Singletons are bad" but what is a valid alternative?We explore the Service Locator Pattern in our new tutorial video. Have a
ForEach Method
#UnityTipsDid you know that there is an alternative to the classic foreach loop when using List<T>? It comes with a built in ForEach(Action<T>) meth
TMP Input Validation
#UnityTips Did you know that TextMeshPro Input fields offer a kind of input validation?You can select it in the inspector and the documentation explains the opt
Input Action Map
#UnityTips The new Input System requires an Input Action Map?Not true! You can still handle inputs in one line!Old:if (Input.GetKeyDown(Keycode. Space) Jump();C
Shadows only
#unitytips Ever wondered how to render only the shadow of a mesh? No need for a specialized shader, just set the Lighting in the Mesh Renderer to Shadows only.
Interaction Mode
#UnityTips Did you check the interaction mode in the Editor preferences?You can for example, set the frame rate of the Editor to conserve power or run on the re
Virtual Mouse Device
#UnityTips Just so we are all aware, this exists:https://t.co/oF8Lj8XOOxA component that creates a virtual Mouse device and drives its input from gamepad-style
Shader Variants
#UnityTips You can generate a list of shader variants that the Editor uses in the Scene:Go to Edit > Project Settings > Graphics.See how many shaders and
Memory Profiler
#UnityTipWhen you create resources in code, make it a habbit to name them, otherwise you may look at a list like this in your memory profiler.Also remember to r
Memory Heavy Assets
#UnityTips With the Memory Profiler package you can easily detect where exactly a memory heavy asset was used.Install it via the Package Manager for this and ma
Reserialize Prefabs
#UnityTips After renaming fields/ introducing a new one, all prefabs using the script should be updated before pushing the changes to your repository.Use this c
Color Primaries
#UnityTipsHave you ever seen this warning about color primaries when importing an mp4 video in Unity?This means the video is missing the color space metadata th