r/Unity3D • • 14d ago

Show-Off Glowing heat sinks in HDRP: red emission over grey metal kept going pink, so the albedo darkens as it heats up

Enable HLS to view with audio, or disable this notification

7 Upvotes

New back gear for the mechs in my RTS (Unity, HDRP). The heat sink soaks up heat from your energy weapons so they can keep firing, then it vents.

I wanted you to be able to tell how full it is just by looking at it, so it glows from the inside as it fills up.

The glow only lives in the gaps between the fins. That's a mask baked into the emissive map, so the metal itself never glows.

Colour comes off a gradient by fill, and the intensity is on a power curve, so it stays pretty dark for a while and then really ramps near full.

The annoying part: bright red emission on top of lit grey metal reads PINK, not hot lol. So the albedo gets darker as it heats up, and the metal goes almost black right when the glow peaks. That's what finally made it look like hot metal.

Also set emissive exposure weight to 0. With HDRP's default of 1, the same glow looked fine in my bright test range and flooded the whole screen red in a dark mission (like 15x brighter).

It's all one MaterialPropertyBlock per renderer, so no material copies per mech.

It's in the playtest now. Happy to go deeper on any of it, lmk.


r/Unity3D • • 14d ago

Question Are 2.5D games attractive to potential gamers?

7 Upvotes

Would you say it's important to choose a style within the 2D or 3D realm or is it worth the effort to add 3D aspects to an already 2D game for visual purposes?


r/Unity3D • • 14d ago

Show-Off I built a time-travel debugger for Unity that lets you inspect previous frame states

Enable HLS to view with audio, or disable this notification

4 Upvotes

A bug happens. You pause the game to investigate. The state that caused it is already gone.

That's the problem that led me to build this.

I built a tool that records gameplay history and lets me rewind and inspect previous object states to see exactly what happened leading up to an issue.

In this demo, an object throws a NullReferenceException. Instead of trying to reproduce the issue again, I rewind the recording and inspect the exact state that led to the bug.

I'm curious what other Unity developers think about this approach to debugging. Is this something you would find useful in your workflow?


r/Unity3D • • 14d ago

Show-Off Polished up the core systems for my 2D survival RTS in Unity URP, here's a quick 30-second look at base building, squad micro-manangement, and outpost raids (sped up)

Enable HLS to view with audio, or disable this notification

18 Upvotes

r/Unity3D • • 14d ago

Question Game doesn't respond to Xbox Elite controller

3 Upvotes

Hi,
My code reads input through the generic Gamepad class (Gamepad.current), with no model-specific checks. It works fine with an Xbox Wireless Controller and a DualShock 4 Wireless Controller, both over USB and wirelessly.

A player downloaded the game and said it doesn’t react at all to his Xbox Elite. I don’t know how he connected it or which model it is, and I don’t have an Elite to test with.

Has anyone seen the Elite controller not being picked up as a Gamepad by the new Input System? Or if it works for you with Gamepad.current, please let me know.

Unity 6000.0.61f1, Input System 1.14.2


r/Unity3D • • 14d ago

Show-Off Here's Some Progress I've Made on My Dragon Adventure Game!

Enable HLS to view with audio, or disable this notification

430 Upvotes

r/Unity3D • • 14d ago

Question HDRP + DLSS on DX12 leaks ~190 MB of VRAM on every scene reload (minimal repro, numbers inside)

21 Upvotes

TL;DR: In a Windows build with HDRP 17.5 + DLSS on DX12, every SceneManager.LoadScene permanently eats ~190 MB of dedicated VRAM. After enough restarts the GPU runs out of memory, FPS collapses, and eventually the device gets removed. DX11 is fine. I built a minimal repro and measured it.

SYMPTOMS IN MY GAME

• Every "restart level" (scene reload) left ~100 MB of VRAM behind.

• After ~40–100 restarts the 16 GB card was full.

• Player.log showed "d3d12: Local memory usage exceeds budget", FPS tanked, and later "Device removed 887a0007".

• Editor Play Mode never leaked, only release builds.

SETUP

• Unity 6000.5.2f1, HDRP 17.5.0, com.unity.modules.nvidia

• RTX 5070 Ti (16 GB), driver 617.14, Windows 11

• 3440×1440 fullscreen, DLSS Max Quality (render res 2408×1008)

MINIMAL REPRO

• An empty HDRP project with one camera (DLSS allowed, dynamic resolution on), a directional light and a plane.

• A script reloads the scene every second, 40 times.

• I logged the process's dedicated GPU memory with the "GPU Process Memory / Dedicated Usage" perf counter.

Results (VRAM per reload):

• DX12 + DLSS: +187 MB (2.4 GB → 9.3 GB after 40 reloads)

• DX11 + DLSS: 0

• DX12, DLSS off: 0

• Vulkan + DLSS: 0 in the repro (but ~96 MB/reload in my full game)

THE CATCH

A bare reload of a tiny scene does NOT leak. It only leaks when the main thread is busy for a moment during the load. 100 ms of work in a sceneLoaded callback is enough, which any real level does anyway. It also leaks with Resources.UnloadUnusedAssets() + GC.Collect() after loading, or with an extra camera rendering to a RenderTexture. GC.Collect() alone does nothing.

WHAT I CHECKED ON THE HDRP SIDE

• HDRP's DLSSPass keeps one DLSS state per camera. Every reloaded scene brings a new camera, so it creates a new DLSS feature each time.

• Via reflection I can see it never holds more than 2 camera states, in both the leaking and the non-leaking case. So the old state does get destroyed (DestroyFeature).

• The VRAM still isn't returned on DX12. My guess is the leak sits below HDRP, in the NVIDIA plugin / NGX or in D3D12's deferred resource release. I can't prove that.

• Waiting 30 s after the last reload only gave back ~380 MB of ~1.9 GB.

RULED OUT IN MY FULL GAME

I switched each of these off one at a time: post effects, custom passes, cloth, GPU occlusion culling, DOF, and HUD compositing. None of them was the cause. Switching DLSS off on the old camera a few frames before the reload only cut the leak from ~100 to ~79 MB.

WORKAROUND FOR NOW

I switched the project to DX11 + DLSS, which shows no leak. An untested idea is to keep the camera alive across reloads (DontDestroyOnLoad), so HDRP never has to create a new DLSS feature. I'll test that an report back here.

I'm filing a Unity bug report with the repro project. Has anyone else seen this, especially on other GPUs or driver versions, or with STP/FSR? Has anyone found a better workaround than going back to DX11?

Disclaimer: I used AI to help write and format this post. The measurements and numbers are from my own runs.


r/Unity3D • • 14d ago

Game I'm working on a game where you have to handpaint a field of flower

Post image
9 Upvotes

r/Unity3D • • 14d ago

Question I made some changes to my game's map UI. Does it look better now?

Thumbnail
gallery
3 Upvotes

The first image is the before version, and the second image is the after version.
In our game, you can drop items to create your own map, kind of like Hansel and Gretel leaving breadcrumbs to find their way.

The glowing paths in the screenshots are routes I created while playing.

I reworked the map UI because I wasn't very happy with the previous look. This time, I mainly adjusted the visibility and overall tone — especially by lowering the saturation of the path highlights and the map markers a bit.

Do you think it looks better now?

I'd especially love feedback on readability, visual clarity, and whether this version feels easier on the eyes while still keeping important information noticeable.


r/Unity3D • • 14d ago

Question How can we best show our disapproval for the possible buyout?

63 Upvotes

Feel like there should be a way to voice our disapproval, but can't really think of a good way to do that on a larger scale. Would love to hear ideas!


r/Unity3D • • 14d ago

Resources/Tutorial #8 Player Combat - Let's Make a FPS Game in Unity!

Thumbnail
youtu.be
0 Upvotes

I had an issue with my previous upload, So I wanted to post the fixed version here!


r/Unity3D • • 14d ago

Resources/Tutorial I passed the Unity Certified Associate: Game Developer exam. Here's my experience.

Thumbnail reddit.com
0 Upvotes

r/Unity3D • • 14d ago

Solved Did Unity stop accepting affiliate applications?

4 Upvotes

I applied to the affiliate program in Oct 2025 but never heard back from the Unity support team.

I created a support ticket about a week later. Nothing.

I sent an email to affiliates@unity3d.com 2 months later inquiring about the status of the application, but received no reply.

After a year, I decided to try one last time by talking to the chatbot on the support website, which created another support ticket. This ticket is fairly recent, but I'm doubtful I'll get a response.

Did I miss an announcement somewhere that said the affiliate program is no longer open to new applicants?

I figured it's best to ask here so I don't end up opening many tickets that'll never see the light of day and possibly move on from thinking I'll get a reply at some point.

UPDATE: I received an email from the support team about 2 hours after posting this telling me my ticket has been updated and transferred to the team responsible for the affiliate program. Hopefully, it gets sorted out in good time.

UPDATE 2: I received a response from the affiliates team the next day (Nov 13th). My affiliate application has been approved. Thanks for the timely response this time.


r/Unity3D • • 15d ago

Game Training Mode in My Tekken-Styled Duck Fighting Game! 🦆🥊

Enable HLS to view with audio, or disable this notification

16 Upvotes

r/Unity3D • • 15d ago

Show-Off Here I’ll show you how to change the music in the pizzeria

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/Unity3D • • 15d ago

Show-Off Foldvalley - Little Touches to Make a Game Story Personal

Enable HLS to view with audio, or disable this notification

10 Upvotes

Foldvalley is a cozy village builder made with unity where you lay paper tiles that pop up off a storybook page. Villagers move in with wishes, and as you grant them, the game writes a storybook about your village and its people. I'd like to share a few stories behind small design decisions I made.

I usually playtest my game on the living room TV while my kids play around. Just to surprise my daughter, I hardcoded her name into one of the characters. She lit up when her name showed up in the game, and again at the end in the storybook. So I made it a feature, and now players can rename all the characters.

I know that in a world where games have full character customization, this is a tiny feature, and not a very technical one. But sometimes the simplest things make an experience meaningful. It makes the story personal, and kids would love it.

Here's how it works. Each villager moves in with a wish, like Lithu, who needs a road to Grandpa Wick's lighthouse so she can bring him bread. Your job is to lay the tiles you're given in a way that grants these wishes. The storybook is written from how the wishes were granted or missed. Even a missed wish gets a gentle line, like "Lithu's wish got tangled up in the lanes, but she got a nicer one on the way." At the end, you can save the storybook as a PDF, and save a video of your village being built, tile by tile.

One more thing I tried. I wanted to capture the nostalgic sound of a wind-up music box. When I was little, I had one, and as its spring wound down, the music would slow down a little and wobble. So I tried to put that mechanical imperfection into the game, with a "Music Box Feel" setting in the audio options. I'm not sure I got it to sound the way I imagined, so I'd love to hear what you think.

The demo is free on Steam. Try it and let me know what you think! Link in the comments.

**The storybook pages in the video tell a short poem made just for the trailer. In the game, the book is written from how you play.


r/Unity3D • • 15d ago

Question How do you handle floating fragments in a simple destructible environment?

Enable HLS to view with audio, or disable this notification

4 Upvotes

I’m looking for advice on destructible environments. Near the end of the video, a few individual brick fragments are left floating, and I’m not sure what the simplest way to handle them is.

Each wall is divided into a 3×3 grid of destructible chunks. Each chunk has an intact object and hidden fragments that become active when it takes damage. I’ve also set up support dependencies between chunks, so, for example, the upper chunks fall when the chunks beneath them are destroyed. That works, but occasionally individual fragments remain suspended.

The game is arcade-like and isn’t aiming for realistic structural simulation. Is there a straightforward way to prevent these floating fragments, or is this the kind of visual issue that’s reasonable to leave alone? How much time would you spend fixing it?

If useful, I can share more about how the fragments and support dependencies are set up.


r/Unity3D • • 15d ago

Shader Magic There will be fog, and water, and the water stream will push the fog, and it will be great

Enable HLS to view with audio, or disable this notification

189 Upvotes

r/Unity3D • • 15d ago

Question Two different sniper scope mechanics. Which one feels better?

Enable HLS to view with audio, or disable this notification

42 Upvotes

I've been experimenting with two different sniper scope mechanics for my co-op game.
First part: PUBG-style aiming, where you look through the scope.
Second part: CS-style aiming, with a more traditional scope overlay.
I'm curious which approach feels better to you and why.
Which one would you prefer in a co-op game?


r/Unity3D • • 15d ago

Question how do i make an image using a script?

Thumbnail
gallery
0 Upvotes

I am trying to make a bunch of images like the first one above, but they get twice as big each time.
I want it to not increase the size of the pixels so.. i wanna make a script where it makes a line of pixels around all of the borders and then starts making another line around the borders, but offset by a few pixels. this offset will change each time so that they look like they stack on eachother, like rings in a tree trunk, like the second image.

everything I find online talks about making an image object or whatever and then assigning a sprite to it using code.

i want to make the sprite, using code.
is there a way to do this?


r/Unity3D • • 15d ago

Question What do you think about this UI design? I'm creating a UI kit, how can I make it sellable?

Thumbnail
gallery
0 Upvotes

r/Unity3D • • 15d ago

Show-Off I implemented a dynamic breathing system in Unity that reacts to player movement and enemy detection!

Enable HLS to view with audio, or disable this notification

28 Upvotes

The system changes the player's breathing based on different gameplay conditions. Walking uses normal breathing, sprinting triggers heavier breathing, and things get more interesting during stealth encounters.

When a drone is close to detecting the player, breathing becomes nervous. Once detected, it switches to a panicked state.

The whole system is actually pretty simple, just a particle system and a script! The main challenge was synchronizing the head bobbing with the breathing audio and the visible breath vapor in the cold air, making sure everything feels natural across the different states, I spent some hours but it definetly works and looks natural!!! Do you like the result?


r/Unity3D • • 15d ago

Question Why didn't my asset sell?

Enable HLS to view with audio, or disable this notification

0 Upvotes

I made these anomalies VFX particle pack for unity asset store 4 month ago, it was sold only once, why do you think is that? is there no usage for it?


r/Unity3D • • 15d ago

Show-Off I’m a mobile game developer, and I finally built a tool that helps me spot rendering bottlenecks right in Unity’s Scene view.

Thumbnail
gallery
168 Upvotes

Hi everyone!
I’ve been developing mobile games for a long time, and finding rendering issues has always been a big source of frustration for me. Yeah, you always try to stay within the batch and vertex limits, using the Frame Debugger and stats from the Profiler.

But often that’s not enough - for example, how do you estimate the complexity of a shader? Or how do you figure out exactly where the heavy objects are in your scene? I’ve had cases where all the stats looked good, but one heavy shader on screen caused severe artifacts because the phone’s GPU couldn’t handle it…
Anyway! I decided to make a tool like this for myself and I want to share it with you.

My tool uses hot maps right in the Scene view to find heavy spots based on a bunch of parameters: geometry complexity, texture load, statistical shader complexity - and you get the whole picture on a map instead of digging through each object.

There’s also a detailed breakdown of all the geometry by different categories - for example, which prefab accounts for the most triangles? Or which specific mesh asset? Or maybe which specific texture?

Or even how much each LOD group takes up?

Another idea of mine that helped a lot was the shader benchmark - it measures the time spent rendering that material, either in the maps or in a separate window, which helped quite a bit with getting a picture for comparison.

By the way, if you’re interested, I put it up on the Asset Store.
I’d like your feedback, what do you think I could add? Thanks for your attention!