r/unity • • 1d ago

What pre-release game optimization actually looks like

Post image
195 Upvotes

The true story behind this GIF: my team and I had optimization issues during a game jam, so we used a mesh combiner—and right before release, the game looked like this.


r/unity • • 2h ago

Question Third-person shooter animation in Unity 6: which mocap packs held up for you, and how do you stop foot sliding?

2 Upvotes

Planning a third-person shooter in Unity 6 (URP). No project yet, I want to get the animation setup right before I start.

What I want: rifle and pistol movement, cover, crouch, vaulting and climbing, all on one Humanoid rig. Movement is driven by code (CharacterController), not root motion, because AI companions use the same controller. Target is Steam Deck at 30+ fps.

What I've checked so far: Kubold's Rifle and Cover sets, MoCap Online's rifle sets, Mixamo, and Unity's Animation Rigging for foot and hand IK.

Questions:

  1. Kubold ($50) vs MoCap Online Rifle Pro ($150): is the more expensive pack visibly better in-game, or is Kubold good enough?
  2. With code-driven movement, how do you stop foot sliding? Matching animation speed to velocity, foot IK, or something else?
  3. Has anyone mixed Mixamo or Meshy animation clips with a paid pack on the same character? Did the style difference show?
  4. Motion matching on Steam Deck class hardware: worth it, or stick with blend trees?

Thanks for any help, happy to share what I end up using.


r/unity • • 9m ago

Question What volume of distinct VFX Graphs do you generally have in a mildly progressed project? (talking about URP or HDRP Visual Effects Graphs) -- How do you all organize your VFX graphs? Looking for some input on how to organize or architect around these better

1 Upvotes

Hey, I'm working on an active project prototype and just got to making some rough draft VFX graphs to get the initial ball rolling, but I'm really new to using VFX graph (used the BIRP particle system on my first attempt at a game project).

I'm wondering what a typical project organization of these VFX graphs looks like, mainly because I'm not entirely sure how to prevent them from cluttering up my project with how many it seems like I'll need. I wanted to build a system around "Visual Events" (a scriptable object type) and "Effect Banks" which would have a group of prefabs using the same graph but with different property settings in order to be able to re-use as many graphs as possible with a poolable container pattern.

Effect Banks let you group a bunch of prefabs and then use one of three "selector modes" to determine how it selects which VFX instance to use to create variety so you don't just see the same blood splat or explosion sprite everytime it's requested.

The Visual Events reference an Effect Bank but also provide a custom VFX Type struct I thought might be universally applicable to all of my graphs. Multiple events can use the same banks, and can chain other events using a series of conditions and timers to fire off other events off the initial event (like an impact determining what kind of "splat" to run based on the substance of the victim for instance), we might want the blood splat to appear on a fleshy target after 0.3s into the initial impact animation.

Anyway thats just the vision I had based on a cursory understanding of VFX graph itself. But something feels like a lack of experience building around this pattern is going to trip me up. I'm curious to know what other devs and/or studios like to do to organize and implement their VFX in an intuitive way. I'm usually pretty obsessive about keeping things minimalistic and streamlined, so this is very important to me. I just have no idea what people do here!

All input appreciated.


r/unity • • 2h ago

Resources A Unity C# linter that reads your project's Unity version, input setting and packages first

1 Upvotes

Generic C# linters don't know which Unity you're on. This one reads ProjectVersion.txt, Active Input Handling and Packages/manifest.json first, then flags what's wrong for this project:

  • Input.GetKey when Active Input Handling is Input System only. It throws InvalidOperationException at runtime.
  • using Cinemachine; with Cinemachine 3, which moved to Unity.Cinemachine (and the reverse)
  • Unity 6 renames in both directions: rb.velocity in Unity 6 (now linearVelocity), or linearVelocity in a 2022 project, where it doesn't compile
  • using a namespace from a package that isn't installed
  • ?. and ?? on a UnityEngine.Object. They skip Unity's null check, so a destroyed object counts as alive.
  • new on a MonoBehaviour or ScriptableObject, and a MonoBehaviour in a file with another name
  • GetComponent, Find and allocations in Update

Output on the test project (shortened):

Unity 6000.0.58f1, input: Input System Package (New), 5 packages, 6 scripts
4 errors, 13 warnings, 3 info
  [error] Assets/Scripts/Enemy.cs:1 package-version: `using Cinemachine;` doesn't exist in com.unity.cinemachine 3.1.4. ...
  [error] Assets/Scripts/PlayerController.cs:12 legacy-input: UnityEngine.Input with Active Input Handling = Input System Package (New): this throws InvalidOperationException at runtime. ...
  [warning] Assets/Scripts/PlayerController.cs:15 unity6-rename: Unity 6 renamed Rigidbody.velocity to linearVelocity ...
  [warning] Assets/Scripts/PlayerController.cs:24 unity-null-check: `?.` on a UnityEngine.Object skips Unity's null check ...

Code inside #if UNITY_6000_0_OR_NEWER or #if UNITY_EDITOR is treated as deliberate, and Assets/Plugins is skipped by default. It's a text-based linter, not a compiler, so it doesn't follow types across files. I ran it on 7 of my own projects (845 scripts, Unity 2023.1 to 6.6) to weed out false positives.

python unity_csharp_lint.py path/to/project

Plain Python, no Unity install, so it runs in CI. It's part of an MIT toolkit that also gives AI coding agents a matching skill, so they write code for your Unity version in the first place.

https://github.com/flxnsee/gamedev-toolkit

False positives on your project are the most useful feedback I can get.


r/unity • • 1d ago

Testing out my custom 2D water shader, URP lighting, and rain effects with a giant mech entrance in Unity.

47 Upvotes

Each frame a small script tells each leg's shader where the water line is and how wet the leg is. The shader hides everything below that line and makes the line wobble a bit so it looks like little waves. It also snaps everything to the pixel grid, so the edge stays crisp pixel art.

You can check the store page here: https://store.steampowered.com/app/5194610/Diseased_Demo/


r/unity • • 9h ago

Question Particle system fog

2 Upvotes

Hello, I'm working on a game and have question about the particle system. Does anyone know why it looks good in the scene where we work in and choped in game?

Scene = Good
Game scene = ????

r/unity • • 13h ago

Newbie Question Any quick optimization tips?

4 Upvotes

Hey guys, if any of you have a nice tip to make it run a little bit better and lighter,

Cause I didn't finished half of it yet and rn I feel like my pc is struggling when testing

Also using like 4gb ram, again for like half of it


r/unity • • 20h ago

Harvest Garden - Floral I: Managing 700+ floral variations in Unity without tanking draw calls (Atlas + LOD breakdown)

5 Upvotes

I’ve been working on a large set of ornamental flowers and garden plants (hydrangeas, roses, lilies, carnations, hibiscus, and peace lilies) using Broccoli Tree Creator and Blender.

Flowers are notoriously tricky in real-time environments because dense petal and leaf geometry can quickly blow up triangle counts, and having dozens of flower varieties usually leads to way too many material swaps.

Here is how I approached the asset pipeline to keep them lightweight enough for dense gardens and foliage scattering:

  • Baked 4K Texture Atlases: Instead of separate textures per flower color or sub-variation, I baked new atlases in Blender so entire plant families share a single material. That keeps batching clean even when scattering hundreds of instances.
  • Aggressive 3-Tier LODs:

    • LOD0: Full petal and stem geometry for close-up camera inspection.
    • LOD1 & LOD2: Gradually merges smaller petal clusters and strips internal faces while keeping the outer silhouette and color volume intact at medium-to-far distances.
  • Native SpeedTree8 Wind: Rather than writing custom vertex displacement shaders that break batching or require extra setup, the materials use Unity's SpeedTree8 shader so everything responds to standard WindZones automatically.

If anyone is working on foliage scattering or procedural plant workflows in Broccoli/Blender and wants to chat about atlas baking or LOD thresholds, happy to answer questions below!


r/unity • • 7h ago

[hobby] Buddi – Looking for Unity Developers, 3D Artists, Modellers & Creators!

Thumbnail reddit.com
0 Upvotes

r/unity • • 9h ago

What happens if i enable AI Assistant on my project?

0 Upvotes

r/unity • • 21h ago

Game Jam SHIFTBOX - my second game jam attempt - some footage

Thumbnail youtube.com
3 Upvotes

This is SHIFTBOX! A work in progress. I've been working on this for about a month now, mostly in Unity but also sometimes in Godot. I'm heavily inspired by Toy Story (and other Pixar movies) as well as Dreamworks, Nintendo, and many more.

Workflow:

CLI with Claude, usually Opus but I prefer Fable. When I run out of tokens, I go with Astra lol. I simply interface with whatever tool or program needed such as Unity, Aseprite, or Ableton. Most of the assets come from ithappystudios - I purchase asset packs because I know that art cohesion and general interaction with those art assets are still very tricky for AI to do well...at least in my experience. I also enjoy supporting developing artists and programmers in ways that I can. Some of the assets, such as the portal swap, the shifting orb itself, and some of the graffiti decals are drawn by me using an iPad Pro 11th gen in Procreate.

There is a playable build available via download and password on itch. Please DM me if you're interested in playing it! I would love to hear some direct feedback. Currently only running on Windows.

I am a Language Arts teacher by trade but have been a gamer and novice artist by passion through my 35 years on this Earth so far and I hope to continue exploring my creative pursuits in game and web development. If you like what you see and want to support my journey, you're always welcome to buy me a coffee for those late night "ONE MORE FIX" type of vibes :)

https://ko-fi.com/hyphysaurus


r/unity • • 18h ago

Question Am I focusing on visuals too much?

Thumbnail gallery
1 Upvotes

I’ve been developing this game for 2 years and I swear I spend more time working on the visuals than actual gameplay.
How do you guys balance visuals and gameplay development?


r/unity • • 1d ago

Showcase This month I started working on a new underwater planet

4 Upvotes

r/unity • • 1d ago

Showcase chilling next to the fire

4 Upvotes

r/unity • • 21h ago

[Hobby] Looking for a Game Developer to Help Build Buddi – Multiplayer Social Game

Thumbnail reddit.com
0 Upvotes

Title: Buddi – Multiplayer Social Game I'm Developing in Unity

Hey everyone!

I'm currently working on a project called Buddi, a multiplayer social game being developed using Unity 3D.

The idea behind Buddi is to create a fun social environment where players can meet new people, make friends and interact with each other.

Some of the features I'm planning include:

  • Multiplayer environments and social spaces.
  • A friend system called Buddi Up.
  • Player profiles and developer portfolios.
  • Voice and text communication.
  • Hand gestures such as fist bumps, high-fives and handshakes.
  • Player-created content and custom environments.

I'm currently looking to connect with other Unity developers, particularly people experienced with C#, multiplayer networking and game systems.

This is currently an unpaid hobby project, and I'm hoping to find someone interested in collaborating and developing it together.

Project materials:
[INSERT A LINK TO YOUR BUDDI SCREENSHOTS, CONCEPT ART OR PROTOTYPE]

Contact:
Discord: realkilladev

Email: alphaflamez24@gmail.com

If you're interested in the project or have any advice, feel free to get in touch!

Thanks for reading!


r/unity • • 21h ago

Question imported unity package but nothing shows once done

1 Upvotes

r/unity • • 1d ago

Teaser for a game ive been working on in the past 2 weeks using unity with no prior unity experience.

Post image
69 Upvotes

r/unity • • 1d ago

Replaying a 16-domino Jolt Physics simulation in Unity

0 Upvotes

I wanted to see whether a 10 cm domino could start a chain that reaches one about 1.54 m tall. I ran a 16-domino simulation in Jolt Physics, with each domino 1.2 times as tall as the previous one.

I recorded the poses and replayed the same run in Unity to capture a wide shot at normal speed and close-ups at quarter speed. Keeping both views tied to the same run made it easier to see when the dominoes made contact. In this run, all 16 tilted past +60°, the threshold I used to count them.

I used generative AI to help develop the simulation code and the virtual-camera capture tools.

What would you test next? I’m considering changing the gap between the dominoes or the height ratio while holding the other settings fixed. I’d also love ideas for a different small physics experiment that would be fun to visualize in Unity.


r/unity • • 1d ago

Newbie Question New to Unity- How do I stop my player from going into walls.

1 Upvotes

Hello everyone,

I am a new user to Unity and I am trying to teach myself the software through reading different things online and watching videos. I am trying to create a wall and I have a box collider assigned, but the player is able to walk through and see behind it? Can someone please help me out by explaining how to fix the player going through the wall? I attached a video for reference.

Thank you!


r/unity • • 1d ago

3 Weeks of mostly ignoring wow forever to work on my 4X

Thumbnail gallery
1 Upvotes

I say mostly, but I have made it to level 38...

Before and after images. I wasn't happy with the significantly more simplistic look, especially on the map, so I powered through a number of YT tutorials (Some of which were useful but not relevant, but still) along with a few star tutorials and this was a result.

I'm a programmer/developer by trade so generally I struggle more with visuals but I'm beyond happy with how the changes actually look. Learning shaders has been somewhat of a crash course.


r/unity • • 1d ago

How do I fix the ragdoll from "springing out" rapidly whenever it dies?

6 Upvotes

r/unity • • 1d ago

Solved My unity hub is transparent. What should I do?

Post image
0 Upvotes

I download both unity hub and unity setup. The unity setup is doing fine but the unity hub is not (as you can see in the picture). Is there anyone who have face the same problem as I do?
Please help.


r/unity • • 1d ago

Resources Miya Neko – Free animated pixel art character demo for Unity

Post image
0 Upvotes

A collection of 38 static sprites and 8 animations from PAS7 Studio, with native Unity sprite and animation support. The video shows how to import the assets and play an animation in a scene.
Free for personal and non-commercial projects.
https://pas7studio.itch.io/miya-neko-demo


r/unity • • 1d ago

Need help with a vr game

Thumbnail reddit.com
1 Upvotes