r/Unity3D • • 2d ago

Question Looking for a solution for optimising large world shadows and vegetation

3 Upvotes

My game is an RTS, and besides that, it has a lot of trees and over vegetation.

Due to high top down camera, there is about 150-300 trees at the screen at the same moment. With about 2000 polygons per tree and 4 shadow cascades, Iam already will be getting around 2 million polygons for 300 trees on the screen! Baked light is not the solution, because the sun is dynamic.

Should I look for some solution like a shadowmasking, or am trying to achieve the impossible with this tree detalization?


r/Unity3D • • 3d ago

Resources/Tutorial I made a video tutorial going over how to implement local ambient light. Good for when you can't do light baking but want dark interiors.

Thumbnail
youtube.com
33 Upvotes

r/Unity3D • • 3d ago

Show-Off My URP sky system finally does aurora reflected in a lake and im a bit too happy about it

Enable HLS to view with audio, or disable this notification

34 Upvotes

Ive been working on a sky and landscape setup for URP and its at the point where I can finally show it.

What's in the video:

the sky is a proper atmosphere so the sunset colours, the blue hour and the fog all come from the same thing and match

the moon is lit by the sun, so the phase is always right

aurora is animated and shows up in the lake reflection

the flowers are actual little 3D meshes (cosmos, poppies, daisies, lupines...) and they move with the wind

weather blends live the rain clip goes from clear to rain in a few seconds

It runs at around 60 fps in the flower valley on my GTX 1650 Super at 1080p (about 1.3 million plants) and 100 fps in the snowy lake scene

Still tweaking stuff so if something looks off to you, tell me The mountains up close are what im least happy with right now


r/Unity3D • • 2d ago

Question How do i fix my water doing this?

Enable HLS to view with audio, or disable this notification

0 Upvotes

I'm using a shader on a plane for my water, and it jus does that when i am trying to make the water.
I'm completely new to unity so if anyone can tell me how to fix this, i would very much appreciate it. ty


r/Unity3D • • 3d ago

Show-Off Gaussian Splatting relighting in Unity with ARLOOPA’s UnitySplats

21 Upvotes

A quick showcase of Gaussian Splatting relighting using UnitySplats, our open-source Gaussian Splatting package for Unity.

GitHub: https://github.com/arloopa/UnitySplats


r/Unity3D • • 3d ago

Shader Magic For anyone who likes organizing Shadergraphs

Thumbnail
gallery
112 Upvotes

These are my master ubershaders (In order: Crystal, Liquid, Tessellated Liquid, Solid) in my Unity/Blender companion package. Figured I'd share for anyone who likes organizing Shadergraphs!

A LOT of the nodes in this picture actually point to subgraphs (and then subgraphs/custom functions within them), if I left them all in as is it would be MASSIVE (and difficult to synchronize shared operations)

:)


r/Unity3D • • 4d ago

Show-Off I don't like loading screens, so I added a seamless transition scene instead

Enable HLS to view with audio, or disable this notification

1.4k Upvotes

I'm designing the passage as a small island for now while my brother is working on the proper assets for it, but basically it's a branch of the tree of life from Hungarian mythology. In the final version the "Csodaszarvas" (The Wonder Stag) will be showing you the way through. The transition scene lives in the same Unity scene as the map, parked far away from the play area and switched off until it's needed.

It works kind of like a window; showing the transition scene (and at the end of that, the next scene). Then as the hero walks in, the camera follows and once he's through the portal, I seamlessly switch the main camera to the one in the correct scene. Once the portal fills the whole scene, I tear down the old one and start loading in the next; all done in the background to avoid stuttering as much as possible (still getting some micro stutters here and there, but I think that's acceptable). This is still technically a loading screen, but more immersive.

As soon as the next scene is loaded, I open a new portal and use the same tricks there, just in reverse. I'm very happy with how this look so far!

Edit: thanks for the feedback folks, I'm making the transition scene more interactive.

Edit2: since then, I've improved load times so much that I ended up making the hero ride the Csodaszarvas through the scene instead, since loading finishes so fast, it no longer looks and feels good for him to run / make the player able to move.


r/Unity3D • • 3d ago

Show-Off Painting Physics for my game

Enable HLS to view with audio, or disable this notification

102 Upvotes

Hello,

Passed month I have spent time improving the painting physics of my game. I think its at a point where it cannot really get improved. Maybe the color looks little like plastic for the black paint at least.

Any feedback or suggestions please feel free to comment.

Thank you


r/Unity3D • • 2d ago

Show-Off Hey guys im building this mobile game what do you think?

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/Unity3D • • 3d ago

Show-Off Hands-only repair guides on Quest 3 that check your work, from a washing machine to a medical X-ray generator

Enable HLS to view with audio, or disable this notification

14 Upvotes

r/Unity3D • • 2d ago

Question Unity LevelPlay showing real ads despite test mode being enabled

1 Upvotes

I’m currently integrating rewarded ads into my iOS game using Unity LevelPlay with Unity Ads as the only bidding network.

I’ve taken every precaution I could find to ensure that I’m not generating real ad impressions during development:
- Enabled “Force test mode ON for all devices” in the Unity Ads dashboard.
- Registered my iPhone as a test device in both Unity Ads and LevelPlay using the same IDFA.
- Disabled the ironSource bidding instance, leaving Unity Ads as the only active network.
- Activated device-specific testing in LevelPlay, selecting Unity Ads Bidding and Rewarded.
Implemented separate Mock, Test and Production modes in my game.

Despite all of this, when I test rewarded ads on my physical iPhone, I get actual commercial advertisements for other mobile games, including functional App Store download buttons, with no visible indication that they’re test ads.

My estimated revenue and eCPM currently show $0, but that’s not conclusive given the reporting delay.

One thing I noticed is that my game hasn’t requested ATT permission yet. I understand this could prevent the SDK from accessing my IDFA, but surely forcing test mode for all devices should work regardless?

Has anyone else experienced this with Unity Ads through LevelPlay?

Is it normal for Unity to serve real commercial creatives in test mode without generating revenue, or is there something wrong with the test mode configuration when using bidding through LevelPlay?

I’m particularly cautious because I previously had an AdMob account banned due to testing ads during development, and I definitely don’t want that to happen again.

Any insight would be appreciated.


r/Unity3D • • 3d ago

Show-Off I rebuilt the IK on my walking castle’s legs based on this sub’s feedback

Enable HLS to view with audio, or disable this notification

112 Upvotes

A while ago I posted my walking castle here and a lot of you had notes on how the legs moved - see prev post here: https://www.reddit.com/r/Unity3D/s/MbUKhkfpBv 

I rebuilt the model and rig, and updated how the leg IK system worked based on this sub’s notes and some playtesting feedback.

What changed:

  • It wasn't using Unity's IK before. The old legs were a code-based procedural solution deciding where each foot went. Moving to Unity IK (foot targets, foot homes, knee hints per leg etc) made it much simpler.
  • The gait improvements came from tuning. I exposed every number and spent time on foot curves, step timing and body offset. For reference, I watched quadrupeds walk - a castle with four legs moves similarly to a tortoise, so I mainly looked at what the body does while a leg is in the air.
  • I built a test scene with debugging controls so I can see where it’s still buggy when I mess with it.
  • The old system had arbitrary speed boosts that kicked in at certain points to hide problems, which I deleted. Removing them and letting the simpler system run made the walk more predictable.

So, a similar walk, but a lot less jank, and a rig I can extend without rewriting code.

Thanks to everyone who commented on my previous post! What would you change next?


r/Unity3D • • 3d ago

Show-Off Reimplementing my own game from in Unity from Game Maker Studio 2! - Episode 1

Enable HLS to view with audio, or disable this notification

10 Upvotes

I finally decided to start the tough journey of porting my game, Way of the Sinner, from GameMaker Studio 2 to Unity 6. The main reason is that I hit a technical wall with GameMaker Studio, and keeping development going was getting harder and harder.

I’m not rebuilding everything from scratch, I’m translating some old GML scripts, and most of the art is and will still be the original. However, I am rewriting most of the core systems from scratch to make the code easier to expand and clean up technical debt using C# features that GML doesn't have.

In this video, you can see my early progress: I've already re-implemented the camera, basic animations, collisions, and a few visual effects. There is still a long way to go before I fully recreate the combat look and feel, but I’m really happy with how it’s coming together! Let me know what you think!


r/Unity3D • • 3d ago

Question How to integrate upscalers

2 Upvotes

Can y'all help me with actually adding fsr and dlss in unity 6.4 urp.

Perhaps a source to a good tutorial will do

Thank you.


r/Unity3D • • 3d ago

Question Advance indoor ProBuilder tutorial

3 Upvotes

I'm looking for more advance indoor ProBuilder tutorial. I'm trying to make a backroom poolroom type level and having a hard time.

For example, if I create a hole for a pool and want round edge, I need to Bevel Edges, select the right distance, multiple times. There must be a better way.


r/Unity3D • • 3d ago

Show-Off How the walls in my game build themselves between towers (Unity Splines): arcs, gates, detours and breaking

Enable HLS to view with audio, or disable this notification

1 Upvotes

Each wall is a SplineContainer between two towers, generated at runtime when a tower is bought. A few things that took some work:

- Arcs, not straight lines: walls between towers on the same ring follow a circle around the castle. Each segment is one cubic Bezier with tangent length (4/3)·tan(θ/4)·r, which gives a near-perfect circular arc from just two knots.

- Zero tangents break the mesh: even straight walls need tangents pointing at each other, otherwise the derivative is zero at the ends and the normals turn into NaN (bright white lighting artifacts).

- Modules along the spline: a wall mesh is sampled every 2 m and bent to the curve; every Nth module is a gate, and gates on double walls are aligned so paths line up.

- Detours: outer walls sample the spline and push points out around buildings (e.g. a mill) so the building stays inside; modules over water are skipped.

- Terrain: each module follows the terrain height, and NavMesh obstacles are generated per segment so enemies path around it.

- Breaking: when a tower's HP drops, wall modules in front of the attacker collapse one by one; destroying the tower opens that end of the wall.

In the video the cyan line is the spline and the orange lines are the knot tangents (debug view drawn with LineRenderers).

Happy to go deeper on any of these.


r/Unity3D • • 3d ago

Question Any tips for creating cinematics in Unity 6.3 with Timeline and Cinemachine?

Enable HLS to view with audio, or disable this notification

4 Upvotes

I'm experimenting with Timeline and Cinemachine in Unity 6.3 to create cinematic sequences for my indie game, Resurgis.

I'm planning to use cinematics for both level introductions and storytelling. Here's a short cinematic showcasing one of the new dungeons.

I'd love to hear how other developers use Timeline and Cinemachine in their projects.

Do you have any tips for camera movements, shot transitions, sequencing, or improving the overall cinematic quality? Are there any useful techniques or workflows you would recommend?


r/Unity3D • • 4d ago

Shader Magic Working on dynamic destruction effects in Unity

37 Upvotes

I've been exploring ways to handle dynamic object destruction in Unity, and I wanted to share a few tips.

I use Visual Effect Graph, which generates large amounts of debris without a hit to performance. Its mesh sampling is especially useful - particles automatically follow the shape of the object, making it easy to create convincing destruction and conceal the object's disappearance.

Flexible customization is another key part. Through exposed properties, you can adjust particle size, count and other properties to make the effect work across different objects. You can also set the origin of the destruction force, making debris fly away from a specific point for more dynamic, directional effects.

A dedicated script handles playback, object removal and cleanup, while an editor tool makes setup quick and easy.

https://assetstore.unity.com/packages/vfx/particles/fire-explosions/uni-vfx-6d-destructor-429716


r/Unity3D • • 3d ago

Question Making a 3D pixel art point and click game, need some help with design

Post image
19 Upvotes

As a complete stranger to what this game is, what would you want to click on first? (excluding player)


r/Unity3D • • 2d ago

Show-Off Showcasing my asset Fly by Mouse and its progress

Thumbnail
youtube.com
0 Upvotes

it is not published yet

its a flight system that you control with the mouse
I just didn't see a lot of flying games and no other game that was kinda similar to war thunder
I enjoy the controls and feel of war thunder so i made something I felt was kinda the same but different in patent

This is the showcase of fun and kind of tight combat you can get with it, with my own models for visuals 

It will go on the unity asset store when it is ready


r/Unity3D • • 2d ago

Game Before & After – Cleaning mechanic

Enable HLS to view with audio, or disable this notification

0 Upvotes

A small update to the cleaning mechanic in my game. I'm currently developing a virtual pet game that keeps you company on your desktop. Still a work in progress, but I wanted to share this little update with you 👾


r/Unity3D • • 4d ago

Game Pocket Havoc - My mixed reality tower defense for the Meta hackathon (Part 2)

Enable HLS to view with audio, or disable this notification

43 Upvotes

Hey everyone! Here’s the second part of the gameplay preview I recently shared for Pocket Havoc, my solo-developed mixed reality tower defense for Quest 3 / 3S.

The idea is simple: turn your room into a battlefield. Grab turrets from a floating arsenal, throw them into position, and defend a tiny planet against enemies coming through portals. All with hand tracking, destructible walls and a few powers for when things get out of hand.

The response to my earlier post was really encouraging. A huge thank you to everyone who shared feedback,it really means a lot and makes me want to take the project further.

If you could add one completely over-the-top ability to a tower defense happening in your room, what would it be?

If you’d like to follow along, share ideas, or just chat about the game:

💬Discord: https://discord.gg/wQb9DUqMze

🎬 Full trailer: https://youtu.be/k__LWPbc-AI


r/Unity3D • • 4d ago

Question I built a Unity Editor tool to help developers secure their builds. Looking for feedback!

34 Upvotes

Hey everyone!

I’m a solo game developer with two games currently on Steam.

While working on my games, I started developing ReverseFiascko, a lightweight Unity Editor tool designed to make reverse engineering more difficult and help developers catch common build security mistakes.

It currently includes:

  • Project protection settings scanner
  • Automatic protection configuration
  • Build validation
  • Embedded secrets detection
  • Build scanner for sensitive files and managed assemblies
  • Optional AI Analysis Notice

Everything runs locally in the Unity Editor, with no external dependencies or runtime overhead.
I’m fully aware that sensitive logic and data are best protected on a secure backend, rather than distributed with the game client. ReverseFiascko isn’t meant to replace that or promise complete protection. My main goal is to encourage good security practices and help developers avoid common mistakes.

I’d love to hear your thoughts!
Would you find something like this useful? Are there any security checks or features you’d like to see added?

Project: ReverseFiascko
GitHub link in the comments!


r/Unity3D • • 4d ago

Question Markers vs. GameObject names in a modular building system

Enable HLS to view with audio, or disable this notification

46 Upvotes

Hey, a while ago I shared some early work on "MODURA", my stylized modular building creator for Unity Asset Store. I've been working on its editor tools since then, and one thing I wanted to avoid was relying on GameObject names to identify individual parts. Names like "Window_01" or "Door_03" work fine at first, but I didn't want things to break just because someone using the asset decided to rename a few objects.

So I went with dedicated marker components instead. Each part has a component that tells the tools what it is, which the editor tools use to determine what can be done with it. It's a bit more setup, but I prefer this over having the tools depend on specific names.

How do you usually handle this in your own tools? Do you use marker components, naming conventions, or something else?


r/Unity3D • • 4d ago

Show-Off 12 seconds of my spell crafting physic based rogue like, feedback needed, just opened a playtest!

Enable HLS to view with audio, or disable this notification

19 Upvotes

Hi!

Every Castle Needs a Wizard is a turn-based physics-based roguelite where you defend humanity's last castle against endless hordes of insect-like monsters by crafting crazy magical balls to unleash devastating combos!

Even though the steam playtest requires approval, I approve every request as soon as I see it. I really need your feedback!

Cheers!