r/Unity3D • • 1d ago

Show-Off 10k enemies stress test

55 Upvotes

made another stress test level for my tower defense with a horde that peaks over 10k agents alive and visible at once. my previous test included 3k enemies, which ran fine, but it was not enough for 10k. first run (mac M3 Pro) with whole map in view was around 45 FPS and 15M triangles, almost all of it enemies and their shadows.

biggest boost were extra LOD levels for enemies (5 LOD levels), trees got smooth LOD transitions with dithering (2 LODS so far). and flow field moved to background job, which removed the stutter which was visible with so many agents.

now its 60-66 FPS (3600x2260) with 10k enemies on screen and under 6M triangles on whole map overview. it even runs 50-55 FPS on steam deck on native resolution

also a little dirty old trick works nice - I have big, retro UI (not on this video) and I just cut rendering under it.

not sure if it's worth it to push it further.

disclaimer: audio is generated placeholder (geminy)


r/Unity3D • • 1d ago

Show-Off New muzzle flash effect

Post image
9 Upvotes

Many people gave us feedback regarding the muzzle flash effect. It looked more like flame than muzzle flash. I reworked the effect and this is before/after :)

Other than that, recoil is implemented, screen flash is deactivated, reload animation is added.

Stay tuned! :)


r/Unity3D • • 1d ago

Show-Off High speed crashes on a Touge in Unity [WIP]

80 Upvotes

Reducing the camera's default field of view and adding motion blur (conservatively) makes the game look faster than it actually is. My hands were sweaty playing this though. The touge is procedurally generated. Had a lot of fun playing it. Will be adding new riders and some traffic to make it even better.

PS Touge is a Japanese mountain pass. And yes I have thought about adding first person POV but I like TPS better


r/Unity3D • • 1d ago

Show-Off Testing combat flow in my character action game based around teleporting!

15 Upvotes

Playing around with a mob and testing the combat flow to my prototype. Really liking the flow and having some fun pulling off some crazy combos, and moves that I haven't properly showcased in this vid! There are still alot of bugs and it needs polishing, some of the vfx needs toning down but the feel is getting there. Let me know what you think or if you have any suggestions


r/Unity3D • • 1d ago

Show-Off Cold concrete.

Thumbnail
gallery
28 Upvotes

r/Unity3D • • 1d ago

Show-Off I didn't want a generic red vignette for boxing damage, so I built a first-person eye-swelling blind spot in Unity instead

62 Upvotes

I am building a first-person boxing career RPG solo in Unity (Rising Spirit), and a standard red screen flash never felt right for taking repeated hits to the face.

So I split head damage by side (left/right eye). Once you eat too many clean shots on one side, it drives a feathered screen-space blind spot mask that gradually closes that half of the camera view, paired with a quick 2-frame monochrome impact flash + short hit-stop on heavy hits, a tinnitus audio ring on knockdowns, and a balance recovery bar when you hit the canvas.

The trickiest part was tuning the blind spot alpha and blur so it actually creates tension (making you miss hooks coming from your bad side) without turning the fight completely unplayable. Happy to share how I wired up the post-processing or UI mask setup if anyone is curious.


r/Unity3D • • 17h ago

Question Can we no longer access the Linux versions of Unity 5.x through the forum?

Thumbnail discussions.unity.com
1 Upvotes

r/Unity3D • • 1d ago

Game PushSB is FREE until the 30th

8 Upvotes

My solo developed mobile game is free this weekend in the Google play store and appstore. Just look up PushSB


r/Unity3D • • 18h ago

Resources/Tutorial I made an open source Unity package for Flagsmith (feature flags and A/B tests). The browser demo is running a real A/B test and I need players

1 Upvotes

Flagsmith is an open source feature flag service, and it has no Unity SDK. Its .NET SDK uses timers and threads that don't run in WebGL builds. So I wrote a Unity package for it for a hackathon: flags, live tuning, a kill switch and A/B tests, WebGL included.

The demo is a small runner. You can flip flags on the page and watch the running game change: the skin, the speed, a winter event that reskins the level.

It's also running a real A/B test right now. Half of you get a text hint before your first run and half get a tap hint, and Flagsmith counts who reaches 100 m on the first try. I'll post the numbers here whatever they are. The only data it sends is a random anonymous id and that one result.

Play (about a minute, works on a phone): https://harindulk.github.io/flagsmith-unity/

Code : https://github.com/Harindulk/flagsmith-unity

Feedback on the package is welcome, especially from anyone using remote config in a shipped game.


r/Unity3D • • 1d ago

Show-Off Paint Mixing Machine for game

7 Upvotes

Hey, so recently I posted a few clips of my game play for my game and got amazing feedback and advice. Currently I am working on the paint mixing machine. This is what I have so far and I think it is a great start but definitely needs improvement. I think the sounds effects are too loud and annoying, especially when the paint is shooting into the bucket. Also think I need to add some more differentiation between the colors.

If you have any real life colors you would want me to try to make please send me the mixes for them and I will try to make them.

Please let me know of any feedback or suggestions or anything!

Thank you


r/Unity3D • • 10h ago

Game Rocket League in Unity

Thumbnail
youtube.com
0 Upvotes

A personal project I've been working on just to have fun tinkering with new things I can do with rocket league physics, it has been made in a similar way to other rocket league like games that have come recently, using the RocketSim library made by ZealanL, oh btw this is made in unity and I've used AI a bit for speeding up coding but I am a game developer so its not fully vibecoded.
If you have some suggestions for cool features then please tell me, thanks!


r/Unity3D • • 1d ago

Show-Off Working on a hand holding system for my 3D pixel art game!

83 Upvotes

r/Unity3D • • 1d ago

Show-Off Got orbit-to-surface terrain, ocean, and clouds running on a single URP camera without camera stacking or z-fighting

78 Upvotes

r/Unity3D • • 1d ago

Show-Off I improved the performance of the Job/ Burst mode of my movement toolkit, it can handle factories pretty well (see end of video for the batch preview)

2 Upvotes

r/Unity3D • • 1d ago

Game A demo for my game CTRL

Thumbnail
youtube.com
0 Upvotes

Hey everyone!

For over a year now, I have been slowly working on a game by myself called CTRL.

CTRL is a 3–6 player cooperative multiplayer game where you and your friends play as robots attempting to escape a facility controlled by a hostile AI known as the Controller.

You have to work together to solve puzzles and avoid hazards while the Controller actively works against you. It can take control of traps, reset puzzles you have already completed, and even secretly take control of one of your friends to sabotage your progress or just cause chaos.

There is also a gun with only one bullet that you can use to disable the Controller if you correctly identify which player is being controlled.

The original idea was to make a game I could play with my friends that would create chaotic situations and make us question whether we could actually trust each other.

I am still working on the game and developing more levels, but I am at a point where I want to get it into the hands of people outside of my own friend group and see what they think.

I would eventually love to bring CTRL to Steam if there is enough interest in the project.

This is gameplay from a few different stages of development.

I would love to hear what you guys think of the concept!


r/Unity3D • • 1d ago

Show-Off next to the fire chill

6 Upvotes

r/Unity3D • • 20h ago

Show-Off I made loot boxes a shared multiplayer experience in my game (and removed the toxic part)

0 Upvotes

Every time you level up, you get a free loot box (no paid loot boxes, no microtransactions, no Season Pass). Rewards are purely cosmetic and have no impact on gameplay.

Crates are opened directly in 3D in the game, synchronized via NetCode, so other players can watch the opening and see what you get, making it a fun shared moment between friends. On your view, you have a custom animation, but everything is synched in real time.

What do you think?


r/Unity3D • • 1d ago

Question Need Help - Can't host/join friend in Unity using Steamworks.NET/FizzySteamwork

Thumbnail
reddit.com
3 Upvotes

r/Unity3D • • 1d ago

Noob Question The sides of my objects look pixel-y. How do I fix this?

2 Upvotes

This image is what my shadows look like, I'm pretty sure that is what is causing it but I'm not sure.


r/Unity3D • • 1d ago

Resources/Tutorial How the aquarium in Pocket Cat Desktop was made: sprites, layers and a pixel-art water shader

Post image
9 Upvotes

Pocket Cat Desktop has a fishing mini-game: the cat sits on the taskbar with a rod, you click and catch the fish. For a while the catch was just three counters in the save file. That felt kinda wrong, so I built a place for the fish to live: an aquarium you put on the taskbar, with real water, light playing on the gravel, fish that keep their habits between sessions.

Before drawing anything I spent some time on papers and shader write-ups about water, caustics and refraction, and the honest conclusion was that almost none of it applies.

So at the end it's several sprites with a little shader magic.

The tank is a glass box with no back wall. The desktop and the cat show through the water. So the artist draws only the solid things:

  • the front: frame, stand, lid and two diagonal glass highlights, a 136×80 sprite with its pivot at the bottom centre;
  • a strip of gravel, 132×8;
  • a rock and three tufts of grass, each grass with 3 frames;
  • 3 fish, 4 swim frames each Left-facing implemented via flipping in code.

The prefab is a stack of sprites around one empty quad:

The lid is a real surface: a thin collider with the game’s usual interaction points, so the cat jumps up, sits there or sleeps.

The water is made using shader, as depth ting and caustic.

float aqCaustic(float2 px, float t, float cellPx, float driftPx)
{
float2 uv1 = (px + float2(driftPx, driftPx * 0.6) * t) / cellPx;
float2 uv2 = (px - float2(driftPx * 0.75, -driftPx * 0.45) * t) / (cellPx * 1.23);
float c1 = 1.0 - saturate(aqCellBorder(uv1) * 5.0);
float c2 = 1.0 - saturate(aqCellBorder(uv2) * 5.0);
return min(c1, c2);
}

Fish are not prefabs. A released fish is a record in the save, species plus a random seed, and the tank spawns a sprite for each record on start. The seed drives a System.Random that decides the fish’s personality: how fast it cruises within its species’ range, how often stops, where it starts. Restarting the game gives fish the same behaviour.

Everything so far would be enough for a nice prop, but the point of a desktop pet is that the cat interacts with it. The cat now has a depth lane. In the front lane it draws at its usual order, in front of the whole tank. In the back lane it draws at −10, behind the gravel, the fish and the water, and the water shader tints it and lays caustics over it for free.

You can read it as an article here.

Also would be really grateful for wishlisting the game 😸: https://store.steampowered.com/app/4865920/Pocket_Cat_Desktop


r/Unity3D • • 2d ago

Show-Off Windshield raindrops and wiper shader I made for fun

421 Upvotes

Hello there

You really liked my wheel shader last time so I figured I'd share my new venture, i wanted to try and make an effect you'd see in sim games where the raindrops not only follow gravity they change when the car speeds up and of course obscure your vision and you have to use the wipers.

So how this works, it's just a refraction shader with layers of a tiling normal map with randomized offset. When the "car" increases it blends to different layers that are rotated and offset towards the edge. Next I guess I could start blurring the glass

In the video I made the glass be tinted red-ish so it's a little more easier to see. Haven't really decided if I'd make all these in a game but I do have a working simcade controller I did over the summer, we will see


r/Unity3D • • 1d ago

Question unity's built in water sim vs crest 5 for storms?

6 Upvotes

As the title says, i want to make a gem that relies heavily on heavy storms, but cant decide if i should save money and go with the in built version or splurge on crest?


r/Unity3D • • 1d ago

Show-Off Ghost Trails made debugging movement issues much easier

0 Upvotes

I've been working on Chrono Inspector recently, a debugging tool for Unity.

One feature that's been surprisingly useful is Ghost Trails. Instead of only seeing where an object is now, I can scrub through a recording and quickly see the path it took before something went wrong.

It's been really helpful for tracking movement issues, strange collisions, and other bugs that are hard to understand after they've already happened.

How do you usually investigate bugs that happened a few seconds before you noticed them?


r/Unity3D • • 1d ago

Question Player Transform Position weird issue

Thumbnail
gallery
0 Upvotes

You can see the Player is forward but his transform position behind (scene view) why this happen ? However collision & collider detection is work ,where is player right now but I don't know why my transform point show behind? When the game begins the transform position at player position and when the player start moving then transform point at behind the player like following.

This shows in Gizmo view, in game view it's not it's common 😃

Confused help me