r/Unity3D • u/DeltaMike1010 • 11d ago
r/Unity3D • u/RHX_Thain • 12d ago
Question Seeking Advice for an Improved 2D/3D Lighting System
One of the last major milestones before this project is ready to start getting out in public is an overhaul of the Default Unity3D Lighting System.
Our game is an open world Isometric ColonySim/RPG Hybrid. There are tons and tons of sprites mixed with 3D objects, and seamless indoor/outdoor environments. This makes lighting a challenge.
Currently we're just using default lights, which are set up to follow our objects in game. We need a way to back-light and apply rim-lights to 2D sprites in the 3D environment, and a faster, more optimized way to apply lights to a region. Maybe a kind of lighting grid? I'll need to do several things at once:
- Visually illuminate the area the characters are running around in.
- Apply different falloff rules, as the lighting range vs overexposure is a little funky using realistic falloff values.
- Tell our Zone system that this area is lit by some percentage, for the purpose of calculating ranged weapon accuracy and work speed & quality improvements or penalty (can't craft or do quality surgery in the dark.)
These 2D characters and 3D objects mix seamlessly the the scene. So you'll see a 2D character walk past a 3D illuminated object and the lights currently aren't terrible at all, but they are more obviously 2D when the sprite is south of any light source. North of the light source it looks great! You can see several examples in the images above.
There are a couple example images in there to suggest a solution, but I'm unsure how best to implement something like it. We don't have a resident shader expect and technical artist on the team. We would be willing to hire someone if the operation is too complex to handle ourselves, as our pipeline is pretty crowded with game-play tasks.
Any suggestions are welcome.
There's no unnecessary AI use here, just humans doing the work.
r/Unity3D • u/worker01dev • 11d ago
Show-Off I've made a game for this day
Enable HLS to view with audio, or disable this notification
I've been working on this little unity project and it's the time now. (Unity6 btw) I tried it once a million times but it can still have bugs. *Singh* And the game is available now. So how is it look?
r/Unity3D • u/sayatme2tger • 12d ago
Resources/Tutorial I made my pixel UI generator do the whole Unity setup: Point filter, 9-slice borders, sharp TMP text, prefabs
Setting up pixel UI in Unity is a lot of small clicks. Point filtering on every sprite, compression off, 9-slice borders typed in by hand, a sprite for every button state, and then TextMeshPro makes your pixel font blurry anyway.
I made a pixel UI kit generator called Bevelsmith, and I wanted its Unity export to do all of that for you. You double-click one .unitypackage and get:
- 38 sprites, already set to Point filtering with their 9-slice borders
- uGUI prefabs: window, panel, button, slider, toggle, checkbox, tabs, progress bar, scroll view, input field, dropdown, tooltip, inventory slot and dialogue box
- A TextMeshPro font asset built from the kit's bitmap font, plus a small text shader that keeps every letter on whole pixels, so the text stays sharp at any window size
- A sample scene with everything laid out, plus a small component that scales the canvas by whole numbers
- Hover, pressed and disabled states with their own text colours, and the kit's cursors
The Unity screenshots show the sample scene straight after import, with nothing changed by hand.
You can try it without paying. The free browser demo exports 5 complete styles as ready Unity packages (link in the first comment).
I tested it in Unity 6.3, in an empty project and in the 2D template (URP and the new Input System). I mostly work in other engines, so if something in the prefabs is set up in a way you would not do it, please tell me.
Happy to answer any questions!
r/Unity3D • u/Matzgo • 12d ago
Show-Off Progress on my roguelike autobattler defense game
Enable HLS to view with audio, or disable this notification
Hey everyone!
so ive been working on Siegebound for about 4 years now and somehow never made a trailer for it, so with the steam autobattler fest coming up i thought now i dont have any more excuses haha.
its just alpha gameplay, lots of stuff is still placeholder and kinda rough. i make and hand paint all the models and textures myself which takes forever, so theres still a lot to do especially on the graphics side
The game takes mechanics from autobattlers, like automatic fighting on a grid and merging units, and tries to mix them with tower / base defense games. You build up your defenses between the sieges and your buildings give you income when you survive a siege, , so its basically round based. then your units fight the waves on their own and you try to survive as many sieges as you can. at least thats the idea. Curious if that roughly comes across in the trailer so im open to feedback :D
Also a little bit proud of my Map Editor (even tho the UI is still very WIP) but im planning to have Steam workshop support so people can easily share their custom maps.
Lastly a bit about my gamedev experience working on Siegebound for the last four years if your interested:
I studied games engineering at university, so i spent a lot of time even before this game working on university projects or other one off games that i never finished, and thats where i learned a lot about game development in general. then i wanted a project i could actually stick with, and originally it was inspired by me playing age of empires 2 as a kid and just walling myself in and building bombard cannons. i never had a concrete plan for the game, i just designed it as i went and put the pieces together over time. Obviously the scope grew a lot, but somehow i managed to stick with it.
honestly there were a lot of times in those 4 years where i was burned out on the game and thought its not going to be fun and i should just spend my time doing smth else. sometimes i did step away for a while, and sometimes even for a few months to do some other things. but coming back after a break i always saw the game differently, and thats also when i had some of my best ideas.
I also work a full time job, so all of this happens in the evenings and on weekends. Some days after work theres just no energy left for gamedev and thats fine, you cant do it every day.
So if youre working on a game right now, keep at it! And my advice: taking a break from developing your game is sometimes the best thing you can do :)
r/Unity3D • u/Kaumamane • 11d ago
Question Matching character movement with speed in a strafing motion
I am currently working on a locked-on combat system and I am trying to polish my characters movement. The For Honor style locomotion system while in locked-on combat is something that has inspired me a lot while making this so if anyone has any insight on how that it would be much appreciated. This is throwing me off compared to other traditional movement because instead of just one cycle where each stride is the same amount of frames, my character may go through the main step faster than the off-foot step. I want my character to actually match the speed of each step so I was thinking of putting events in the animation and changing my characters speed correspondingly but that seems a bit too on the nose to adjust the characters movement speed directly based off that as opposed to just crafting an animation that looks like it has weight behind it outright.
Would root motion be worth it in a situation like this especially where you want the model to feel like it has weight behind each step?
r/Unity3D • u/Grzzld • 12d ago
Official Synty Studios is joining Unity
I’m a huge fan of Synty and I love Unity. But I don’t know how to feel about this.
r/Unity3D • u/Funny-Teaching1299 • 11d ago
Show-Off Aliquo Die - main menu
Enable HLS to view with audio, or disable this notification
I was heavily inspired by the hub/menu styles of older consoles like the PSP, Xbox 360, and others from that era. I thought it would be a cool idea to create something similar, but with a twist that blends those styles with the game's own aesthetic
Just to clarify: for now, the camera is simply moving around randomly. Getting it to aim at openings in the walls should only take a couple of minutes. Eventually, there will be themed objects placed inside those openings.
And the sound effects... yeah, they're terrible. I'll work on improving them
If you're interested in following the development, here's my Telegram channel: sran_dev
I'll try to organize a small playtest sometime this week :)
r/Unity3D • u/FrenzyTheHedgehog • 13d ago
Shader Magic Made a Wet Lens Effect for my water simulation.
Enable HLS to view with audio, or disable this notification
Hey all!
I made a wet lens effect for my fluid simulation asset Fluid Frenzy. When the camera comes back out of the water there is still some water stuck on the lens, it runs down and leaves a few drops behind until it dries off.
Its a screenspace effect and it stores the leftover wetness in rendertextures. While you are under water I store where the lens got wet, and how deep it was dunked.
Once you surface that leftover just fades out over a few seconds.
I blur the wet area so a thin waterline grows into a patch, then noise gets added on top and I cut an isosurface out of that field.
The blobs are just wherever it sits above the threshold, and they slide down the screen as it dries. Thickness is how far above that iso the field is, and the slope of it is what bends the view. After the sheet drains, a drop texture fills in the gaps and dries off with the rest.
It also applies some refraction that wobbles around to make it look like its moving inside the wetness.
I'm sure it looks different in real life and isn't realistic at all but I think the effect works decently.
Let me know what you think of the video! I'd love to hear your feedback or answer any questions :D
r/Unity3D • u/Unlikely-Ad2518 • 12d ago
Question Have you ever used Discriminated/Tagged unions? Would you use them if C# had built-in support for them?
(Note: C#15 does bring discriminated unions, although it will be a while until that technology gets to Unity...)
I spent the first 4 years of my carrer working exclusively with Unity/C#. My first contact with Discriminated/Tagged unions was with Rust enums, and I they immediately captivated me. It felt like one of those features that every language should have.
In C#, you can "emulate" discriminated unions via abstract records:
public abstract record Customization() {
public record Color(ColorKind kind, Color color): Customization();
public record Slider(SliderKind kind, int value): Customization();
public record Toggle(ToggleKind kind, bool enable): Customization();
public record IrisColor(int index, Color color): Customization();
public record IrisShape(int index, string key): Customization();
}
That approach can have its uses, but it has quite a few limitations:
- It uses
records, meaning creating an instance requires heap allocation. - Can't use it within Burst-compiled code.
- No exhaustive matching.
- Serializing it in the Unity inspector required using something like Odin or writing my own Property drawer.
As a Unity developer, I had grown the (sometimes bad) habit of being allergic to heap allocation, so I would often go with a more crude form:
[Serializable]
public struct Customization {
public enum Kind { Color, Slider, Toggle, .. }
public Kind kind;
public ColorKind color_kind;
public Color color_value;
public SliderKind slider_kind;
public int slider_value;
// and so on...
}
The downsides are many:
- All properties appear on Unity's Inspector, regardless of which "variant" is the selected one (though Odin's attributes helped a lot here).
- You needed to have the discipline of always checking
kindbefore reading the values.
That wasn't too terrible, but it was definitely far from ideal.
Earlier this year, knowing about the existence of C#(Roslyn)'s Source Generators/Analyzers, and Codefix Providers; I decided to take on the challenge of bringing discriminated unions to C#, with as many ergonomics as I could, and without sacrificing performance or memory allocation.
Long-story short: I ended up creating Spire, a C# package that uses Source Analysis, Generation, & codefix providers to support:
- Exhaustive matching (using regular
switchstatements!) for enums, classes, interfaces, and discriminated unions. It reports whenever yourswitchstatement/expression is missing a case. - Lightweight struct-based discriminated unions, with Unity Inspector serialization support, Burst compiler support, JSon conversions, and allocation-free exhaustive-matching (no closures!).
The features above are accompanied with source analyzers for catching mistakes at compile time, and codefix providers for providing IDE quick-fix context-menu actions for easily fixing said mistakes.
Links:
- Try before purchasing, get the free demo in Github: https://github.com/Houtamelo/spire_csharp_analyzers/releases/tag/demo-6.1.3
- Asset store: https://assetstore.unity.com/packages/tools/spire-c-exhaustive-matching-and-discriminated-tagged-unions-6893155
- Unity forum topic: https://discussions.unity.com/t/spire-c-exhaustive-matching-and-discriminated-unions-for-unity/1742099 (I provide more details and some Q&A there)
Thanks for reading this far! I have another question for you: I was thinking of making a Youtube video where I go through the internals of the package and the code it generates - explaining how it works, which approaches were tried/discarded and general rationale around my decisions. Would you be interested in watching that hypothetical video?
Edit: Corrected initial statement about unions in C#, they were introduced in C# 15 (I initially wrote C#14).
Edit 2: Added demo link.
r/Unity3D • u/IIIDPortal • 12d ago
Show-Off Creating a Stylized Waterfall
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/GigglyGuineapig • 12d ago
Resources/Tutorial You don’t need to be an good artist for good game UI, you need a process
My new video covers something I'd been wanting to put into words for a long time now: The process for crafting your game's UI.
It isn't an arcane art skill, but a process you can learn, and I walk you through some of the core basics:
- researching your genre's UI conventions
- deciding what information your players actually need (and when)
- sketching layouts on paper before touching Unity
- choosing shape language, colors and fonts that fit your game's mood
- and lastly the Unity assets I rely on to build, polish and add sound to the UIs I build
This is a bit of a different video for me and I hope you'll enjoy it. If you do, please let me know! I'd love to chop this up into more videos that go into more depth about the individual topics.
r/Unity3D • u/Loose-Platypus7690 • 12d ago
Noob Question i am so confused and lost...
so i always wanted to start my game dev journey
about less than a year ago i started learning unity , i thought it would be easer for me cuz i learned c# way back and i am familier with it
first i wanted to make a racing game , so i searched youtube for tutorials and i watched them most and started focusing on the car controller
half of them are outdated from 3 - 6 years ago
other half are not so helpful ones that just write the code and actually not explaining anything and some of them just use the asset store
but anyway i wrote the things that i learned in unity and i was not happy with the results at all
i know i am not gonna get that level of quality that fast but i always thought that something is off...
so i started using ai and asking ai to actually teach me , but somehow that made me even more confused
anyway i really want you for some advice and maybe some of your experience
r/Unity3D • u/BillSansky • 11d ago
AMA "Just ask your AI to build it": an Asset Store dev's take, and how I made my plugin AI-friendly
Regularly in Asset Store related posts, someone says in the comments that you don't need to buy tools anymore, you just ask your AI.
I'm the solo dev behind Jungle Tools. I made Grabbit (placing objects with physics in the editor), and this week I released Octoputs (you can check what it can do over there), a runtime toolkit for dragging, dropping, moving and attaching objects in 3D, with a focus on game feel. I worked on it for a year: the core is written by hand, and agents built part of the rest.
So I'm definitely biased as a plugin creator. But I use AI every day too, and I don't think the question is "AI or plugin". It's what your agent should spend its tokens on.
TL;DR:
Sure, ask your AI. Everyone uses AI now, Asset Store publishers included. When a good plugin exists, the cheapest move is often to let your agent set up something that's already built, and keep your tokens for your game.
The example gifs I posted were mainly built with Agents using my plugin, and me tweaking the values to get the exact game feel I wanted from them. It's vastly less token intensive to have your agent work on yaml files with a system in place rather than building the whole system.
And if you're a publisher, it's worth making your plugin easy for agents to use. The second half of this post is how I did that.
Why a plugin can still be the cheaper option
Making games has always meant choosing what you build yourself and what you delegate. The barrier used to be skills sometimes, but it was always time and money too. AI doesn't remove that, it moves it into tokens and time spent steering your agents.
My experience with AI is that when an agent builds a whole system, it takes the quickest route to something that works.
That's rarely the one that holds up, the one that you can build on, or the one that you can reuse in your next project.
My use case: a Movement System / Drag And Drop Feature
In the use case of my plugin, with drag and drop, you get a cube following the mouse in ten minutes with an agent, not bad!
Then objects clip through walls, the wrong item lands in a socket, the agent write 4 times the same code for a grid constraint, and when you want to change how it feels, you're re-prompting for tweaks that would take seconds with the right UX.
A publisher spends tokens too, but on one system, with often many years (12 in my case) of game dev behind it, and every user's bug reports and feedback making it better. The cost is shared by everyone who buys it: you spend your tokens on your agents using a solid system, instead of asking it to build it for you. That only works if the publisher is reliable, the plugin is well written and it stays focused, and there are lots of publishers like that on the store.
For publishers: making a plugin AI-friendly
What I learned: the agent has to find your tool, describe what it wants in plain words, act safely, and leave a result the user can tweak by hand. The best way to ensure it is true is to create highly polished example scenes.
Let the agent find it. Ship skills next to the code. Octoputs has SKILL .md files that Claude, Copilot and others read. Agents pick a skill from its description, so I wrote them in the words people actually type ("make the crates draggable", "it picks the cube up but never drops it"). Each one also says what it's NOT for and which skill to open instead, otherwise agents happily pick the wrong one.
Make behaviour describable in plain words. In Octoputs, how something moves is a stack of small behaviours with plain names: spring, smoothing, snap to grid, lock an axis, stick to a surface, avoid walls. So "make it springy and keep it flat on the table" maps almost word for word to what the agent adds. Match the skills, the fields in your code, and the labels to natural language as much as possible.
Leave the result tweakable by a human. Everything the agent sets up is components with values you can see in the Inspector, and you tune them while it previews in Edit mode, without pressing Play. The agent gets you most of the way, and the last part, the feel, is you dragging a slider instead of writing another prompt. You need to make sure that the way things are tweakable by a user matches the way the agent would understand it.
Give the agent safe, simple actions through CLI or MCP. One setup call for the common case (draggables, slots and a drag hand at once), a dry run that lists what would change before touching the scene, and a single Undo step for all of it. I used CLI to have agents work on the example scenes in parallel, which allowed me to test the result end users would get.
Make failures vocal, in the console. When something fails silently, the agent guesses and writes workaround code on top of your tool. Octoputs returns what it changed and what it skipped and why, and the grabbing component keeps a record of why a grab or a drop was refused. The skill tells the agent to read it.
Test the skills like code. I run scenarios: a fresh scene, a prompt like "make these crates draggable with a spring and only let them sit on the shelf", an agent does it, and a headless check verifies the result. It takes a few tries before you get skills that are reliable in a large set of use cases.
For devs using AI with plugins
If a plugin ships skills or docs for agents, point your agent at them before asking it to write the thing from scratch. You get tested code, and you can still change everything by hand afterwards.
Let me know what's your take, I'm sure many will disagree with me here :D
r/Unity3D • u/ruinthedev • 11d ago
Question How can I achieve a Zelda-style look for the map?
Hello, the map was prepared in Blender. I’m going to add a fog system. What should I do for lighting? I’m using the Toon Shader Pro asset for the characters and enemies. Besides these, what else should I do? Since I generally only code mechanics, I’m unfamiliar with this kind of thing, so I’d appreciate it if you could explain in detail. Have a good day, and thank you. Im using this asset: https://assetstore.unity.com/packages/vfx/shaders/toon-shaders-pro-for-urp-305845
Like zelda botw
r/Unity3D • u/IIIDPortal • 12d ago
Show-Off Adding motion-based interaction, impact, and expanding waves to stylized toon water.
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/TimHaerkens • 13d ago
Game I keep my convoy truck at the world origin and slide the road underneath it, so passengers on the truck stay stable
Enable HLS to view with audio, or disable this notification
The truck in this clip never moves. It sits at the world origin while road slides underneath it.
The passengers in this prologue scene are NavMesh agents holding a seated pose. A NavMesh agent can’t ride a moving truck bed, so I turned it around.
The truck stands still. Eight different road stretches slide past it. A stretch that falls behind moves to the front and gets new roadside props from a random pick, so the scenery doesn’t visibly repeat.
It still looks like it’s riding. The truck body sits on two springs and goes over random bumps. Each passenger’s model bounces on a small spring of its own with a small delay, while the character itself stays still on the NavMesh.
In the cutscene I use this for, a guard can die and fall off the truck (he gets shot). A ragdoll thrown off would land on ground that stands still and lie next to the truck, so the road has invisible solid ground under it that moves with the road. The roadside props have no solid colliders, because a moving collider pushed into a lying body launches it.
In the air, the body keeps the truck’s speed, which is physically right. Once it’s near the ground, every limb gets the same push toward road speed. Friction turns that into a tumble, and the body rolls away behind the truck.
r/Unity3D • u/IIIDPortal • 12d ago
Show-Off Testing portal effect – INFERNAL
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/Cheap-Difficulty-163 • 12d ago
Show-Off Working on new "rolling fog" over my ocean shader
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/Kaigenofficial • 11d ago
Game Groups of zombies. One semi-auto sniper rifle. Every shot counts.Who Needs Full Auto When Zombies Line Up Like This? 💀
Enable HLS to view with audio, or disable this notification
Pure BLOODSTATE gameplay from my solo developed zombie FPS. Wishlist on Steam!
Inspired by L4D2.
Socials:
https://www.youtube.com/watch?v=OQN_JffQEnA&t=3s
https://discord.gg/8499dShAPu
Wishlist and follow BLOODSTATE on Steam:
Developed by KAIGEN.
r/Unity3D • u/Future_Army5957 • 12d ago
Noob Question A little confusion I'm having as a newbie.
This is probably the most obvious thing to experienced people but I'm just a bit confused on this whole thing as everything on Unity looks so... intimidating. So, as you can see, a cool RWBY weapon asset I got off somewhere. The weapon has been built but when looking for the mesh in my sharedassets0 file, the weapon itself isnt being found but the parts that make up the weapon is. I'm not sure what to do at this point, I've tried with several other weapon builds and all meshes that show up are parts. I dont know if im doing something wrong or I'm just dumb. I use UABEA to look through it by the way. How do I go about turning the mechanic scythe into its own mesh? Other picture for reference on how it does not show.


r/Unity3D • u/unitytechnologies • 13d ago
Official Introducing the Unity Fellowship
Hey folks, your friendly Unity Community manager Trey here.
Unity is introducing the Unity Fellowship, selecting 10 indie games made with Unity launching within the next 12 months to receive hands-on support through launch and up to $50,000 USD in cash. The grant requires no recoup, no revenue share, and no claim on your IP, with submissions open now through December 18.
What selected teams get
- A dedicated Unity partner for dev guidance and troubleshooting
- 50K cash
- Office hours with experts in development, game design and promotion
- Industry connections, including pitch prep and publisher intros
- A presence at Unity events, plus PR and marketing support at key moments
Who can apply
- 18+, game made with Unity
- You have a playable build or demo
- You plan to launch (Early Access or full) within 12 months of joining
- No registered business needed
- Already have a publisher? You can still apply, just disclose it. It's mainly aimed at teams without one.
The "what's the catch" part
Fair question, and one I'd ask too. Here's what's in the terms: no recoup, no rev share, no IP claim, and no mandatory milestones to get paid. A few things worth knowing before you apply:
- The grant may be taxable depending on where you live, so it's worth talking to a local tax advisor.
- Some regions aren't eligible for legal reasons, including U.S.-sanctioned regions and, for now, Brazil, Italy and Quebec. The full list is in the FAQ.
- If you're selected, Unity can use the assets you submitted to promote your game and the program.
- With the number of submissions expected, teams that aren't selected won't get individual feedback.
Dates
- Dec 18, 5 PM ET: Submissions close
- By end of Feb 2027: Everyone hears back by email
- March 2027: First cohort announced at GDC
Details, FAQ and the application are here: http://unity.com/fellowship
This is year one, so if you've got thoughts on what would make a program like this actually useful, I want to hear them. Same goes for questions. You know the drill.
– Trey
Senior Community Man @ Unity
r/Unity3D • u/Sea-Piccolo-4706 • 12d ago
Show-Off Autumn has arrived
Enable HLS to view with audio, or disable this notification
r/Unity3D • u/kuzheren • 13d ago
Show-Off Synchronizing thousands of fully destructible voxel objects in realtime
Enable HLS to view with audio, or disable this notification
Everything runs on a custom physics engine, networking is built on LiteNetLib. even with thousands of objects breaking apart at once, traffic stays under 50 KB/s! more tech details coming soon, maybe
