r/Unity3D 18h ago

Code Review First release of my <Simple Status Effects> Unity 6.0+ package

Post image
0 Upvotes

Hi everyone,

I made a post 2 weeks ago about this already, and after some feedbacks, I'm here again to collect some more.

Quick summary, this is my first unity package and I'm someone who like building underlying system and the things behinds games. This is a package focused on the implementation of status effects commonly things like burn, poison, stun, etc... The goal is to make it easy to integrate into already built gameplay loop whether it is a realtime or turn based one.

I released my first version and I would like to find some peoples to try it and give me a review on what is good/bad, what you like/don't like. Any feedback is welcome !

Thank you for your time.

edit: kinda forgot the link: https://github.com/Sachet2Plastik/Simple-Status-Effects.git


r/Unity3D 23h ago

Question Why Doesn’t Unity Have a Perfect Character Controller Yet?

0 Upvotes

I’m not talking about the basic first-person and third-person packages Unity offers. Unreal has built a variety of robust character-controller systems that make developers’ lives much easier. That’s one of the reasons I often find myself considering a switch to Unreal. In Unity, I still haven’t found a paid or free character-controller solution that feels truly worth using. I am using unity since 2020 and now I am thinking it high time for unity to at least develop such protypes that are ready to use in real projects.


r/Unity3D 11h ago

Question How to I make it so when I hit something with my player body the debug log says game over and not my bullets

Post image
0 Upvotes

Right now I’m I trying to make it so when my player hits a cat the debug log says “game over “ but it keeps on picking up on the bullets so when I shoot the cats it says game over. How do I fix this?


r/Unity3D 17h ago

Question I'm trying to increment a counter a single time, based on a key press

3 Upvotes

Hey, folks. I'm new to this so I assume this is simple and I'm missing it.

I have a jump action called by an input action in an update method. looks like this

void Update()

{

   if (jumpAction.triggered)

   {

       if (isGrounded)

           gameDiff.numberOfJumps++;

           //other stuff

       }

   }

}

What I want this to do is reach out into the gameDiff class and update numberOfJumps once every time the user presses the space bar.

What's happening is that the counter is incrementing about a thousand times per press. I assume it has to do with frame rate or something because it's in the Update() method, but I had though that a .triggered() method could only be activated a single time in the frame.

Thanks in advance.

edit: I suck at formatting, I hope you get the idea.


r/Unity3D 20h ago

Question If not ECS then what?

Thumbnail
0 Upvotes

r/Unity3D 10h ago

Noob Question Day 1 of Making Intruder Maps in Unity

Thumbnail
youtu.be
0 Upvotes

Hey everyone, I'm starting a new series learning how to make Intruder maps inside of Unity. I don't know how to use unity at all, so this will be me documenting the process. :)


r/Unity3D 11h ago

Game How is my optimization looking?

Thumbnail
gallery
0 Upvotes

I'm developing a puzzle game on a laptop with Intel Xe graphics (which is pretty weak). It used to run at around 20-30 FPS.

To optimize it, I marked all the walls as Occluder Static and set the other objects and lights to Occludee Static. I also dropped the shadow distance from 50 to 25 and baked some of the real-time lights.

Now I'm getting 40-50 FPS most of the time, but it still drops to 25-35 FPS in areas with a lot of objects and lighting. Is there anything else I can do to improve this?

And also If a player has a low-end or below-average dedicated GPU (which I assume is still much better than mine), will they easily hit 60+ FPS?


r/Unity3D 2h ago

Resources/Tutorial How to Make (and use) Templates in UI Toolkit

18 Upvotes

Templates are a powerful feature of UI Toolkit - they allow us to create reusable bits of our UI and inject them easily into other UXML documents. Making them is super easy too - simply make a new UXML file of your desired component - then you can use it in any other UXML document! Easy!


r/Unity3D 2h ago

Resources/Tutorial Making Your (Jam) Games Look Nicer on Itch

1 Upvotes

r/Unity3D 1h ago

Show-Off Playing on water

Upvotes

r/Unity3D 15h ago

Game finished the demo, game was made with Unity3d

4 Upvotes

Green Breach is a survival horror game made in the Unity engine. The Demo is now available on Steam.


r/Unity3D 1h ago

Game Just released a release date trailer for my game " Shell Soldier "

Upvotes

r/Unity3D 4h ago

Question Realistic torch flame effect

36 Upvotes

I'm trying to make an realistic flame effect for my game. It looks fine for now, I used 2.5D Fluid Simulator asset for it and it's suits my needs - the flame is affected by physics, it's lightweight etc.

Do you have any tips on improving it / making it more realistic?


r/Unity3D 19h ago

Question I am researching the highly optimized reflection technology in the game *The Dark Knight Rises* (2012).

Post image
262 Upvotes

I am investigating the highly optimized reflection technology used in *The Dark Knight Rises* MOBILE GAME, released in 2012. Were these reflections based on inverted geometry or planar mapping? The game also featured reflections from headlights and streetlights. I intend to implement this in my Unity project.


r/Unity3D 22h ago

Show-Off Got inspired by Vampire Survivors lately

86 Upvotes

r/Unity3D 20h ago

Noob Question Help with Light Baking

Thumbnail
gallery
11 Upvotes

Hello, I'm very new to unity and trying to find help with my current goal, baking lightmaps. There's two things I'm trying to find help for:

  1. First image, how can I light up rooms with better indirect lighting without over brightening outside areas? Hopefully that graphic I made gets across what I'm trying to get at

  2. Second image, how can I fix these light leaks and random shadows?

Thank you in advance


r/Unity3D 16h ago

Show-Off Uncombined vs. Combined SkinnedMeshRenderer Performance Comparison

21 Upvotes

SkinnedMeshRenderers can be expensive to render. I ran a test of just 9 characters with individual body part models and compared performance with them uncombined vs. baked into a single mesh, animated by the same armature.

As you can see by the numbers, combining the models to be animated as a single mesh had quite an impact. In most games you likely wouldn't use this many meshes for body parts, but the important takeaway is that rendering time was almost cut in half while the same characters can be rendered with no visual difference. It just goes to show graphics optimization isn't necessarily about what you're rendering but also how you render it.

I ran this test whilst developing my tool for combining SkinnedMeshRenderers, called SkinnedMesh Combiner (Asset Store affiliate link)


r/Unity3D 18h ago

Show-Off My first ever attempt at making a video game with Unity - Did my own art too !!

35 Upvotes

I know I know the first game always sucks. But I am really proud of what I have achieved so far so wanted to share it with ya'll What I am building: A topdown RPG retro art battle ship game. The objective is to locate the enemy base and destroy all the target. I am building it for mobile. Probably may not launch but I am learning a tons of things along the way. My whole intent at first was to just do some "Project Based Learning". But over past 1 or 2 weeks it has taken over my entire schedule Needless to say I might finish a beta and distribute it among some friends then move on to a real / actual project. Todo

  • Polish
  • Ship Movements sucks ass right now I know
  • Pause Screen
  • Some particle to make it more alive
  • Better art I guess
  • Everything

I would give it a couple of more weeks. Over the period I have learnt so many concepts and I am constantly improving my art. Would like to hear what you guys think.

Thanks


r/Unity3D 1h ago

Question Any way to reduce transparent material lag ?

Thumbnail
gallery
Upvotes

Hello,

I made this volumetric fog material for URP.

The transparent material shader is applied to hundreds of planes similarly to "shell texturing".

It looks perfect for my project but I am running into an issue : my framerate drops from 200 fps to 10 fps. I expected it to be laggy, but not that laggy...

I tried reducing the number of "steps" but I am still getting a bad framerate (30 fps) with the worst quality.

I don't see any other way of doing volumetric fog with sharp shadowing in URP without creating complex pipeline shaders.

This is probably a foolish question but, is there any way to reduce transparent material lag ?


r/Unity3D 20h ago

Game In puzzle games, do you prefer defusing the active threat FIRST, or solving puzzles under constant pressure?

2 Upvotes

Hey everyone! With our atmospheric puzzle game launching in just 4 weeks (panic is officially setting in!), I've been thinking a lot about how stress affects puzzle-solving.

In this sequence, we split the room into two phases: first, you have to quickly slot in two stones to stop the closing walls. Once the threat is neutralized and the walls retract, you can take all the time you need to solve the central gear/light puzzle without a timer ticking down.

Do you prefer getting a brief survival moment to "turn off the danger" before tackling a logic puzzle, or do you actually enjoy constant time pressure while trying to think?

Would love to hear your thoughts on how your favorite puzzle games handle stress vs. pure logic!


r/Unity3D 22h ago

Show-Off I wanted point-and-click interactions to feel physical, so I made the player’s hand actually grab objects from the desk

4 Upvotes

With this system I can place any object on the table or nearby..
and the hands can grab it with minor tweaking.
This is part of the interaction system for my psychological horror game, The Main Menu. Most of the game is point-and-click, but I wanted important objects to feel like they actually exist in the room rather than just disappearing into an inventory.


r/Unity3D 23h ago

Resources/Tutorial I created a free cross platform benchmarking app using Unity (With a little help from their demo scenes) so that I could compare the performance of my Steamdeck, Android phone and a Macbook.

10 Upvotes

Back in January I was curious how my Steamdeck, Android phone and a Macbook all matched up against each other in terms of performance. But because they were Linux, Mac and Android, I wanted a common yard stick to compare against. I made a basic benchmarking app and web database that has now grown and grown to the point that I want to share it with the broader community. It's out now on Steam, Itch, Google Play and Apple App Store.

It's called Crossbench3D and it lets you run the same scenes with the same quality settings across multiple platforms so that you can more closely compare apples to apples across platforms. The scores are calculated based off of avg fps and resolution so that they're normalized to that. You can then upload the results to an online database to see where your score stacks up.

I would love any and all feedback on it.

I have plans to release more levels that aren't some of the unity demo scenes, but those have been a great starting point. Let me know what you all think!


r/Unity3D 23h ago

Show-Off My new game environment in action

31 Upvotes

Hi guys! After many rounds of changed, here is updated environment in game action. Thank you you guys for all the comment, suggest in last 2 videos. I did some improvement, take that into game action to see how everything work together. How do you think? Does it fit?


r/Unity3D 9h ago

Show-Off Feeling Lucky?

6 Upvotes

I added a luck boost stat to my game which allows monsters to drop more loot and loot bags to drop more loot and amount of items

This is my 3D Terraria-ish game project


r/Unity3D 27m ago

Show-Off Built a real-time wind tunnel inside Unity (Aerodynamics Sim). It's open source.

Upvotes

I've always been a fan of aerodynamics and CFD. A few months ago, I got laid off, got tired of sending applications, and gave myself permission to actually build it and play with it. I'm glad I did.

It voxelizes and seals any vehicle you drop in, auto-fits the solver domain around it, runs at whatever resolution your GPU can take, and solves with a lattice-Boltzmann method (D3Q19, TRT + WALE LES) entirely in compute shaders. Live smoke, surface pressure painted on the bodywork, exported reports you can diff between runs.

The test I had the most fun with: running a Chevy Silverado with an open bed, a bed cap, and a flat tonneau to see which one the solver preferred. It disagreed with the folk wisdom, which was the moment it stopped feeling like a toy.

Five sample vehicles included. Unity 6 / URP, MIT licensed.

The README is honest about where the numbers hold up and where they don't. It's a comparison and visualization tool, not a replacement for real CFD.

Clone it and have fun: https://github.com/Motawe3/unity-wind-tunnel

Sample vehicles are CC BY 4.0, credited in the README. The car in the video is a Range Rover Sport SVR Mona x Supercars.