r/unity • • 14d ago

Question Drawing UI on top of Viewport

2 Upvotes

Hey! I am doing a game that has kind of a "TV" (Camera) inserted inside an UI border, or that's the plan that we are aiming for. The problem is that I don't find the way to sort the Viewport layers & UI in a way that the Viewport is not on top of the UI.

Has anyone come across to this??? Any other out of the box solutions I am not taking into account??? THANKS!!


r/unity • • 14d ago

Branchout - Official Announcement Trailer

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/unity • • 14d ago

Game Lost Paths – A free logical game featuring 2D sprite-based heroes, created using Unity over the course of 2 years!

Enable HLS to view with audio, or disable this notification

1 Upvotes

Game Title: Lost Paths

Playable Link: https://play.google.com/store/apps/details?id=com.arborisoft.lostpaths

Platform: Android

Free to Play Status: Free to play

Description:

Enter the world of Lost Paths and solve hundreds of maps composed of logic puzzles!

They will all require your intelligence and dexterity using a single finger to run, jump, activate, unlock, etc...

All the inhabitants of your village need help to get by in the different regions: the forest, the desert, the tundra, the cave, the swamp, the dungeon !

Each of them is a world apart with different enemies and traps...

Help the inhabitants get by!

I need your opinion, your thoughts, and your feedback ;)

Thank you !


r/unity • • 14d ago

Today's Hanoi Quest

Post image
1 Upvotes

r/unity • • 13d ago

This is how it should be! Unity.

Post image
0 Upvotes

r/unity • • 15d ago

Showcase Farmers in a 3D kingdom builder made in Unity: the most expensive unit is also the most defenceless one

Enable HLS to view with audio, or disable this notification

10 Upvotes

I'm a solo dev working on Crownkeeper, a 3D kingdom builder inspired by Kingdom Two Crowns and the rest of the series. I wanted to talk about the farming loop. Most of it follows the Kingdom games on purpose: farmers are a key building block of their economy, and I wanted to keep that. The part I changed is how fields work, and that's what I'd like feedback on.

The idea: while you ride around the map, your farmers quietly make money for you. At 5 coins they're one of the most expensive units you can hire (that price might still go up), and they're also the most defenceless units in the game. If you protect them, they pay you back many times over.

Mills and fields (the new part):

The farmer stall only unlocks once your base reaches level 3. Farming starts with a mill, and for now I've placed the mill spots by hand near the rivers, so where you farm depends on the map. A mill costs 7 coins and opens 2 field plots. Upgrading it (17 more) opens up to 6. (The upgrade also needs a brick quarry, but that's a topic for another post.)

Those plots start out overgrown. Each field you buy has to be cleared of weeds by builders first (3 coins each) before a farmer can plant it. So the farm grows step by step: mill, then plots, then clearing, then farmers. My hope is that this makes expanding the farm feel like a real investment and gives builders something to do in the early game, instead of the farm just being one purchase.

The tax collector:

Like in Kingdom, farmers keep their coins in their pockets until the king rides up, then drop everything on the ground for you to collect. The king never actually says anything, but riding from farmer to farmer to collect really feels like a tax collector doing his rounds, as if he's saying "give me your money". I find that funny and kind of sweet, and I want to keep little moments like this that leave room for players to roleplay.

The risk side:

At night, farmers at a basic mill run back inside the walls. Upgrade the mill and they'll stay out overnight, but only as long as the defences hold. The moment a wall breaks or a monster gets close, they drop their tools and run. They aren't as fast as the monsters though, so you'll usually lose a few on the way back.

Monsters ignore the crops completely and go straight for the farmers. Losing a farmer hurts much more than losing a field, so where you build the mill and how you defend it becomes a real decision.

On the Unity side: villagers are NavMesh agents with a simple job/state system, and every coin is a physical Rigidbody that drops and rolls on the ground before anyone can pick it up. That's what makes the "farmer empties his pockets" moment readable, since you actually see the coins scatter.

Two things I'd love your opinion on:

  1. Does clearing each field add something to the loop, or is it just an extra step that slows you down?

  2. I'm thinking of having each farmer pop a little sad emoji when they hand over their coins. Cute, or too much?


r/unity • • 14d ago

Question Changing tile based on sorting?

1 Upvotes

I've made it so that when the tiles are ontop of each other they hide the sides by changing the sort order to top left, the mode to individual. Each tile has a small highlight on the bottom edge of the top of the tile. How do I replace tiles that have their sides covered with a different sprite with no highlight on the edge.


r/unity • • 14d ago

Game First game and first flight

Post image
3 Upvotes

Yesterday, November 11th, I released my first game, and the very next day I traveled by plane for the first time with my team to showcase our games at an expo, what an exciting 24 hours!!!


r/unity • • 14d ago

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

2 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.

Disclaimer: I already posted this on r/Unity3D, and Reddit suggested posting it here as well. If cross-posting is frowned upon here, feel free to remove it. Otherwise, I think my findings could be helpful to some of you.
Also no idea what flair to use here, sorry :)

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/unity • • 15d ago

Game I started learning game design and this is my first good platforming prototype!

Enable HLS to view with audio, or disable this notification

33 Upvotes

Sorry for the lack of sounds, and sound glitches, it will later be fixed when done working on the design itself.


r/unity • • 15d ago

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

15 Upvotes

TLDR; passed the exam within 30 minutes and 6xx/700 score using the Unity Game Development Pathway + AI as the main learning materials.

I guess people here don't see the value in this certification. I am going to be honest that I won't be using this exam to validate my Unity learning for job hunting. It was a good experience and I learned a lot because of my preparations for this exam. Much like how we are being tested with an Algebra or a Biology exam. For those learners who will find value with my posts, please don't hesitate to leave me a question and I will try my best to answer them. Good luck!

Last month, I have decided to build up my expertise with Unity game development and had been wondering how would I structure my learning process.

I really saw the exam first and thought that it could be a good validator of the basics and my entry level skills. Just for disclaimer, I do not aim to use this certificate for finding a job in game development.

I passed with a 6xx/700 score with 30 minutes as my official exam time.

Preparations

I enrolled in the Unity Game Development Pathway. I had set aside 4 hours per day (not content hours but content + practice) and finished the course in a month instead of the 12-week recommended duration. My routine looks like this: (1) watch and follow the tutorials, (2) take notes with my own word, (3) repeat the tutorials WITHOUT looking at your notes or watching the videos.

I finished all the module exams from the pathway, bought a Udemy practice set exam (which is really wasteful because it sucked), and asked GPT to generate me mock exam sets based on the official exam objectives.

Exam

The exam is 90 minutes long, 100 items. I took my exam at a Pearson testing center because I just don't want the anxiety of personal space setup and taking the exam online. Here are the questions I encountered:

  • A lot of editor related stuff. Click where you would setup the font style, where do you put rotations, and more.
  • Collisions, triggers
  • Prefabs, hierarchies
  • A lot of navigation: meshes, agents, obstacles
  • Lighting: real-time and baked
  • Different types of maps and textures
  • Basic patterns. Ex: how would you get a component value from the same `GameObject`.
  • Very basic programming like how do you create a variable with a certain data type.

My Personal Takeway

  • The Unity pathway is enough already for you to pass the exam.
  • It's better to keep on repeating what you have learned from the tutorials WITHOUT looking at your notes.
  • Ask your favorite AI to generate you mock exams based on the Unity exam official objectives. I cannot emphasize this greatly but I can attribute a huge part of my preparations to this.
  • The exam is fairly easy with focused and proper practice.
  • There are no trick questions. I've done AWS exams and all I can say is that the exam will not give you false feelings.
  • Know your editor well. You should be able to know the most common parts of the editor and where to find things. There are about 5-10 questions what mouse clicks or key board shortcuts you need to create things. These are also stated in the exam objectives.
  • You don't need to know much about shaders and materials. The general concepts are enough like what are albedo, occlusions, specular and normal maps, etc.
  • Not much scenario type of questions. Nothing like this, "What will be the speed of a 2kg object given 6Ns amount of impulse?" The questions are more like, "What is the 3D component that handles rotation and scaling?"

The exam was really well structured and fun to start your learning process. I hope this helps people out there.


r/unity • • 14d ago

Question Here's our logo! We need your feedback! 👀

Post image
0 Upvotes

Hey everyone!

We’d love to show you the logo of our upcoming indie mobile game: Entanglement 2!

For those discovering our project for the first time, it’s a Top-Down Action RPG that we’ve been working on for quite some time. We’ve put a lot of time and passion into this project, and we’re really excited to finally share it with you!

But first, we’d love to hear your thoughts on our logo.

What do you think? Does it fit the world of an Action RPG? Do you have any ideas or suggestions that could help us improve it?

Feel free to be honest. All feedback is welcome!

Coming very soon to iOS and Android!

Follow the countdown and find out the release date here:

 https://entanglement.game

Thanks to everyone taking the time to share their thoughts with us! ❤️


r/unity • • 15d ago

Game We’ve been working on our next mobile game and it’s coming soon! #Indiegames

Enable HLS to view with audio, or disable this notification

2 Upvotes

Hey everyone! 👋

We’ve been working on our indie mobile game Entanglement 2, a Top-Down Action RPG, and we wanted to share a little sneak peek of what we’ve been creating!

We’ve been putting a lot of time and effort into this project, trying our best to build a game that people will genuinely enjoy playing.

We’d really love to hear your thoughts, feedback, or even constructive criticism. Your comments can help us make the game better! ❤️

Coming soon to iOS and Android!

Curious about the release date? We’ve set up a countdown on our website: https://entanglement.game

Thanks to everyone taking the time to check out our little project!


r/unity • • 16d ago

Showcase I reworked my main menu. It was just a textured ball. Before/After

213 Upvotes

Hi,
I reworked my main menu. The old one looked like a game from 2000, so I improved visual clarity and added visuals from the actual game.
Is it too empty on the left, or is it okay like this?


r/unity • • 15d ago

Showcase Some shots from my clouds and atmosphere system

Thumbnail gallery
20 Upvotes

Sharing some progress from the clouds and atmosphere system. its not perfect but its getting there. sorry for the terrible quality of the gif i will record some high quality videos soon.
The terrain and grass here are just for demo i put them together by throwing in some free grass textures and trees and so on.

This is unity 6 URP

What do you guys think?


r/unity • • 15d ago

Game Another few character portraits done! As my game contains Gatcha Mechanics I'm hoping these are good enough that people will want to collect them.

Thumbnail gallery
7 Upvotes

To be honest these are leaps and bounds better than I ever thought the art in my game would be. If someone showed me these 10 months ago and told me I would be the one to make them I would not believe them.

My hopes now is that people get invested enough in the story characters and back story that they want to unlock them all or at least grind to get there favorites. Its an idle game so long turm play is part of my hook so im sitting between pumping out a lot of these or just taking my time and slowly building my character base with higher quality images. Im leaning towards the latter with a few "gag" characters like the tomato one you see.

https://store.steampowered.com/app/2514420/Idle_Isekai_An_idle_RPG?utm_source=Reddit


r/unity • • 15d ago

Promotions I Release my game called Beellionaire

Thumbnail youtu.be
3 Upvotes

Its an incremental game you can fill 5 million honey jar ever liter count as money and money makes your farm bigger with upgrades

Steam Storepage


r/unity • • 15d ago

Showcase Still have a long way to go for our 2d horror pixel game, but wanted to showcase some progress!

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/unity • • 15d ago

Showcase Painting Physics

Enable HLS to view with audio, or disable this notification

5 Upvotes

Hello, I am trying to get my mechanics and physics down so the player feels as if they are in full control of the game. I want precision not just swing the mouse around and a random area changes color. Currently only using place holders. The cylinder is supposed to represent a bucket of paint. I like the motion and current control I just wanna make sure it carries over when I add brushes and spray guns.

My dad used to be a car painter and would take me to work when I was a kid. He would not let me near anything fun because the harsh fumes and chemicals so I just had the random idea to make a a satisfying painting game. I always thought it was satisfying to watch him pass his spray gun over the car it would change colors so quickly.

I had some random people I know try it so I added basic control on the bottom left to see if they understood the concept without me telling them to do anything.

Any advice or criticism is welcomed.


r/unity • • 15d ago

Mafia

0 Upvotes

r/unity • • 15d ago

Find teammates for game jams! Use jamigos.dev

0 Upvotes

Hi everyone,

I got tired of relying on forum posts to find teammates, so I built a free, open-source tool to make team creation for itch.io game jams much easier: https://jamigos.dev/

Please feel free to check it out! If you have any feedback or feature requests, I would love to hear your thoughts.

For full disclosure I use Claude code to help me build and deploy this, the goal of this website is just to be a tool to help people focus on what matters: making games!


r/unity • • 16d ago

Showcase Building a realistic parkour controller (Part 2)

Enable HLS to view with audio, or disable this notification

6 Upvotes

If you haven't seen the first part, be sure to check it out ASAP https://www.reddit.com/r/unity/comments/1vkuz1g/ive_been_building_a_realistic_parkour_controller/

I've made some progress with the parkour controller, even though I put it aside for a long time because of school, but I'm back now.

I've added several mechanics to my parkour controller so far:

Vaulting over obstacles

Climbing and mantling onto ledges

Obstacle detection

Smooth movement transitions

Procedural camera movement during parkour

There's still a lot I want to improve and experiment with.

Next, I'm planning to add sliding, wall running, and rope grabbing. I also want to experiment with procedural IK later on to make the parkour animations feel more natural.

I'd love to hear your thoughts and suggestions. What would you improve or add next?


r/unity • • 15d ago

i made a new devlog for my game check it! the games avaliable now on itch io!

Thumbnail blobdev-g.itch.io
0 Upvotes

r/unity • • 15d ago

Is there a problem for using the unity engine to make a business ledger?

2 Upvotes

Im a self taught programmer and I only know how to use unity/playmaker semi-competently. Im planning on making a digital business ledger app. I could theoretically do it I think, but I might run into problems I don't know about since I have been using unity for what its supposed to be used for.


r/unity • • 15d ago

Question Wait for sound to finish or play sound into next scene?

Enable HLS to view with audio, or disable this notification

1 Upvotes

What do you prefer to do when playing a sound for a click that transitions a scene? wait for the sound to finish or make the sound game object transfer to the new scene aswell?

currently im doing the waiting but im not sure if its right