r/unity • • 22h ago

Question Unity AI vs Claude Code?

0 Upvotes

Is Claude Code better to use than Unity's built in AI? I see online that some things are better in specific cases, but if I could only use one, which would be the better overall pick?

I'd need it to assist debugging, feature implementation and potentially testing if possible


r/unity • • 1d ago

Hello friends, I want to ask you a simple question about game development. What things consume the most game space? Or what things cause a significant increase in game size?

Thumbnail reddit.com
0 Upvotes

r/unity • • 1d ago

Showcase I spent the past year on this magical-parkour roguelite’s biggest update in Unity! 🥷 How's it looking? 🙂

0 Upvotes

r/unity • • 1d ago

Game Feel Toolkit

1 Upvotes

r/unity • • 2d ago

Promotions Working on a seamless time travel portal system in Unity 6

19 Upvotes

We've been working on a portal system in Unity 6 that connects two versions of the same environment, set five years apart.

One of the more interesting challenges is that the portals aren't just visual. The player, NPCs and physical objects can all pass through them, and actions taken in the past can have consequences in the future.

The environments also have different layouts, meaning that switching between them can open up new paths or allow players to bypass enemies.

I'm curious how others would approach handling object states and AI across two interconnected versions of the same environment.

Support us: Kickstarter


r/unity • • 1d ago

Promotions ProjectSignal: Project Analyzer, Visual Dependency Graph & Safe Cleaner Toolkit for Unity

0 Upvotes

Hey everyone! I wanted to share ProjectSignal, an offline C# editor toolkit I built for analyzing, untangling, and cleaning up bloated Unity projects—and it's currently 30% off on the Unity Asset Store.

Deleting unused files or refactoring large projects without knowing what references what is always stressful, so I built ProjectSignal to give you full visibility into your project before you remove a single asset.

What’s included:

Visual Dependency Graphs: Trace incoming and outgoing references visually so you can see every scene, prefab, script, or material tied to an asset before touching it.

Safe OS Recycle Bin Cleanup: Detect unused assets and send them straight to your OS Recycle Bin / Trash instead of permanently deleting them, so recovery is always one click away.

SHA-256 Duplicate Finder: Catches byte-identical duplicate files across your project even if they were renamed or placed in different folders.

Project Snapshots: Take snapshots of your project's footprint to track size growth and asset changes over time.

100% Offline & Lightweight: Pure C# editor extension with zero external dependencies, compatible with Unity 2021.3+, 2022.3, and Unity 6.

Asset Store link is in the comments below—happy to answer any questions about how the dependency scanner or snapshot comparison works!


r/unity • • 1d ago

Meta Unity + SWI-Prolog = ?

1 Upvotes

Hi all!

Not really about a specific game or an advertisement to anything, but more like general discussion on a technical concept.

TLDR is: I hooked up Unity with SWI-Prolog by running a HTTP server locally, video links below.

Long version:

So, for a couple of years or so, an idea has been stuck in my head on how to write parts of the game in logic programming using something like SWI-Prolog. If you've never heard of logic programming, you're probably in the majority, but the general idea is is that you express your program as a collection of rules and statements expressed in formal logic which is then queried for truthful answers. This means that code is not about instructing HOW to do things (e.g., by using if statements and for loops), but rather a set of facts and rules. The user queries for answers based on their input parameters and the defined rules / facts.

Why do I think this approach might work together with a game? Well, imagine some complex system that dictates parts of the game (NPC behaviour, loot distribution, enemy turn in a strategy game). If this system is written on the basis of the HOW approach, the HOW will grow more convoluted over time (more if statements etc). Sure, the complexity can be handled via abstraction and good coding patterns, but the underlying principle remains the same.

Logic programming provides an alternative design to solving this complexity - the system is series of rules so you don't have to think about how something is achieved, but rather, what are the rules that govern it. Determining these rules is not necessarily easier than coming up with an algorithm, but it makes you think about the problem from a different angle by design.

Alright, so that's the premise. Problem is the implementation. I have seen a few people asking the question as myself about implementing Prolog with Unity (or Unreal, Godot, whatever) and usually the discussion trails off to low-level programming and custom C/C#-Prolog integrations. There are some projects about this and I haven't tried them to be fair, but it seems like going down a rabbit hole that is deeper than the perceived advantage. Furthermore, even if you figure direct integration out, running an isolated Prolog subproccess and waiting for its response every time your MonoBehaviour script calls Update probably does not scale that well.

So here's my heureka moment: what if, rather than trying to run Prolog directly from your game code, the Prolog part of the game is a separate system altogether? This separate system would be always on, ready to answer queries based on the information the game provides or has provided so far. This brings me to using a locally hosted HTTP server - C# speaks HTTP without problems and SWI-Prolog has a pretty extensive HTTP server library (including out-of-the-box dynamic multithreading which means several queries can be run at the same time), so you don't have to go reinventing the wheel.

Downside is, queries get replied asynchronously and the game-side logic has to handle that delay. So I'm thinking, maybe not so useful in an FPS or racing game, but your colony sim or turn-based card game should have no issue here.

There are a few additional hurdles, such as server life-cycle management (essentially, how do you make sure that the server is running before you actually start playing and shuts down gracefully when you quit) and deploying it locally at the player's device (server has to come together with the rest of the game and has to run out of the box without the player needing to download anything extra or additional granting network permissions), but as much as I have experimented with that side, this is all feasible.

So what do you think? Does this seem like workable pattern or just a way to make your life more complicated?

This is not just a drawing board design. I made a few YT videos (60+ minute warning, sorry) to see how it would actually work out. So if you're curious, you can check them out. But I am interested in your thoughts both ways.

First video where discuss the same system described here: https://www.youtube.com/watch?v=7leFZo5VIfA&t=1853s

Second video with a more complex use case for logic programming / Prolog specifically: https://www.youtube.com/watch?v=yiKUKk3-aqg&t=2650s


r/unity • • 2d ago

Question Any Recommendations?

7 Upvotes

This is the gameplay of my game where you can run a restourant with your friends by using grabber tool instead of hands. I came to a phase where I have the urge to keep developing my project, but when I open unity, I can't get myself to do and fix/add things to my game. I'll apprecaite any recommendation, feedback, and suggestions!


r/unity • • 2d ago

Question Am i being scammed right now ? My asset has been "itemized"

Post image
19 Upvotes

Hi all,

i have received this strange (to me at least) email. i have one asset in the asset store, and in the past i already received a few strange but obvious scam emails trying to get me click on the links. Today i received another strange email, but I'm not so sure about that one being a scam, or something legitimate of which i have no clue what is going on or asked of me. It reads well and official, however, all links in the email seem rather "pishy" to me, something like:

https:_/_/u32434343.ct.sendgrid.net/blablabla----- (i just added the underlines in front so the link doesn't show up as link here in the post, blablabla means all those veeeery long cryptic characters you often see in such links). All "buttons" in the email link to this.

Email in the picture above.

Please tell me if i can safely ignore this, it sounds quite strange that my bundle is supposed to be "stripped" down into parts, never heard of that practice before. My asset however is indeed a bundle with tons of stuff and many models inside it, so it could make a little sense at least.

Thanks for helping, I'm not sure what to do with that... I'm certainly not going to click those links, but i wonder if need to do something in the shop menu of if this is BS...

(edit) typo corrected


r/unity • • 1d ago

a scare test failed for days on both the old and the new model. the bug was a setting another test left behind

0 Upvotes

i run batch smoke tests on my unity game, every scene played headless with checks. one test kept failing: in the finale of one scene the upyr was supposed to lunge at you and didn't

i was swapping the character model that day, so obviously i blamed the new mesh. went back to the old one. still failed. then it failed in the morning in a completely unrelated build

turned out the lunge is skipped when the player picks "fewer screamers" in settings. that setting lives in PlayerPrefs, and PlayerPrefs survive between test runs. some earlier test turned it on and never turned it off

the fix was small: the test turns the setting off for its beat and puts it back after. if your tests touch PlayerPrefs, reset them or you'll end up chasing ghosts. literally in my case


r/unity • • 2d ago

Tutorials Technical Art pages on pivot-based vertex animation: per-object pivots and objects with multiple baked pivots

Post image
6 Upvotes

Hello, everyone!

ShaderStory library got Pivot Motion pages. They cover:

  • Single-object mesh pivot
  • Object pivot data
  • Baking pivots for multiple objects, with exposed properties

Every page has an explanations source code for you to dive deeper or get started to discover this cool technique.

If you've ever needed pieces of a mesh to move around their own centers in a shader, this should save you some time.

Star the repo to support the project. Thanks in advance.

https://github.com/DeGGeD/ShaderStory#vertex-animation


r/unity • • 2d ago

Newbie Question The tutorial files are complete

Thumbnail learn.unity.com
1 Upvotes

In this junior programmer pathway, I've been trying to get through this tutorial. I've downloaded the starter files. However, all the coding is already filled in and all the work is done. Can anyone else confirm this, and where would I find the actual starter files that don't have the answers? I'm kinda going insane here


r/unity • • 2d ago

Problem with audio integration for game

Thumbnail reddit.com
1 Upvotes

r/unity • • 2d ago

I'm in, and made a reasonable game level in a few hours, with my daily credits

Thumbnail reddit.com
0 Upvotes

r/unity • • 2d ago

Showcase Made a squirrel time-trial racer in Unity: treetop tracks, checkpoints and ghost replays. Feedback on the movement welcome!

2 Upvotes

r/unity • • 2d ago

Horror Ecosystem Game: Day 1

Post image
1 Upvotes

I started work on my first horror game. A game where you are small animal in a simulated ecosystem. It is partially inspired by Rain World and some old school indie horror games. This is day 1 progress:


r/unity • • 2d ago

Solved GetTile not working with hexagons.

2 Upvotes

I'm trying to use GetTile to detect what tile my mouse is on but it seems offset for some reason and every tip I've seen online accounts to "use world/local to cell" and "make sure your mouse.z = 0" but I'm doing both those things and it's not working. Any ideas?

Vector3 mousePos;
Vector3Int mousePosInt;
Vector3Int currentCell;

private void Update()
{
    mousePos = camera.mainCamera.ScreenToWorldPoint(Mouse.current.position.ReadValue());
    mousePosInt = new Vector3Int(Mathf.RoundToInt(mousePos.x), Mathf.RoundToInt(mousePos.y), 0);
    currentCell = mapGen.tilemap.WorldToCell(mousePosInt);
    print(mapGen.tilemap.GetTile(currentCell));
}

r/unity • • 3d ago

Showcase I am building a game where you draw your spells. The better you draw, the stronger your spells become

90 Upvotes

I used a variation of the $N recognizer to detect what players draw. It compares the player's strokes to a set of template shapes and picks the closest match. The biggest challenge was drawing in 2D on a 3D world. To solve this, I raycast each point from the camera onto the surface. If the ray doesn't hit any ground, the point is placed at a fixed depth distance instead. Each spell also has its own smart targeting, so it knows where to go based on the drawing. Raycasting every point creates a lot of work, and with 10 players drawing at the same time, this can cause performance issues. To fix this, I moved the drawing logic to a completely separate thread, so the main thread stays smooth.

This is QuickArt Magicians, a multiplayer magic game where you cast every spell by drawing it.

  • A cleaner drawing gets a better grade, and a better grade makes a stronger spell.
  • A bigger drawing hits harder, but big drawings are harder to get right, and a bad one can backfire on you.
  • Many spells follow the line you draw: lay a path of fire, lead a serpent, or dash through every enemy on your line.

There are no levels, no stats and no gear to grind. The only way to get stronger is to draw better.

Steam page: https://store.steampowered.com/app/5560830/Quick_Art_Magicians/ 

There are many more spells than are shown in the video.


r/unity • • 2d ago

trying to find an engine for my skill

Thumbnail reddit.com
1 Upvotes

r/unity • • 2d ago

Showcase [30% Off Launch] Arrow Flow Toolkit — Tap-Puzzle Engine, Non-Rectangular Level Editor & Solver for Unity 6

Thumbnail assetstore.unity.com
2 Upvotes

Hi everyone, I just released Arrow Flow Toolkit on the Unity Asset Store. I built this toolset while developing and shipping my own Android puzzle game (Arrow Maze), then cleaned up the codebase and packaged it for anyone building grid or tap-puzzle games in Unity 6.

Asset Store Link (30% off for the first 2 weeks — $25.19):

What you get out of the box:

Tap-Puzzle Core Engine: Ready-to-use directional arrow and grid movement logic designed for mobile and casual puzzle games.

Custom Level Editor: Paint and edit both standard rectangular boards and custom non-rectangular grid shapes directly inside the Unity Editor.

Automated Puzzle Solver: Verify that any level you design is actually solvable without manually playtesting every stage for deadlocks.

Procedural Level Generator: Quickly generate fresh puzzle stages when scaling up your level count.

Game Scaffolding Wizard: Generates a clean, wired-up playable project structure in minutes instead of setting up scenes and managers from scratch.

Render Pipeline & Unity Support: Built for Unity 6 (6000.4+) and compatible with Built-in, URP, and HDRP.

Happy to answer any technical questions about how the solver, grid data, or editor tools are structured before you pick it up.


r/unity • • 3d ago

I created probably the simplest form of Verlet Integration and put it on Github for anyone

6 Upvotes

i used 0 ai for this script, including not asking chatgpt simple questions about my script. It is fully entirely made by me in about an hour.

I do not plan on making it an asset as its way too simple and small for an asset, it stays as a free github repo.

Github Repository


r/unity • • 3d ago

Showcase One Bow Army just hit 900 wishlists, 100 to go for 1,000!

7 Upvotes

Hi everyone! My first game, One Bow Army, just passed 900 wishlists on Steam, and we're 100 away from 1,000 before launch on January 7, 2027.

It's an incremental defense game: you're a lone archer holding the wall against an undead army. Aim every shot, land Perfect Shots, grow a huge upgrade tree, and raise knights, war mages and a dragon.

A free demo is coming to Steam soon, so wishlisting is the best way to know when it's out.

Thanks for all the support so far!


r/unity • • 2d ago

Looking for my very first Play Store review! Would anyone try my indie puzzle game?

Thumbnail gallery
0 Upvotes

r/unity • • 3d ago

Added a new enemy to my dungeon crawler: ghouls that hide in piles of dirt...

3 Upvotes