Everyday Unity
1.18K subscribers
169 photos
61 videos
42 files
2.38K 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
UnityDataTools: Experimental tools and libraries for reading and analyzing Unity data files.

analyze: It is an improved version of the AssetBundle Analyzer.
find-refs: this command finds reference chains leading to specific objects. It requires a database that was created by the 'analyze' command.
dump: this command dumps the content of a SerializedFile into a file of the selected format. It currently only supports the 'text' format

https://github.com/Unity-Technologies/UnityDataTools

#assets #analyzer
๐Ÿ‘4
AUTHORING REALISTIC STARS

Shader to color stars that is based on real science

https://roadturtlegames.com/planetguard/blogs/blog-3.html

#shadergraph #star
๐Ÿ‘2
Zombie Object Detector

Many C# classes in the UnityEngine namespace act as wrappers to instances of corresponding C++ classes, which hold the actual data. The class UnityEngine.GameObject is an example. Zombie objects are instances of these C# classes that have outlived their C++ counterpart. The C++ instances are destroyed in an entirely deterministic fashion, for example on scene transition. On the other hand the C# instances are garbage collected just like any other C# object. This means that there is an opportunity for the C# object to remain in existence by being referenced by other objects, static variables, etc.

https://github.com/Unity-Technologies/ZombieObjectDetector

#performance #zombie #memoryleaks
๐Ÿ‘3
Join me in Unity Hell:
"Which variable contains the actual camera's actual depth buffer when writing a URP custom pass"
Protip: It's Not Usually The One That's Named cameraDepthTarget

https://twitter.com/AmazingThew/status/1509954484776095751

Test results: https://docs.google.com/spreadsheets/d/1Od8eXty-VvjBZIZQnnW88OMDNAoyRFt4GAHuK4fQouc/edit

#urp #rendering #depth #depthtarget
๐Ÿ‘2
How to make a particle out of the shape of a sprite
I'll explain how to do it in this thread.

https://twitter.com/Creta5164/status/1509408761282129920

#particlesystem #emitter
๐Ÿ‘2
This media is not supported in your browser
VIEW IN TELEGRAM
Trying out new Unity API: BatchRendererGroup

The goal of this post is to look at the new BatchRendererGroup API (BRG) and implement the minimal BRG example, so it is easier to understand how to work with it. Then gradually add more complex functionality. In the end we would have a boids simulation rendered using BRG.

https://gamedev.center/trying-out-new-unity-api-batchrenderergroup/

#brg #batchrenderergroup #rendering
๐Ÿ‘4
Wood carving in VR ๐Ÿคฏ
Here's how it's made it thread

https://twitter.com/pushmatrix/status/1511331419896913920

#carving #effect
๐Ÿ‘2
Finding Your Home in Game Graphics Programming

A learning plan for getting into graphics based on what you find the most interesting there:
- rendering
- graphics pipeline and architecture
- shaders
- tech art

https://alextardif.com/LearningGraphics.html

#rendering #graphics #learn
๐Ÿ‘3
animation.gif
11 MB
unity-footprints: Real-Time Locomotion on Soft Grounds with Dynamic Footprints

The system takes a rigged mesh with kinematic animations and an IK system applied to the feet bones, and with a rigid body for balance control and collision processing. Then it builds a real-time locomotion model that combines a global controller to adjust the overall character pose based on the ground slope with tilting and balancing behaviors, and the IK system to adapt the model to non-flat terrains.

https://github.com/edualvarado/unity-footprints

#footprints #locomotion #softground
๐Ÿ‘4
Unity-Http-Debugger: Http request logging tool for Unity.
- Send http requests from Editor Window
- Save requests and responses
Log http requests

We are using a somewhat similar tool to log all requests, which comes very handy for debugging. Much easier than running Charles or another similar tool, with less functionality of course.

https://github.com/ErnSur/Unity-Http-Debugger

#httpdebugger #http #debugger
๐Ÿ‘2
Here is a very simple way to customize blank inspector.
Just make your ScriptableObject an active selection when nothing is selected. And provide a custom editor for it.

#editortool #tip
๐Ÿ‘3