A common question asked several times about unity post-processing and WebGL, why post-processing is not working on my browser or some of post-processing features are not working in browser: The reason is that post-processing works with WebGL 2 (Unity Forum). Unity WebGL Post processing doesn't work on WebGL1. If your browser and GPU support WebGL 2.0 then PPS (Post Processing stack) should work within your browser. Unity Support graphics API WebGL 1 and WebGL 2 and if Graphic API settings are set to auto then WebGL 2 will try to run first (if supported in the browser) :
Blog about programming, Unity3D, game development, Game-engines, c#, AI, Drones & CS researches.
Remove Empty Unity Events - Do Empty Unity Events cause Performance Issues?
using UnityEngine; using System.Collections; public class MyCustomScript : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
Unity Tips Collection - Videos, Tweets Collection
Unity TextMesh Pro text render on top
Unity Tips and Tricks (Unity Shader Tips and Tricks) Part V
Unity Shader Tips and Tricks
Wanna add cool transparent VR hands to your game but can't deal with the z-issues transparency brings?— Matheus Lessa (@ahvamolessa) November 25, 2019
The workaround: add a depth only pass to your shader:
Pass
{
ZWrite On
ColorMask 0
}#unitytips #gamedev pic.twitter.com/BwnnFPAf4u
Using #shaders to make this dimensional portal 🌀🌟— Couch Game Crafters (@CouchGameCraft) April 8, 2019
Made in collaboration with @_khymeia_. Also big thanks to @enemyhideout for some of the math (https://t.co/iYantAsSNY).#unityTips #gamedev #shader #madewithunity #unity3D #indiegame #gameart pic.twitter.com/0IfHLFYYmG
The second part of the geometry grass shader is now publicly out!🌿— Harry 💬 (@HarryAlisavakis) December 3, 2019
Enhance your grass with lighting, shadows and translucency while making it extra lush with some additional tessellation!
🔗: https://t.co/W8jJ31lIav
Happy grass-making!#gamedev #madewithunity #unitytips pic.twitter.com/Gg7Cyhnm10
From Slime Rancher to Astroneer, many games add glittery reflections when rendering sand. ✨— Alan Zucconi (@AlanZucconi) January 8, 2020
If you want to recreate such a cool effect in @unity3d, have a look at this #gamedev tutorial about Journey's sand shader! 🏜️
👇👇👇https://t.co/vdX5UFxuCY#madewithunity #unitytips pic.twitter.com/EdgxpNf1CN
I added a script to strip out about 90% of built-in shader variants in #unity that we weren't using based on this article https://t.co/jnehSbejZv— Damian Connolly (@divillysausages) January 2, 2020
Saved nearly 3MB and everything builds sooooooo much quicker#gamedev #unitytips pic.twitter.com/YgSrUxi0yJ
#UnityTips You can create artificial fog for a low-spec project by fading out an object's alpha (this was created using Shader Graph) and using a blank skybox.— Jack Tilling (@jacktilling_) January 6, 2020
This obviously isn't a fits all solution but for this case it was simple and really quick to setup.#unity3d #gamedev pic.twitter.com/6dcbeDz85n
The cel-shading shader tutorial is now publicly out for everyone!— Harry 💬 (@HarryAlisavakis) January 7, 2020
While this shader may not be a solution for all your needs, it has some neat and useful features to get you started!
🔗: https://t.co/zoWGniu2lB
Zelda model by @artstoff #gamedev #madewithunity #unitytips pic.twitter.com/CdKNHqCvR8
I finally managed to make a new shader tutorial. It's about maths.— ✨Ronja✨ (@totallyRonja) January 9, 2020
With inverse lerp and remap you can control gradients in neat ways!https://t.co/HIFwx8iTff#gamedev #unitytips pic.twitter.com/oGKqwgWARu
Sample depth, normals and color for a neat outline effect. Tutorial here https://t.co/kidCqAt7Mg to create this in URP with shader graph! #unity3d #unitytips 💡 pic.twitter.com/p12vfkmpGC— Alexander Ameye (@alexanderameye) January 7, 2020
The first part of the grass shader tutorial is publicly out! 🌿— Harry 💬 (@HarryAlisavakis) October 29, 2019
Check it out to see how you can harness the power of geometry shaders to make some cool-looking wind-swaying lush unlit grass!
🔗: https://t.co/nkiG0X3ieD#gamedev #madewithunity #unitytips pic.twitter.com/egyYKaEXbU
See Also:You can now choose where to learn about Shaders in @unity3d !— Febucci (@febucci) November 5, 2019
My video and article are both available now, have fun!
🎥Watch: https://t.co/uuUiCfDQGc
📝Read: https://t.co/UN8oW1H9Cp#gamedev #indiedev #unitytips #unity3d pic.twitter.com/jM1xfk9Ak6
Unity Tips and Tricks (Editor, Performance, Build Tips and Tricks) Part IV
Unity Editor Tips and Tricks
Easter weekend side project: a tabbed inspector for Unity! It wastes much less screen real-estate inside the layout. #unitytips #madewithunity pic.twitter.com/brRcQxGEnh
— Lazlo (@lazlobon) April 5, 2021
Unity Kids, Remember to cull your animators #unity3d #unitytipshttps://t.co/jTK3vPboUT pic.twitter.com/hLGobJDl6M
— Oddur Magnusson (@oddur) June 15, 2021
Since Unity 2020 (I think!) exists something called Focused Inspectors: open as many inspectors as you want by right-clicking a group of GameObjects and/or Assets then selecting "Properties"! 🥳https://t.co/oUiGOo6jDj@unity3d #unitytips #gamedev pic.twitter.com/71UPU4EHXV
— David 🎮💃🐐 (@drnlab) June 15, 2021
As far as #unitytips go this ain't flashy, but is one of my all-time faves
— Temmy (@Hi_ImTemmy) June 9, 2021
Empty game objects. The problem? They're invisible. Easy to forget and lose in the scene view. Oh no!
The answer? Give them an icon. Your life will be a million times better and so will mine thankyou pic.twitter.com/yf1FZM0X97
ICYMI In @unity3d you can easily predict the trajectory of an object simulating the Physics.
— ToughNutToCrack (@tntcproject) November 2, 2020
If you are interested: https://t.co/hHUODTGFnx#gamedev #unitytips #tntc #unity3d pic.twitter.com/93eiBqDdn6
#unitytips : When looking for that invisible trigger or annoying collision...🔍
— Alex Strook 👻 (@AlexStrook) December 10, 2020
Windows > Analysis > Physic debugger... So useful!! pic.twitter.com/Sl2ONfFgrT
You can view the content of multiple folders at the same time by highlighting both of them and then press enter #unitytips #gamedev pic.twitter.com/XNKqrmCH7g— Fer (@theferfactor) January 22, 2019
C# interfaces can be tricky in @unity3d since an interface reference will NOT be null even if the Object is destroyed.
— Luke Thompson (@six_ways) November 17, 2020
Use this base interface + extension method trick to make it easy! #unitytips #gamedev #indiedev #madewithunity pic.twitter.com/6CXOcgPNA1
Today's post will be about #unitytips, I use ctrl+shift shortcut quite a lot when designing a level, it enables auto snapping of a dragged object to other objects and terrain, it save a lot of time previously spent on a placement.#gamedev #indiedev pic.twitter.com/L3zyFRpxvb— The Serpent Rogue (@TheSerpentRogue) May 1, 2019
Also new in Unity 2019.3 is this cool new column in the hierachy enabling/diabling object picking. ITS SO GOSHING HELPFUL #UnityTips pic.twitter.com/F5DPQ1kfEQ— Lotte 'just an idiot' May 💖🍓🌈🐹🎮☕🍫🍩 (@LotteMakesStuff) August 21, 2019
Want to improve your project navigation workflow? #unitytips Try using (custom) labels and reduce the time wasted looking for related asset files! #gamedev #indiedev #madewithunity pic.twitter.com/GhdOq4SfTA— Vectronom | Ludopium (@ludopium) August 13, 2019
Hit Play, then... wait. Sound familiar?— UnityDocs (@UnityDocs) November 26, 2019
There's a new "Configurable Enter Play Mode" feature in 2019.3 which can massively reduce the time you wait.
But there are some important things to note if you use it! Read the docs here:https://t.co/jq2m4qcHC0#unitytips pic.twitter.com/gODeX4w6kI
Want to improve your #unity3d editor? Take a look at these #unitytips:— Diego Giacomelli (@ogiacomelli) January 7, 2020
Hierarchy Window Group Headerhttps://t.co/2bqelTsh2F
Hierarchy Window GameObject Iconhttps://t.co/BCj2l3vAug
Hierarchy Window Layer Infohttps://t.co/ofrHu8FoJR
Gist Importerhttps://t.co/um2eYFRnsk pic.twitter.com/cOhP4OeyiM
We like to use several layers in Unity for our environments so that we can easily toggle walls, floors, ceilings and more on and off while we're building levels. #madewithunity #unitytips #gamedev pic.twitter.com/7XpUGSzt1I— Team Stallion (@TheTeamStallion) January 7, 2020
.@unity3d just a beginners tip to change the cursor in game mode here is a clip #unity3d #unity2d #UnityTips pic.twitter.com/i20Cw48lRP— Jackhammer Games (@ArnavBajaj9) January 9, 2020
Organize your prefabs from all over your asset folders into custom Favorites, using labels ("l:[label]")! #unitytips #gamedev #Pine pic.twitter.com/KCEqQxy6oU— Twirlbound (@Twirlbound) September 26, 2017
Want 2 Inspectors open in #Unity3d? Select asset & lock 1st inspector. Add a 2nd inspector by adding a new tab in an open panel! #unitytips pic.twitter.com/eQCRXuoK8J— WaggleWords (@WaggleWords) September 26, 2017
Use animation events to call a function at a specific point during your animation.#unitytips #gamedev #indiedev #madewithunity pic.twitter.com/hvnDpTZ2cM— Hjalte Tagmose (@hjaltetagmose) September 26, 2017
You can do this! #unitytips pic.twitter.com/ETRQZQao0P— Raul S. Sorban (@raulssorban) September 28, 2017
Performance/Optimzation Tips and Tricks
You can optimize your audio clips by following the rules below in its import settings: #unitytips #unity3d— David López (@_davidlopez29) April 15, 2020
-Frequently sounds : Decompress on Load
-Periodical or special sounds: Compressed In Memory
-Background: Streaming pic.twitter.com/2kseFUFL4p
One thing i figured out to reduce the iOS App size of a unity game, is to set the compression to LZ4HC in the build setting, are there any other tips on reducing the app size? #unity #unitytips #IndieGameDev pic.twitter.com/DIpVgnfHif— fleischshake (@fleischshake) April 17, 2020
To improve performance and reduce draw calls, try to use GPU Instancing if possible. It optimises copies of the same Mesh, useful for repeating objects like grass, but allows for different parameters so doesn't have to look identical.https://t.co/TQXwrwUwMD#unitytips #unity3d— keyboardP (@keyboardP) January 3, 2020
Profile 1st— Mohammad Faizan Khan (@voiceoffaizan) September 29, 2017
Don't spend time trying to optimize some obscure code or reducing the size of a texture unless u knw its a bottleneck#UnityTips
Profile again, n aftr applying ur optimizations 2 see if they had the intended effect. this might uncover more bottlenecks#UnityTips https://t.co/MYmHJU5Jl9— Mohammad Faizan Khan (@voiceoffaizan) September 29, 2017
Old but Gold: Edit the collision matrix to save performance in a game with physics!#unitytips #madewithunity #unity3d #gamedev #indiedev pic.twitter.com/RdxPew1pJm— LeadFollow Games (@LeadFollowGame) September 19, 2017
Unity Build Tips
#UnityTips reduce the size of your build by identifying the large files in the Editor Log (Window>Console>OpenEditorLog) #GameDev #IndieDev pic.twitter.com/Jxyhe51Ykg— Nicoplv (@nicoplv) September 12, 2017
See Also:#unitytips unity remote just wont work with iOS even if everything is connected? make sure you have the iOS build module loaded! pic.twitter.com/10GIsamM94— KevKev (@Der_Kevin) September 12, 2017
Unity Tips and Tricks (Unity Coding Tips and Tricks) Part III
Unity3d Coding Tips and Tricks
Let's talk about @unity3d, and the execution order of its event functions—such as 𝚂𝚝𝚊𝚛𝚝 and 𝚄𝚙𝚍𝚊𝚝𝚎.
— Alan Zucconi (@AlanZucconi) March 8, 2021
Trust me when I say that ...IT'S WAY MORE COMPLICATED THAN YOU THINK. 😬#gamedev #unitytips #madewithunity
🧵👇 pic.twitter.com/jTcX0lp15R
With the latest @unity 2020 LTS you can use some of the new features in C# 8.0! One of my favorites is a switch expression which greatly reduces the syntax required. It's not a full replacement for switch statements but works well for linking data together. #UnityTips pic.twitter.com/tAB3mxfxvN
— Dan Miller (@DanMillerDev) May 11, 2021
If you want to destroy an object in @unity3d, but want to wait a few seconds, you can insert a delay as a second optional parameter.#TipTuesday #TopTips #unitytips pic.twitter.com/mTY646t72F
— Gordon Arber (@GordonArber) June 15, 2021
Found a nice property attribute that labels array elements by enum names. This is going to be very useful, no more need to make get methods or dicts as I typically would when I want to map data to enum. Added it to my utils repo: https://t.co/7noj6Ly9l0 #unitytips #madewithunity pic.twitter.com/uN7GRnO7uy
— 😷 Ivan 🌲🏎️💨🌲 (@Nothke) June 9, 2021
Did you know Debug.LogException() in try..catch will navigate right to the proper line which caused the exception (while other Debug.Log* methods will navigate to themselves)?#unitytips #unity3d pic.twitter.com/01Mys6nDXf
— Dmitriy Yukhanov (@dmitriy_focus) June 15, 2021
#UnityTips Of course it is very good to know how to get from degree to radians ( rad = deg * PI / 180 )
— Binary Impact (@BinaryImpactG) October 27, 2020
But you could also use one of the constants from the Mathf library ( Mathf.Deg2Rad )#gamedev #indiedev pic.twitter.com/27zdWocZVH
#UnityTips You can use extension methods to add functionality specific to a particular enum type.
In our example we use an enum to define neighbors on a square tiled board. And we add quality of life methods to the enumeration.#csharp #indiedev #gamedev pic.twitter.com/yUq6s6Vms7
Unity Tips and Tricks (Scene Tips and Tricks) Part II
Scene Tips and Tricks
Wanna improve your Unity3D shadows? Go into your Project Settings > Quality settings then:
— Banious (@Banious42) June 16, 2021
1) Increase the Shadow Resolution
2) Set Shadow Projection to close fit
3) Decrease Shadow Distance as needed.#UnityTips #UnityCertifiedInstructor pic.twitter.com/q0vYK4r1rP
In @unity3d, you can easily fold or unfold all children of an object using alt + mouse click!— ToughNutToCrack (@tntcproject) April 14, 2020
It's pretty useful if have a huge hierarchy.
For more: https://t.co/RtlYMup4M2#unity3d #unitytips #tntc #gamedev #indiedev pic.twitter.com/WsPEvWXzOz
When you select a particle system, you can drag the "playback time" field.— Sébastien Dubois (@GFX47) September 26, 2017
Very handy to fine-tune them!#UnityTips #Unity3D #GameDev pic.twitter.com/9tp2Ur6bqv
You can minimize and maximize viewports in Unity using touchpad gestures. Works for every panel, not just scene view! #UnityTips @unity3d pic.twitter.com/7DOjTNRFJh— Ryan Miller (@RyanThinker) September 26, 2017
Tired of remove/add components just for reorder the hierarchy?#UnityTips #unity3d #madewithunity pic.twitter.com/K6xzT9P5Xo— gyd (@kingterrygyd) September 27, 2017
Use the Debug inspector to replace built-in Components without losing their settings (can be done in bulk!) #unitytips #unity3d #gamedev pic.twitter.com/wWnYJb0NLh— Jacob Schieck (@jakerooskii) September 26, 2017
This is one of the most organised hierarchies I've ever created ??— Ciro Continisio ? (@CiroContns) August 27, 2017
(tip: the "-----" divider objs are tagged EditorOnly!)#unity3d #unitytips pic.twitter.com/w7lwzAWOJ3
Double tap the "F" key to automatically follow around your selection in Unity Editor scene view! #UnityTips @unity3d @ReptoidGames pic.twitter.com/aYP8wm19Cx— Ryan Miller (@RyanThinker) September 12, 2017
Hold Alt to mass collapse/expand GUI hierarchies | https://t.co/FHBkCM3HVt— Unity Tips & Tricks (@tips4unity) September 28, 2017
Use Shift + Space to make your scene/game view go fullscreen! @unity3d #unitytips pic.twitter.com/jxCn8tQeOC— Alex Ameye (@MurakamiUnity) August 1, 2017
[Space(10)] adds a spacing above a variable in the inspector | https://t.co/SdoOcoqFyq— Unity Tips & Tricks (@tips4unity) August 15, 2017
One can see and edit structs and classes with the [System.Serializable] attribute in the inspector.— Unity Tips & Tricks (@tips4unity) August 18, 2017
2/ #unitytips How to detect whether your game is using Unity Remote: #unity3d #gamedev #mobile pic.twitter.com/TbxjLfehSW— Shane Celis (@shanecelis) September 18, 2017
MonoBehaviour.InvokeRepeating does not stop on deactivated GameObjects.— Unity Tips & Tricks (@tips4unity) August 17, 2017
Match game camera to scene camera. Select the camera in the hierarchy then GameObject -> Align With View | https://t.co/v3cHEf9B9p— Unity Tips & Tricks (@tips4unity) September 6, 2017
Move scene camera to the position of camera. Select the camera then GameObject -> Align view to selected | https://t.co/v3cHEf9B9p— Unity Tips & Tricks (@tips4unity) September 7, 2017
Hold [V] to grab & drag objects by their vertices, as well as snap them to other vertices. | https://t.co/oyiNy1Uelr— Unity Tips & Tricks (@tips4unity) September 17, 2017
See Also: Unity Tips and Tricks Part IThis is one of the most organised hierarchies I've ever created ??— Ciro Continisio ? (@CiroContns) August 27, 2017
(tip: the "-----" divider objs are tagged EditorOnly!)#unity3d #unitytips pic.twitter.com/w7lwzAWOJ3
Unity Tips and Tricks Part I
Want some collection of unity tips and tricks, here we go:
Particle System
When you select a particle system, you can drag the "playback time" field.
Very handy to fine-tune them!#UnityTips #Unity3D #GameDev pic.twitter.com/9tp2Ur6bqv
— Sébastien Dubois (@GFX47) September 26, 2017
Very handy to fine-tune them!#UnityTips #Unity3D #GameDev pic.twitter.com/9tp2Ur6bqv
Organizing prefab
Organize your prefabs from all over your asset folders into custom Favorites, using labels ("l:[label]")! #unitytips #gamedev #Pine pic.twitter.com/KCEqQxy6oU— Twirlbound (@Twirlbound) September 26, 2017
Animation Trick
Use animation events to call a function at a specific point during your animation.#unitytips #gamedev #indiedev #madewithunity pic.twitter.com/hvnDpTZ2cM— Hjalte Tagmose (@hjaltetagmose) September 26, 2017
Context Menu and Custom Classes
#unitytips You can add custom items to context menu, even for built-in classes, by using [MenuItem("CONTEXT/...")]#madewithunity #gamedev pic.twitter.com/r6wxcQwt4b
— Yannick Gero (@YannickGero) September 19, 2017
Component Drag and Drop
It was only now that I realized drag and drop reordering of components is finally here. #unitytips pic.twitter.com/IHdnpXbk8v
— Stephan Hövelbrinks (@talecrafter) September 22, 2017
Two Inspector
Want 2 Inspectors open in #Unity3d? Select asset & lock 1st inspector. Add a 2nd inspector by adding a new tab in an open panel! #unitytips pic.twitter.com/eQCRXuoK8J— WaggleWords (@WaggleWords) September 26, 2017
Viewports on Touch
You can minimize and maximize viewports in Unity using touchpad gestures. Works for every panel, not just scene view! #UnityTips @unity3d pic.twitter.com/7DOjTNRFJh— Ryan Miller (@RyanThinker) September 26, 2017
Tired of remove/add components just for reorder the hierarchy?#UnityTips #unity3d #madewithunity pic.twitter.com/K6xzT9P5Xo— gyd (@kingterrygyd) September 27, 2017
Replace Built-inComponents with lossing settings
Use the Debug inspector to replace built-in Components without losing their settings (can be done in bulk!) #unitytips #unity3d #gamedev pic.twitter.com/wWnYJb0NLh— Jacob Schieck (@jakerooskii) September 26, 2017
Unity Coding tricks
If you want a private variable to show up in the Inspector use the [SerializeField] attribute. #gamedev #igdev #unity3d #unitytips #indiedev— Abhinav Demkeys (@abhinav_Demkeys) September 14, 2017
Scene Organization
This is one of the most organised hierarchies I've ever created ??
(tip: the "-----" divider objs are tagged EditorOnly!)#unity3d #unitytips pic.twitter.com/w7lwzAWOJ3
— Ciro Continisio ? (@CiroContns) August 27, 2017
(tip: the "-----" divider objs are tagged EditorOnly!)#unity3d #unitytips pic.twitter.com/w7lwzAWOJ3
Unity iOS Remote
#unitytips unity remote just wont work with iOS even if everything is connected? make sure you have the iOS build module loaded! pic.twitter.com/10GIsamM94— KevKev (@Der_Kevin) September 12, 2017






