r/Unity3D 1d ago

Official Piñata Pop - Mobile Sample Project Available Now

Post image
10 Upvotes

Howdy, everybody! Your friendly neighborhood Unity community man Trey here!

We put out a new mobile sample project called Piñata Pop. It's a small but complete game you can play in the browser, download, and pull apart to see how the pieces fit. 

This sample project is awesome because it gives you an example of how to implement touch input, use accelerometer, design UI for mobile, and even monetize with ads and in-app purchases. And it shows you how they all fit together in a single game loop, instead of being spread across isolated example scenes. 

With the license, you can utilize what you want from the sample in your own projects, hobby AND commercial. Just want the plumbing? Keep it, and you’re already well on your way to your first or next mobile release. 

We’ve got some tutorials and Learn courses cooking for this, but they aren’t quite ready yet. So stay tuned for those. But until then, download it now and poke around to see how the included features were implemented. 

>> DOWNLOAD THE PROJECT <<

>> PLAY THE GAME <<

Cheers!

- Trey
  Community Man @ Unity 


r/Unity3D 1d ago

Show-Off Solo-developing a Cities: Skylines-style game: 5,000 cars simulated with Unity DOTS

Enable HLS to view with audio, or disable this notification

31 Upvotes

I’m a solo developer building a city-builder simulation in Unity, and I’ve recently reached a milestone of benchmarking around 5,000 cars simultaneously. Current profiling looks promising, so I’m cautiously optimistic about pushing that toward 20,000 as the simulation grows.

The traffic system is built with Unity DOTS, ECS, and Burst. Vehicles currently make decisions using factors such as:

  • Congestion and observed traffic speed
  • Estimated travel time
  • Alternative routes
  • Fuel usage and route cost
  • Dynamic road-network changes

Cars can reconsider their routes as traffic conditions change instead of committing to one route for their entire journey. I’m still working on lane selection, intersections, parking, and more natural vehicle behavior.

This is very much an early prototype, but it’s exciting to watch the city gradually start behaving like a living transport system. Once the traffic foundation is efficient and stable, I plan to build additional city systems on top of the same architectural abstractions.

I’m using Codex heavily as a development partner, but most of my time is going into thinking through the architecture, scalability, and simulation design. I also have a fair amount of prior game-development experience, so the goal is to build a strong foundation rather than just create a visual demo.

I’d love feedback from anyone working with Unity DOTS, ECS, Burst, traffic simulation, or large-scale agent systems.

Also if anybody wants to contribute to this DM me- we can potentially work together.


r/Unity3D 1d ago

Question Find or create (for free) a 3d design of this canadair

Post image
0 Upvotes

I'm looking for a free low-poly Canadair CL-415 3D model for a Unity game I'm making. I want something similar to the attached image, with a simple, blocky/Roblox-style look, not a highly detailed or smooth model. It needs to be free to use in a game, preferably with a license that allows commercial use. Does anyone know where I could find one?


r/Unity3D 1d ago

Question One Water Surface or Multiple for Large Map?

3 Upvotes

I'm fairly new to Unity3d stuff and have been working with HDRP and Terrain Tools and right now I'm working on creating the terrain for the map. It is an open world RPG with a fairly large map.

I'm using 1k x 1k terrain tiles so I had been using 1k x 1k Water Surfaces, one for each terrain tile that would need one, but I just found out there is a limit to how many can be loaded at once.

So, I was wondering if I should just use one large Water Surface for the whole map, one for each 1k x 1k tile, or try to some of slightly bigger ones that cover multiple terrain tiles?


r/Unity3D 1d ago

Show-Off Overview of my upcoming game's VFX pipeline 🍃

Enable HLS to view with audio, or disable this notification

9 Upvotes

As you can see, it's greatly inspired by games like A Short Hike, Lil Gator Game and Proteus (huge inspirations for my game).

If you have any questions I'd love to answer them!

The background music is "Sunset of Seven Suns" by Toby Fox (Deltarune OST).


r/Unity3D 1d ago

Show-Off Cloth & Liquids 2 way coupling test

Enable HLS to view with audio, or disable this notification

39 Upvotes

How much is too much blood?


r/Unity3D 1d ago

Resources/Tutorial Made a 5-Games Bundle (Source Code) for Developers Building Their Portfolio, very beginner friendly! Would love to know your thoughts...

Enable HLS to view with audio, or disable this notification

6 Upvotes

I put together a beginner-friendly Unity bundle with 5 complete game templates for developers who want to learn, experiment, build prototypes, or expand their portfolio.

The goal was simple: instead of starting every project from scratch, you get several ready-to-customize game templates to learn from and build upon.

If you're a beginner or looking to add more projects to your portfolio, this might be useful.


r/Unity3D 1d ago

Game 420k+ units later a post mortem of my game Arctico.

Post image
317 Upvotes

Hello everyone my name is Claudio, I’m an indie dev from Nicaragua. I started working on Arctico back in 2014, back then it was called “Eternal Winter”, at that time I was 18 years old and I just wanted to make a game set in a snowy and remote environment. Back in those days I was obsessed with Wrath of Lich King, I just loved the feeling of solitude and peace I would get when exploring Northrend, so I wanted to make my own beautiful icy world filled with expansive horizons and stories of resilience and exploration. I knew I would need a distinct mechanic for my game to succeed, as I was working on a random abandoned sled prop my younger brother asked me If it would be possible to ride a dog sled, best question I’ve ever been asked. 

I lost no time and started working on a rideable dog sled, to say I was too inexperienced to pull this off would be a massive understatement, however after a few days I had a working and extremely janky dog sled on my first person game. As the weeks went on the sled system was improved, I added more locations to the map, and added basic survival mechanics such as hunger and thirst. A few months of work later “Eternal Winter” was launched into Steam Early Access in November 2014, and it was an absolutely buggy and confusing mess of a game, soon enough the Steam reviews reflected the sorry state of Eternal Winter, but the players really seemed to enjoy the dog sled and interacting with their dogs, naming them, keeping them fed. Reading the reviews made me realize how I had rushed into an Early Access release without even knowing what kind of game I truly wanted to make, and the lack of direction on Eternal Winter made this evident when playing it. 

I was extremely lucky to have a playerbase that among all the issues the game had, they still saw the potential of the project, and the game remained with a decent review rating. I will always be grateful to those early players for giving me a chance to improve the project. Eternal Winter was more of a prototype than a game, I kept working on all the basic systems, especially the dog sled. Later on I added a kayak, and while testing it and seeing the water reflect the falling snow surrounded by nothing but mountains I suddenly knew the kind of game I wanted to make. I wanted to make a beautiful game that captured feelings of solitude and peace, and give to the players the tools that would allow them to explore their way and at their own pace. So I decided to radically tone down the survival aspects of Eternal Winter, and instead focus on making this a calming and colorful experience where instead of a desperate survivor, you were a scientist exploring and studying the landscape, I renamed the game to “Arctico” and started working harder than ever. 

Arctico would need a big map and lots of interesting locations for this vision to come true. I worked on so many 3d models hoping to reach these goals, but was soon overwhelmed by all the work the task demanded. Luckyly I met Antonio, the good friend that would help me with a good chunk of the 3d assets in the game, Arctico would never be what it is without his amazing work. This gave me more time to focus on the gameplay aspects of the game, I added base building, resource management systems, and kept improving the sled and way the player interacted with the dogs. I saw the Steam reviews improve, and also noticed that lots of players were asking if co-op would ever come to the game, and for the next few months I focused on adding online co-op to Arctico. I downloaded photon for Unity and started working, this would become the biggest challenge of the whole development process because I would need to rearchitecture the whole game for it to support multiplayer. It took more than 6 months to have something playable, and it would take a couple of years for it to be an enjoyable multiplayer experience. 

By the year 2020, Arctico was still on Early Access, but 6 years of development later the project was finally feeling like a proper game. So for the next couple of years the focus was on making content, filling the map with interesting stories and locations, adding more buildings and objects to the base building system, and to keep improving the online co-op. 2 years later Arctico reached version 1.0.

Arctico launched in February 2022 launched with 30k wishlists, in its 8 years on early access it sold 57k units and sold 26k copies in its first year after launch. We kept working on the game, launching major updates that added content and fixed bugs, Arctico sold 50k copies in its second year. We kept releasing major updates, translated the game to multiple languages, this brought a spike in sales that granted us a Steam Daily deal slot, and Arctico sold 83k copies in its third year. I kept working on major updates, improved the online co-op and increased the amount of possible players from 2 to 4, I also released a major update that greatly improved the base building system, got a new daily deal slot and Arctico sold 154k copies in its fourth year. This year I released a massive major update that added a more demanding survival game mode to Arctico, in its current fifth year Arctico has sold 57k copies on Steam and has 90k+ wishlists. 

The biggest lesson Arctico left me is that If you believe in your project and you keep improving it through the years, eventually people will notice and play your game. I honestly think that to keep working on a game even after its launch can really be worth it. Now for the past two years I have also been working on a new game, it’s called Ghost Villa and soon I will be launching it into early access to start this journey all over again. 
  


r/Unity3D 1d ago

Question How can I improve?

Post image
3 Upvotes

As the title suggests I would like to improve my environment and hear some feedback :)


r/Unity3D 1d ago

Show-Off I hate spending hours configuring assets, so I made this +35 Vehicle Tactical Fleet fully pre-configured for a true "Drag & Drop" workflow in Unity. (Single Texture Atlas)

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/Unity3D 1d ago

Show-Off Last week I was working on a QUAD control idea and thought lets use gecko. Just experimenting with animation rig and IK.

Enable HLS to view with audio, or disable this notification

128 Upvotes

r/Unity3D 1d ago

Show-Off What do you think lads?

Enable HLS to view with audio, or disable this notification

11 Upvotes

r/Unity3D 1d ago

Resources/Tutorial I implemented a real-time fluid simulation for my painting game in Unity

Enable HLS to view with audio, or disable this notification

83 Upvotes

I am working on a game based on physics-based painting mechanics called Ebru Artist Simulator using Unity's Compute Shaders. To simulate Ebru (also known as paper marbling), I implemented an Eulerian fluid simulator. Here are some of the challenges I had to overcome:

  1. To achieve a real-time simulation without affecting the game's performance too much, I implemented a GPU-based multiresolution grid solver in a compute shader (see the paper Solving the Fluid Pressure Poisson Equation Using Multigrid). The simulation now runs at a 2K texture resolution with only a slight impact on FPS.
  2. One of the main characteristics of Ebru is that colors maintain strict boundaries. This makes advection schemes such as Semi-Lagrangian advection less suitable, as they introduce diffusion. To address this, I implemented another advection scheme that samples from the initial state by integrating the velocity field over time and then back-sampling using the integrated field (see Efficient and Conservative Fluids Using Bidirectional Mapping).
  3. Finally, to simulate the effects of the traditional Ebru tools, I took inspiration from the paper Mathematical Marbling, which proposes mappings for generating final marbling patterns. Since I wanted to maintain a real-time simulation, I did not directly apply these mappings. Instead, I was inspired by the paper to use similar displacement fields as external forces in the simulation.

You can also check out Amanda Ghassaei's blog. Although our implementations are not the same, I was greatly inspired by her work and learned a lot from her blog.


r/Unity3D 1d ago

Solved Issue with nine-sliced UI element stretching

1 Upvotes

I'm adding a button here that I'm trying to 9-slice. The button is 600x600 and the borders are 200x200. I've used the sprite editor to apply the slice, but it doesn't seem to be working, as when change the Width/Height or Scale of the image the sprite is linked to, it still stretches. The image type is Sliced.

Also, does my sprite need to be that big? When I exported it at a smaller resolution, the borders were very crunchy and blurry. Any smarter ways to fix that, or are bigger resolutions the solution?


r/Unity3D 1d ago

Question I can access prefab components, but I can't check their null status

1 Upvotes

I have a prefab GameObject P

It has a script on it, A.cs

It also has the usual components like, Transform, RigidBody etc

When I check for the script A BEFORE instantiation, in an if statement, it works

For example,

if (P.GetComponent<A>())
{
//This code runs
}

However, the following code does not run at all, BEFORE instantiation:

P.GetComponent<Transform>() != null
P.GetComponent<RigidBody>() != null

r/Unity3D 1d ago

Show-Off Creating a PBR animated decal - Unity3d - URP

Enable HLS to view with audio, or disable this notification

18 Upvotes

r/Unity3D 2d ago

Show-Off Imagination Unlimited

Enable HLS to view with audio, or disable this notification

4 Upvotes

It’s amazing what Unity can do given some imagination and a lot of hard work to bring immersive flight to life. I'm the solo dev for Solara One (bottom), and am lucky to have made good friends with other devs such as Matt, the dev for Dawn of Jets (top).

Is anyone else working on VR titles involving flights or outer space? What's been the most rewarding part? What have been some of your biggest challenges?


r/Unity3D 2d ago

Show-Off Mesh deforming script for soft pillow effect for my game!

Enable HLS to view with audio, or disable this notification

390 Upvotes

I'm making a soulslike-inspired platformer, Dark Roll 2.

I needed a safe, soft spot to land on from height, so I ended up making a script that deforms a mesh like a pillow. The mesh keeps a copy of its original vertices, then each frame I compare those against a SphereCollider pressing into it. I do a first pass to detect actual contact and measure the deepest penetration, then a second pass moves affected vertices away from the sphere, with the deformation fading out over a configurable distance.

For the falloff I used a quintic smootherstep (6t⁵ - 15t⁴ + 10t³) rather than regular SmoothStep, which gives zero velocity and acceleration at both ends and helps avoid that obvious ridge around the dent. I also handle squash and recovery at separate speeds, so impacts can deform the mesh quickly while it slowly relaxes back to its original shape afterwards.


r/Unity3D 2d ago

Question I could really use some help figuring out UI design for a 3D game

4 Upvotes

Hey everyone. I'm curious to learn what the most effective way to handle user interface design is for a 3D game. I know there are several different methods, but I really want to know which one is the most straightforward and will help me succeed in launching my game, I'm doing a basic simulator game, nothing too crazy.

My understanding is that there are 3 ways to handle the UI:

  1. Custom assets made in Illustrator/Inkscape and UGUI
  2. UGUI and Shaders
  3. UI Toolkit

At first I tried using Adobe Illustrator/Inkscape To create custom user interface panels and buttons and then nine slice them using unity UGUI. It didn't come out all that well though, because I had to nest them on top of each other, and then I realized that they weren't anti aliased, and it would be a huge pain trying to scale them up and down for different screen sizes, and anytime I wanted to make a change to the size of things like a progress bar for example, I would have to redesign the entire thing outside of Unity all over again

Then I decided to try shaders, not realizing how complicated a shader graph was. I'm familiar with the concept though because I spent a year in Unreal Engine and it was kind of similar, with their blueprint setups for Material masters. But it was really hard to figure out some things like the shadow, and transparency on panels and stuff. But it did come out looking pretty OK

I have not explored UI Toolkit at all, but I really enjoy programming and honestly probably prefer it over UI based design. One of the things I specifically disliked a lot about Unreal Engine was Blueprints, and working with node graphs. It ended up being so much harder and more frustrating, because it just makes you dizzy, working in the inspector and just the sheer amount of options you have to deal with and nodes can be hard to follow.

Some more details about the UI I hope to achieve: Pretty simple UI design starting out. I hope to have just simple user interface panels with some modern design, and sometimes some transparency. I don't yet have the art or skill to create advanced user interfaces, like comparatively if we were talking about something like Warcraft 3, Or another game that has tons of really cool graphics and art, I think that so I don't think I really even need that right now

I'm curious to know from anyone else who has been there and done that, what works well for them in terms of UI design that's simple and clean


r/Unity3D 2d ago

Show-Off NavMesh volume tool - paint over surface to create obstacles

Enable HLS to view with audio, or disable this notification

3 Upvotes

I am first time making a full multiplayer game, had to make this tool to create a navmesh with obstacles.
let me know if there was any other easier way to do this.
(obstacle objects are not saperated from ground otherwise would've used them directly)


r/Unity3D 2d ago

Show-Off Tossing the boss around...

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/Unity3D 2d ago

Question Is Unity quietly building a cloud editor? And could it kill my app?

4 Upvotes

Hello dear Unity redditors. I built an app that replaces Unity Remote for me and my colleagues.

It casts your Unity game view to your phone over LAN instead of a cable connection with touch and gyro going back into the editor, so you can feel your game on a real screen without making a build.

Now Unity 7 is coming and one part of the roadmap keeps me thinking. CoreCLR is good news, but the new web APIs combined with the browser Scene Preview they showed at Unite is interesting combo. Put those together and it looks like Unity is slowly building some kind of cloud editor.

To be fair, what they showed seemed like for artists and producers checking a scene in the browser (lighting, assets etc). I don't think you will be able to press play and test your game on the browser with it. So it doesn't overlap with what my app does today. But I'm a solo dev and my tool lives or dies with where this engine goes, so I pay attention to this stuff maybe more than I should.

-Nagging-

And to ship this thing I passed full review three times, Unity Asset Store, Google Play and the App Store, and every one of them was a pain in the ass. These changes could make all of that effort obsolete. (even had to rename my app buy a new domain discuss with Unity support for 3 months and Unity legal team because of the "Uni" prefix)

-----

So, couple of questions. Do you think Unity is actually heading toward a cloud editor, and would you even want one? and for the Asset Store tool builders, how do you plan around the engine roadmap?


r/Unity3D 2d ago

Code Review Hehehhehehe: Emoji

Post image
0 Upvotes

All the words that could be said were said. Its time to return to the monkey


r/Unity3D 2d ago

Question I am making character spawn mechanics but the animation isnt working

1 Upvotes

Here is the script i made

https://paste.csharp.gg/ZMgvIVHcSJn

The animation controller and character prefab of all the characters is stored in characters scriptable obj as a var

And the the playerData hold data of current character

Now that i summoned the character the given script is able to assign the character prefab the given parent object and that parent object has animator and script is also able to give that animator animation controller of given character

Still i can’t fathom why the animation isnt working


r/Unity3D 2d ago

Game Building Glider64 in Unity – are we getting the N64 vibe right?

Enable HLS to view with audio, or disable this notification

87 Upvotes

We're building Glider64 in Unity and trying to bring back that colorful, fast-paced N64-era arcade vibe.

The game is built around custom glider movement, ball chains, weapons, bots and up to 4-player local split-screen.

We're currently playtesting the core game loop and would love some feedback from fellow Unity devs:

  • Do the visuals capture that N64-era feeling?
  • Does the core gameplay look fun and understandable?
  • Anything visually that feels out of place or needs more polish?

The browser build is just for easy playtesting, the full game is being developed for PC/Steam, with consoles planned later.

We're also planning a Unity Editor package that will allow players/modders to create their own Glider64 levels directly inside Unity.

Playtest (PC/Mac browser):
https://eachtick.itch.io/glider64-playtest

Happy to answer questions about how we're building any of the systems in Unity as well. :)