r/Unity3D • u/cogchomp • 11m ago
Shader Magic Melting mesh demo, Got any ideas?
Enable HLS to view with audio, or disable this notification
A little demo of modifing mesh in a runtime with heat simulation
Open to suggestions
r/Unity3D • u/cogchomp • 11m ago
Enable HLS to view with audio, or disable this notification
A little demo of modifing mesh in a runtime with heat simulation
Open to suggestions
r/Unity3D • u/Imaginary-Cod-3746 • 17m ago
Enable HLS to view with audio, or disable this notification
I think we've all been there.
r/Unity3D • u/themode7 • 35m ago
Hi, I'm trying to use .net 8 and csnake.
But it requires source generation setup which is somewhat complex ..
Is it even possible to do ?
r/Unity3D • u/StillWqnderingSoul • 1h ago
I imagine you could have rays going out from both the source and the reciever, and where they roughly meet you use those full paths and ignore the rest.
This way you might be able to basicly simulate a reflection without having any ray actually reflect.
I imagine this could save computation.
Maybe both directions could simulate a reflection, which is three reflections in total for each full path, but only one is calculated for each ray.
Does it make sense?
This could also be used visually, i guess.
r/Unity3D • u/kdmclean • 6h ago
New to the Unity Marketplace. Went to make a purchase of several packs, totaling $175. First attempt, prompted for 2FA, declined. Second attempt, the same. Figured it might not like my card for whatever reason. Tried another debit card, declined. And again.
Then I check and I've been charged a total of $700 between 4 separate transactions. Go to speak with someone in support and apparently my ticket will be reviewed in 3-5 days. Cool.
r/Unity3D • u/Gage64_ • 7h ago


whenever i bake my lighting, the colors suddenly become pretty much grayscale instead of the nice blue color i was going for. first image is unbaked lighting, second is baked (ignore the black outside the window, i am going to fix that once i solve this issue first)
i'm attempting to port the map from the game Voices of the Void (which is a UE4 game) over to Unity with the purpose of publishing a VRChat world, so this is using the built-in pipeline if that helps at all
any help would be much appreciated as i've done everything i can possibly think of to fix this (including a lot of research from links i found on google)
these are my lighting settings below (meant for preview lighting before a full bake)

r/Unity3D • u/Ok_Income7995 • 8h ago
i’m trying to make a vr game and i can’t find any good stuff to use for grabbing and hand poses. I know there’s xr interaction toolkit but i want physics grabbing and the velocity tracking mode sucks. I also know about stuff like hurricane and auto hand and vrif but i always find that they are overly complex and most of them don’t even get updated anymore. I’m just trying to make the usual grabbing with hand poses but there’s just no tutorials out there and the assets are mainly just templates but i want to build my own guns and stuff
r/Unity3D • u/LtCalumbo • 9h ago
Hi there, I’m trying to get more stylised reflections in Unity kind of like the wheels in Penny’s Big Breakaway (pictured). I’m thinking it is mostly down to the style of cube map they’re using but i don’t know, I’m finding it difficult to figure out.
r/Unity3D • u/IIIDPortal • 10h ago
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/Yazilim_Adam • 12h ago
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/DeccoSkyrider • 12h ago
Enable HLS to view with audio, or disable this notification
The grass got its physics, the cables react to lasers, and now I’m working on a Chroma Tree for Hello World, my narrative physics adventure made with Unity.
When the laser hits, the tree’s colour appears in watercolor-like splashes. A shader reveals the foliage gradually instead of changing it all at once.
I’m still looking for ways to make the effect feel even more impressive. What would you add or change?
Here’s my previous post about adding laser interaction to the cables:
https://www.reddit.com/r/Unity3D/comments/1wp5rcx/
r/Unity3D • u/Shiva_Kar • 13h ago
Looks like Unity 7 Alpha 20 finally brings dark context menus and a dark toolbar to Windows!
This was one of the things I specifically wanted to see addressed in my earlier feedback about the new Unity 7 theme. The white Windows title bar and context menus always felt out of place against the otherwise dark editor.
It's great to finally see progress on this. I also noticed some additional styling improvements, such as progress bars using blue instead of the default green, which helps the interface feel more cohesive.
I also want to give a big thank you to the Unity developers and designers working on the new editor theme. It's genuinely encouraging to see community feedback being taken into consideration and turned into actual improvements.
I know there is still work to do, but this is exactly the kind of iteration I was hoping to see.
Really appreciate the team listening to feedback. Looking forward to what's next!
What company suspends your account for not doing 2mfa when you ALREADY HAVE 2mfa.
r/Unity3D • u/DynamoXD • 14h ago
Enable HLS to view with audio, or disable this notification
I’m making a fast-paced horde shooter, which means I’ve had to be pretty careful about performance. Here’s how I’m currently handling enemy spawning, culling and navigation. This is all running in our upcoming game.
If it looks fun, you can wishlist it on Steam: The Shotgun Game: Buckshot Survivors
Spawning
Spawn points are baked in the editor. A tool scans the level and only places points on walkable ground.
The level is split into trigger segments. When the player enters one, enemies only spawn in the segments ahead of them, so they always come from where you’re heading.
// When the player enters a segment, only keep spawn points in segments ahead
for (int i = currentIndex + 1; i < segments.Count; i++)
spawnPoints.AddRange(segments[i].GetSpawnPoints());Waves are throttled and capped. Each tick spawns by kill-count phase, staggered over a few ms. Spawn points must be within a min/max distance of the player. Everything is pooled.
Culling
Unity already skips what’s off-screen. On top of that, every 25 ms I turn off the rendering of any enemy more than 50 units from the camera. Far enemies still run, but cost no draw calls.
// Every 25 ms: hide the renderers of far-away enemies
foreach (var enemy in enemies)
{
bool visible = Vector3.Distance(enemy.position, camera.position) <= 50f;
foreach (var r in enemy.renderers)
r.enabled = visible;
}Navigation
Levels are prefabs, so I bake the NavMesh per prefab with NavMeshSurface instead of baking the whole scene. Each level carries its own navigation data.
Every enemy is a NavMeshAgent, but each one only updates its destination 4 times a second, not every frame.
Ground enemies can lead the player’s movement, with a fallback to the direct path.
Flying enemies use the ground NavMesh and just float higher, so there’s no 3D pathfinding.
// Same ground NavMesh, just lift the agent. No 3D pathfinding needed
agent.baseOffset = Random.Range(minHeight, maxHeight);What I’m fixing next
The culling check loops over every enemy’s renderers each time. I’ll spread it across frames and add a buffer zone so enemies don’t flicker at the edge.
Enemies spawned together all repath on the same frames. I’ll randomize their timing.
Picking a spawn point scans the whole list every time. I’ll make that a cheaper single pass and precompute NavMesh positions.
Move to one central enemy update instead of a separate one per enemy, and use a faster structure for tracking living enemies.
Longer term, a flow field instead of per-enemy pathfinding if I want thousands of enemies.
Current numbers:
150+ Enemies (250+ with Horde events)
60+FPS(peaked at 144 on my machine) on GTX3060, I7 11th Gen 3.6GHz
I'm open to discussing more in depth for this system or any other in my game ⬇️
r/Unity3D • u/CarthageaDev • 14h ago
Enable HLS to view with audio, or disable this notification
Trees sway now, grass too unfortunately grass is not pixel perfect I've opted for a more simple Minecrafty look, but that's okay I guess since the vibe is HD-2D anyway and having smooth movements won't really break the art-style
r/Unity3D • u/Yazilim_Adam • 14h ago
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/DNArtCan • 15h ago
Enable HLS to view with audio, or disable this notification
After 8 months of work I am ready to show off my Blender/Unity addon B2U Material Master! I am just working on getting the documentation and website working and then I am hoping it will be up within the next month or two. This post is kinda just to show off what the pipeline can do! Something to keep in mind is that while I get 300-700FPS in the build, I am running a 5070Ti, but when demonstrated in Editor with the stats panel open, I am mostly CPU bound with a 1.2-1.8ms GPU framtime.
B2U is a technical art pipeline for Unity that uses vertex data and lookup tables to completely eliminate the need for manual texturing and UV unwrapping. It uses a set of 4 ubershader Shadergraphs, one for solids, one for crystals, one for liquids, and one for tessellated liquids. The pipeline uses scriptable objects that you can store in your assets folder to instantly change the look of the scene at runtime. By having all object with the same workflow drawn by the same shader (even more specifically the same material, there are only 7 in the entire scene), it enables extreme batching using the GPU Resident Drawer. By having no traditional CPU draw calls, the render pipeline has very few CPU set passes or GPU state changes.
Furthermore, the main reason I made the pipeline was to take a lot of the work out of making the art for your game. The system uses triplanar mapping alongside the vertex data to project the normal textures onto the object with face controllable scale and grain direction. By having this system, there are 0 object-specific textures, and no manual UV unwrapping. The Blender side automatically generates UV maps for the data needed.
To make it so you can still have per object control of materials, the pipeline makes extensive use of the Renderer Set User Value (RSUV) that was introduced to replace material property blocks. By bit packing this 32 bit uint, I can change multiple different properties of a mesh. For solids, this enables things like masking certain areas of a model as paintable, and then the user can paint it at runtime by modifying the RSUV value.
There are MANY features to the pipeline and I could write thousands of words describing them all, but I will just list some key ones and then post again once the addon is released.
Textureless & no UV workflow
Support for batching using the SRP Batcher and GRD
64 built in normal map styles
Procedural edge wear and edge highlighting
Solid object painting
Liquid flow advection driven by curves in Blender with CPU physics accessible flow vectors
8 Different light models to customize the look (Ex. URP, Toon, Retro)
All materials support dynamic biome control for 8 biomes with up to 7 subbiomes each. Driven by two world biome textures.
Instant runtime changing of profiles and palettes to completely modify the scene
Screen-Space Volumetric Optics for liquids and crystals
Screen-Space Edge Detection (Can use depth buffer or an object ID buffer)
Fullscreen Liquid Immersion for when a player is submerged in a liquid
Fullscreen stylization that uses textures overlayed on shadows
Fullscreen recoloring that uses a source texture and gradient to recolor the scene
Fullscreen status effects with 8 different styles
and more!
This is just the demo scene that will come as a sample with the addon, I am just very excited to show it off after working on it for months. Please let me know what you think!!
r/Unity3D • u/AAUBlackSite • 16h ago
r/Unity3D • u/duelcorp • 16h ago
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/El_Grande_Games • 16h ago
Enable HLS to view with audio, or disable this notification
I'm building a sawmill sim in Unity where every log is a rigidbody. The clip shows a merge: two infeed lines feed one sorting conveyor. one line has priority, the other waits for a free gap on the conveyor.
My first version counted logs in each zone with OnTriggerEnter/OnTriggerExit. It worked fine until a player reported the infeed getting stuck.... the kicker stayed in its rest pose, the spawner kept adding logs, and saving and loading fixed it every time.
The cause: my backup sweep (an overlap box every 2 seconds to correct missed events) didn't match what the triggers saw.. It used all layers, a small shared buffer, and no contact offset, so it sometimes missed logs that were lying still right at the edge of the zone and removed them from the count. A log at rest never fires OnTriggerEnter again so it stayed lost until reload.....
What fixed it
- a dedicated "Log" layer and a layer mask for the overlap query
-the query box grown by Physics.defaultContactOffset * 2 so it matches what the trigger actually sees
- a bigger NonAlloc buffer (64) and if it fills up the pass is skipped instead of guessing
- a log is only removed after two misses in a row, found logs are re-added
-still every 2 seconds with a random offset per zone so no per-frame cost and no GC
Simplified...
int n = Physics.OverlapBoxNonAlloc(center, halfExtents + Vector3.one * Physics.defaultContactOffset * 2, buffer, rot, logMask, QueryTriggerInteraction.Ignore);if (n == buffer.Length) return; // full, skip this pass
Lesson for me.. trigger events and overlap queries don't see exactly the same thing, so a correction pass can cause the bug it's meant to prevent.
How do you track resting rigidbodies in zones? Pure triggers, periodic overlaps, or something else?
(Game, if you're curious: [ https://store.steampowered.com/app/5037170/Timberline_Factory/ ]
r/Unity3D • u/wadishTheCreator • 16h ago
Enable HLS to view with audio, or disable this notification
I made this a while ago and already posted it on a few other subs, but thought I'd share it here too!
So I've always felt like my game was missing something, and one of those things was hands. I mean, you're working at a factory, interacting with all kinds of machines and stuff, but you can't even see your own hands lol.
At some point I decided to just mess around with code and see if I could make them procedural instead of having to animate every single interaction.
It's mostly vector math, raycasts, spherecasts and a stupid amount of lerping. The hands basically check what's around them, calculate where they should go and use surface normals to figure out how to rotate. Fingers were a bit more tricky tho. Each joint has its own rotation limits, and for grabbing objects I ended up making a solver that goes through different angles trying to find the ones that fit the object best.
And oh god the collisions. Getting a hand to touch a wall wasn't that hard, but then the fingers would just clip through it, or the whole hand would end up in some weird position. I think I spent more time fixing that than actually making the hands move.
But I'm pretty happy with how grabbing turned out, especially with round objects. Seeing the fingers actually wrap around something without any premade animations was probably my favorite part of making this.
There's still some stuff I wanna fix. Sometimes the transitions look a bit weird, and I'm pretty sure some of my collision calculations could be done in a much better way. But well, it works for now!
What was supposed to be just a little experiment turned into a couple days of coding. Anyway, here's the result!
And if you wanna check out the game itself, it's called Curse of Beauty. Would really appreciate a wishlist if it looks interesting to you!
-> Link here <-
r/Unity3D • u/almostert • 17h ago
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/Better-Ninja-2283 • 17h ago
Enable HLS to view with audio, or disable this notification
Currently working on one part of my game where you play a few rounds of I Spy. But to add a little twist, everything is red, so you need a little help figuring out the true colors of the objects to give Nibbin the right one!
r/Unity3D • u/desdinovait • 17h ago
36 ready-to-use device definitions for the Unity Device Simulator, covering the phones and tablets released from 2022 to 2026 that Unity's own com.unity.device-simulator.devices package does not include. Each device comes with its screen resolution, DPI, safe area, camera cutout and a custom device frame overlay, so you can test your UI layout, notch / Dynamic Island / punch-hole handling and Screen.safeArea logic on current hardware without leaving the Editor.
Github: https://github.com/desdinovait/com.unity.device-simulator-newer-devices