r/unity • • 10h ago

Showcase I made a flying & gliding controller in Unity, I'd love your feedback!

Thumbnail reddit.com
1 Upvotes

r/unity • • 11h ago

Game zonk racing: retro gameplay at night, with improved AI

3 Upvotes

r/unity • • 13h ago

Coding Help Seemingly logical code doesnt seem to work

Post image
8 Upvotes

This code is meant to receive 2 fonts, and all the text on the current scene, and then apply the font that isnt active to the text. I have properly assigned the font assets, but when clicking a button what happens is, the font changes to "dyslexiafont" then gives me the debug from the else statement (which is not the dyslexia font) and when clicking the button again nothing happens.

Ive ran this through multiple AI's and they all seem to just slightly edit my code by adding some validation, but that doesnt do anything and any time i explain the issue they just claim ive assinged the fonts wrong, but i have checked multiple times if the font asset is in the right place and it is.

I assume that either i cant apply font like this (but it does apply just once and completely messy)

Or im missing something. Any help is appreciated else ill just pretend it works.


r/unity • • 14h ago

Showcase Unity game INFINITE CHUMP finds a publisher!

9 Upvotes

Happy to add this game to my incredible roster! Go check out the demo on steam


r/unity • • 15h ago

Question Unity & Zeiss Cincraft

1 Upvotes

I’m an audiovisual producer. Is there a way to integrate ZEISS CinCraft with Unity? I need to get it for a virtual production project.


r/unity • • 17h ago

Autumn Vibes only. Looking for quick feedback on my cozy Android Game.

3 Upvotes

Hey everyone! I’m a solo dev working on a relaxing puzzle platformer.

Google Play Link: https://hmd.psee.io/maplefox

I’m looking for a few fresh pairs of eyes to test the current build and tell me:

- Does it run smoothly on your Android device?

- How do the touch controls, puzzle difficulty, and overall cozy vibe feel in the first 2 minutes?

Any honest feedback—good or bad—helps a ton. Thanks for checking it out!


r/unity • • 17h ago

Showcase How to max out the satisfaction from bubble popping in my game? Maybe more impact VFX? Or caustics on the bubbles?

3 Upvotes

r/unity • • 18h ago

Showcase How I sort raycast hits so a click picks the log inside a machine, not the machine itself

4 Upvotes

In my sawmill sim every log is a rigidbody, and most of the time it sits inside something:

a machine, a conveyor, a pile of other logs. My first version used a single Physics.Raycast, so players kept selecting the machine housing or a trigger zone instead of the log they actually clicked on.

What I do now:
- Physics.RaycastNonAlloc with a reused 128-hit buffer (no GC per frame.. enough for big piles)
- sort the hits by distance myself, because RaycastNonAlloc doesn't return them sorted
- walk the hits and take the first collider tagged as a log that has a LogController
-machine colliders and trigger zones don't stop the search, the ray just keeps going through them
- terrain and ground do stop it, so you can't pick a log through the floor
- logs that are already packed in a box, and veneer logs, are skipped
- hover and click use the same resolver, so what lights up is exactly what you click

Simplified, it looks like this:

int count = Physics.RaycastNonAlloc(ray, hits, maxDistance);
System.Array.Sort(hits, 0, count, byDistance);
for (int i = 0; i < count; i++)
{
var col = hits[i].collider;
if (IsGround(col)) break;
if (!col.CompareTag("Stamm")) continue;
var log = col.GetComponentInParent<LogController>();
if (log != null && log.IsPickable) return log;
}
return null;

The biggest lesson.... one resolver for hover and click. Before that, the highlight sometimes showed one log and the click picked another, and that felt like a bug even when it technically wasn't.

The clip shows hover and click on a log in the middle of a running machine.

How do you handle click priority when lots of colliders overlap? Layers only, or something like this..?

(Game, if you're curious: https://store.steampowered.com/app/5037170/Timberline_Factory/)


r/unity • • 23h ago

Showcase I made a simple UI outliner.

Thumbnail redstoneinvente.itch.io
2 Upvotes

YouTube showcase

Hello there, i recently made a small, basic UI outliner for unity. I made it because i needed something like this for my own game. If you ever need something like this, feel free to check the link out, its free.

https://redstoneinvente.itch.io/ui-outline


r/unity • • 23h ago

Showcase Any feedback on my Fishing simulator Sunset?

Post image
12 Upvotes

I'm the solo dev of Maré. I've been developing it without AI for almost 2 years. This is the second section of the game, and it includes this sunset.

Wishlist Maré on Steam pls: https://store.steampowered.com/app/3918760/Mar%C3%A9/


r/unity • • 1d ago

Unity 7 and windows APIs

2 Upvotes

Hello, with Unity 7, when targeting windows standalone, will we be able to consume WinRT APIs directly with C# like UWP or regular WinRT apps, or native C++/WinRT plugins will still be required?


r/unity • • 1d ago

Newbie Question Safe mode

0 Upvotes

I opened my project. I had closed it moments before as i had some problems with building and running my VR project onto my standalone quest. But i go to open my project and it tells me to enter safe mode. What does that mean? And why is it happening?


r/unity • • 1d ago

Showcase I made a bartending roguelite

4 Upvotes

Bartend With Your Friends - It's 1-4 player online co-op with built-in voice chat that makes everyone sound like a robot. Somehow my playtests always end with someone launching things at the customers.


r/unity • • 1d ago

Showcase zonk racing - adding new weapons to my weaponized racing game, adding a saw to destroy the enemies!

4 Upvotes

r/unity • • 1d ago

Showcase Peel off stickers & easter eggs!!

3 Upvotes

The game is called Toss It and it’s factory puzzle game where machines throw crates!
Why not conveyor belts? Because it’s fun…also because belts are not fun to optimize…

Demo is on December 2nd, Wishlists are always helpful! <3


r/unity • • 1d ago

Newbie Question Explain dictionaries.

0 Upvotes

Can someone explain dictionaries to me and how to use/write them including set up and execution.


r/unity • • 1d ago

Newbie Question Cinemachine Camera follow explanation

2 Upvotes

I'm attempting to set up a camera to follow the ball in this shot. I had been trying to use a track, but decided this was a better alternative.

Anyway, I can't get the cinemachine camera to follow the ball. I found this tutorial that showed there was a follow target reference, which isn't there in my version of cinemachine. I'm not sure what I'm doing wrong. I looked for the cinemachine virtual camera component and couldn't find it.


r/unity • • 1d ago

Game Every goal in my football RPG game is now recorded as a GIF you can share. Good idea or pointless?

26 Upvotes

r/unity • • 1d ago

Have you ever done a technical test for a gameplay programmer interview? If so, what did it involve?

0 Upvotes

I'm trying to prepare for future technical interviews and would be interested in hearing about the kinds of tests different companies give candidates.

I'm particularly eager to know whether certain companies have specific types of technical assessments, so I can better evaluate which positions to apply and prepare for based on my current skills.


r/unity • • 1d ago

Las 20 mejores criaturas estilizadas: 20 criaturas 3D listas para videojuegos (GLB + FBX, menos de 15.000 triángulos, muestra gratuita)

Post image
1 Upvotes

r/unity • • 1d ago

using UnityEngine; public class PlayerCar : MonoBehaviour { public float normalSpeed = 22f; public float boostSpeed = 38f; public float turnSpeed = 120f; public float accel = 5f; private float currentSpeed = 0f; private bool boosting = false; private float boostTimer =

0 Upvotes

r/unity • • 1d ago

Help!! Unity ad delivery disabled suddenly

1 Upvotes

Hey everyone,

Looking for advice from anyone who has dealt with Unity Ads suddenly showing "Ad delivery disabled" (with the edit pencil locked) in the Unity Monetization dashboard.

What happened:

  • I run two live Android apps on Google Play (~1,500+ combined DAU) using AdMob Open Bidding, with Unity Ads as my main bidding partner alongside AdMob.
  • Everything was running fine until yesterday, when Unity's match rate suddenly dropped to 0.00%. Checked the Unity dashboard and saw Ad delivery disabled with no warning email beforehand.
  • My app-ads.txt is live and verified, and all ads are standard user-initiated rewarded videos.

What I've done so far:

  • Submitted a Publisher Fraud Appeal ticket under UAds Monetization with screenshots of my AdMob mediation stats and dashboard.

Questions for anyone who went through this:

  1. If you appealed "Ad delivery disabled", how many days/weeks did it actually take for Unity Trust & Safety to reply and re-enable it?
  2. If Unity's automated system flagged a traffic anomaly (like a sudden user spike or accidental test views), do they actually give a second chance and re-enable delivery once you fix your ad-loading setup, or is it usually permanent?

Appreciate any real experiences or tips!


r/unity • • 1d ago

RedditPlaytest from my 3D stealth game course — win/lose logic, audio, and enemy placement complete

Thumbnail youtube.com
2 Upvotes

I'm currently working through a 3D stealth game course in Unity and just wrapped up this stage of the project. I've finished placing the monsters throughout the level and wired up the sound effects along with the win and lose conditions. This clip shows a complete playtest ending in a win.

Now that the core loop from the course is working, my next goal is to figure out how to build and add my own custom level. If anyone has tips on transitioning from course templates to designing original levels in Unity, I'd appreciate hearing how you approached it.


r/unity • • 2d ago

Showcase How I built rounded corners, soft shadows and shine for Unity UI in a single shader (and kept it batching)

Post image
30 Upvotes

I wanted a drop-in replacement for Image that does rounded shapes without 9-slice sprites. Some things I learned along the way:

Corners are an SDF, not geometry. Each image is a quad and the fragment shader evaluates a rounded-box signed distance function. That gives pixel-sharp edges at any size. Per-corner radii are packed as 16-bit values into two floats and sent through UV channels, so they don't need a material property.

Shadows were being clipped. The quad was the size of the RectTransform, so anything drawn outside it (outline, shadow) got cut off. I now grow the mesh in OnPopulateMesh by the shadow's offset + blur + spread, and the shader draws the shadow from the same SDF, offset and softened.

Effects broke batching. At first every image with an effect created its own material instance, so 20 shadowed buttons meant 20 draw calls. Now materials are pooled by their effect settings with ref counting, so images with identical settings share one material and batch. The shine also animates in the shader instead of writing to the material every frame.

Masking edge cases. When a rounded image is itself a Mask (e.g. a circular avatar), it should mask only the shape, not its shadow. The shader keeps the shape's alpha separate for alpha clipping.

Clicks. IsRaycastLocationValid uses the same rounded-box math, so clicks outside the corners or inside a ring's hole are ignored.

Still on my list: a public scripting API, and moving animated values into vertex data so tweening them doesn't create new materials.

Happy to go deeper into any of this!

Feedback welcome!

GitHub (MIT): https://github.com/berkencami/round-ui-unity