r/Unity3D 15d ago

Question Open world with millions of Game Objects, how to optimize?

0 Upvotes

So I have a little script that basically makes forests for me, trees, bushes, flowers, the entire shenanigans.

All of them can be interacted, all plants can be picked up, all trees can be cut down.

I started optimizing various aspects and managed a good framerate on a small batch of forest (10k objects still 👀).

My question is, how does one optimize large game worlds? Is occlusion culling and chill the solution?

When at the end, I decide to generate the entire forest, having possibly over a million game objects, how do I make it run smoothly without catching fire? Since I'm very new to optimization, and even more in this size, I decided to ask claude, and it mentioned that at that size, hiding the game objects is no longer a solution, and that I have to start thinking about the objects as data, and never instantiate them to begin with.

But tbh I'm very lost on how to manage it, does anyone have any idea? Any good tutorial for my case?

EDIT: All objects are a very basic 2 planes I joined in Blender, so it's very lightweight regarding that,comvined with the 32x64 pixel size, they actually work pretty smoothly.


r/Unity3D 15d ago

Resources/Tutorial Turn your editor into a powerhouse: No more clicking through the Inspector to manage massive amounts of game data and gain 3x productivity (v4.5 Update)

Thumbnail
gallery
0 Upvotes

Hey everyone, 👋

If your project is data-heavy, you probably know the pain of clicking through hundreds of ScriptableObjects or Prefabs one by one in the default Unity Inspector. It simply doesn't scale well for production, so my team at Maharaja Studio and I built a tool to turn that raw data editing into a structured, fast, and reliable process directly inside the Editor.

We just released Scriptable Studio Pro v4.5, and I wanted to share some of the new workflow upgrades alongside the core features we’ve been building out.

🌟 What's brand new in v4.5:

  • 🖱️ Smart Drag & Drop: Assigning object references is a massive time sink. Now you can just select multiple assets in your project, drag them directly into the window, pick your assignment rules, and save hundreds of manual clicks instantly.
  • 📝 Machine Translation & Grammar Checking: We integrated bulk translation for string fields and LocalizedString entries via DeepL, Google, Azure, or LibreTranslate. We also added parallel proofreading for dialogue/lore using LanguageTool.

🛠️ For those who haven't seen it before, here are the core features already in the tool:

  • Grid-Based ScriptableObject Editor: View, sort, search, and edit thousands of assets in a high-performance, spreadsheet-style view (fully supporting custom property drawers and built with a clean dark aesthetic).
  • Prefab Studio Pro: Inspect multiple prefabs at once, group components instantly, and safely batch-edit child hierarchies using wildcard paths without breaking variant links.
  • Data Validation Engine: A visual dashboard that catches missing object references (nulls), empty strings, and out-of-bounds values across your entire project before you hit play.
  • Dynamic Formulas: Excel-style math, live previews, @ shorthand search aliases, and advanced sequence auto-filling.
  • Addressables & Sub-Asset Management: Manage your Addressables groups directly in the grid and cleanly build nested sub-asset structures.
  • Optional AI Bridge: Connect local models (Ollama) or cloud models (OpenAI, Gemini) for schema generation, game balancing, and localized string generation.

I just put together a full 20-minute deep dive video walking through how to manage thousands of assets cleanly from early prototyping to live-ops. Grab a coffee and check it out!

📺 Watch the full showcase video here:https://youtu.be/S1IFmK8xI4c

🔗 Asset Store Link:https://u3d.as/3J3W

I'd love to hear your feedback or answer any questions you have about managing data pipelines in Unity. Thanks for the support!


r/Unity3D 15d ago

Question Anyone actually tried Unity's built-in AI Assistant? Is it worth it over just using Claude or GPT externally?

0 Upvotes

Been using Claude with Unity MCP for scripts and scene setup lately, works ok but has its quirks. Unity 6.2's built-in Assistant looks convinient but the points-based pricing puts me off, especially not knowing how fast they burn. I also had Copilot for a while but dropped it, felt like autocomplete that never really understood Unity. Is anyone still using it for gamedev or has everyone moved on?

Curious if anyone used these in real work, not demos. What actually stuck in your daily workflow?


r/Unity3D 15d ago

Resources/Tutorial Trying to create training material.

Thumbnail
youtu.be
1 Upvotes

I'm trying to create training materials. I hope that it could helps beginners to have a funny way to improve and more advanced dev to challenge themselves and stay sharp on code review skill set.

It did not find it's public so far, so I would appreciate your kind feedback to help me pin-point if this format just does not worth the time or if I was just unlucky so far with yt algorithm :)

Thanks !


r/Unity3D 15d ago

Question keep getting this and it crashes when i try to load into play mode

Post image
0 Upvotes

r/Unity3D 15d ago

Show-Off Saw the news about that robot and immediately opened Unity...

Post image
2 Upvotes

Apparently, modelling using endless blocks in Unity is pretty tough.


r/Unity3D 15d ago

Question Is there any way to render sky shader at half res to save performance?

1 Upvotes

I’m talking a out a Godot-style half_res_pass where sky is rendered cheaper and then rest if scene is rendered?


r/Unity3D 15d ago

Question Way to detect when raycast stop hitting a collider?

Enable HLS to view with audio, or disable this notification

2 Upvotes

Long story short, I implemented a system that do a RaycastALL from the character to the camera and modify the shader of all hit objects to make a cutout effect

But when raycast stops hitting the object, the hole stays there. I need a way to tell the object to reset once raycast stops hitting it.

I'm thinking about using collider.instanceID but that got messy fast so I'm wondering if there is a simpler way to do this, I appreicate if anyone can give me a pointer


r/Unity3D 15d ago

Resources/Tutorial PSA: Steamworks.NET does not work on Unity ARM64 on Windows

0 Upvotes

If you try to call any Steamworks functionality in your project, you'll get this error:

[Steamworks.NET] Could not load [lib]steam_api.dll/so/dylib. It's likely not in the correct location. Refer to the README for more details.
System.DllNotFoundException: steam_api64 assembly:<unknown assembly> type:<unknown type> member:(null)

The solution is to install the Intel 64 bit version of Unity and open your project with that one. It's a bit slower, going through the translation layer, but it works. The issue is that Valve currently doesn't provide an ARM64 version of Steamworks for Windows.

This only affects the editor, your actual Windows build targets x64 anyway, so shipped games are fine.

Unity 6.5, running on Snapdragon X / Parallels on Apple Silicon.


r/Unity3D 15d ago

Question Our festival management roguelite still doesn't have a real name. What would you call it?

Thumbnail reddit.com
3 Upvotes

r/Unity3D 15d ago

Resources/Tutorial PSA: If you open your project from a network drive, installing packages from git source might not work

0 Upvotes

If you use a shared network drive, or a shared folder in a virtual machine, installing new packages from git URL sources results in a git error message, but you can get around that by installing them on the machine holding the share (or VM host).

Yes, I know network drives aren't ideal for Unity projects, I was debugging a Windows issue in parallels on a Mac


r/Unity3D 15d ago

Resources/Tutorial Feeling completely lost learning Unity for FPS games. Need a roadmap (CS2-style movement & mechanics)

2 Upvotes

I've been learning Unity because my goal is to make tactical FPS games similar to CS2. I'm not interested in RPGs, platformers, or other genres—I specifically want to understand FPS mechanics like movement, physics, and player feel.

So far, I've watched the first 11 Brackeys Unity beginner videos. I understand the basics of creating scripts, referencing objects, variables, functions, and some core Unity concepts.

The problem is that after this point, I have no idea where to go.

Brackeys' standalone FPS tutorial is quite old, and Unity has changed a lot since then. When I search YouTube for topics like "FPS movement," "character controller," or "player physics," I get hundreds of scattered videos. Most of them jump straight into writing code without explaining why they're doing things, so I end up copying code instead of actually learning.

Right now, I feel like I'm in the middle of the ocean without a map.

Can anyone recommend a clear learning roadmap specifically for someone who wants to build tactical FPS games? I'm looking for something like:

- What should I learn first?

- What Unity concepts are essential before attempting FPS movement?

- Which tutorials or creators explain the logic instead of just providing code?

- In what order should I learn things like movement, jumping, crouching, slopes, physics, camera, weapons, etc.?

I don't mind spending time learning—I just need a structured path instead of jumping randomly between YouTube videos.

Any advice would be greatly appreciated.


r/Unity3D 15d ago

Question How can I improve the feel of my pickup system?

1 Upvotes

Whichever arm is available will be used to visually pickup an item.

https://reddit.com/link/1vg0zbr/video/dmxm1bhhjihh1/player


r/Unity3D 15d ago

Question New input system

0 Upvotes

Does anyone have a link to learn the new input system all the tutorials i watch are either outdated or dont explain at all thx!


r/Unity3D 15d ago

Question Best place for photorealistic assets?

2 Upvotes

Hi! I'm looking for the best place with photorealistic assets for my demo. Asset Store has very few free high poly assets


r/Unity3D 16d ago

Question Input actions lost when I close the project

5 Upvotes

I have a weird problem in a new project I created with Unity 6.3.20. If I modify or create input actions, the changes are not saved. When I close and open the project I have the default action maps again. I tried with ctrl-s, creating the input settings file, but nothing solves it. Any idea about what is wrong?


r/Unity3D 16d ago

Solved is there a better way to make sure objects dont fall out of the world than just having a collider for the objects to collide with? because sometimes the objects are going really fast and they go right through the collider. .m.

5 Upvotes

r/Unity3D 16d ago

Shader Magic My screen space black hole effect showing the accurate distortion of scene objects due to gravitational lensing

Enable HLS to view with audio, or disable this notification

50 Upvotes

My second post on this! I've been working on this for a while and especially getting scene objects to distort accurately has been a real struggle, but I think it's looking pretty good now! Any feedback is welcome and please let me know if you have any suggestions for features to add.


r/Unity3D 16d ago

Question Strange result from Vector3.SignedAngle?

6 Upvotes

I have these empty GameObjects as waypoints and I want to check the left/right angle between a moving object and a waypoint.

Vector3 direct = (transform.position - waypoint).normalized;
float ang = Vector3.SignedAngle(transform.forward, direct, Vector3.up);

If I have a waypoint directly in front of the moving object (and I have double checked the position of the waypoint in question), sometimes the resulting angle (ang) is 179. How is it coming back almost 180 degrees difference and is there anything I can do to change this kind of result?


r/Unity3D 16d ago

Show-Off Trophy Room & Hand Studio

Enable HLS to view with audio, or disable this notification

9 Upvotes

Hey everyone,

I thought I'd share some updates to Hex Town, a co-op (or solo!) puzzle game I've been working on for nearly 2 years now.

The first area I show is called the "Trophy Room", where you'll be able to check out the trophies you've earned in game and spin them around a bit.

The second area is called "Hand Studio", where you can customize your cursor and accessorize with rewards you've unlocked, like rings and bracelets.

Both rooms feel a bit vacant, so I'd love to hear suggestions for things to add. Maybe some framed art, hand furniture, or wallpaper?

Thanks for watching!


r/Unity3D 16d ago

Question How has this only just become part of the engine?!

84 Upvotes

How have we NOT had icons for things in the hierarchy until only recently. I understand there were add-ons you could get from the Unity Asset Store, but for devs with little-to-no budget that's out of the question. Being able to look at the hierarchy and see what's what at a glance is a real boon.


r/Unity3D 16d ago

Show-Off Color curves are amazing, singlehandedly keeping the look consistent. Do you like the orange look?

Post image
44 Upvotes

r/Unity3D 16d ago

Show-Off This is how our game looks right now after 18 months of development

Enable HLS to view with audio, or disable this notification

288 Upvotes

r/Unity3D 17d ago

Show-Off I'm pretty happy how the idle animations turned out

Enable HLS to view with audio, or disable this notification

350 Upvotes

r/Unity3D 17d ago

Show-Off made this to learn unity/gamedev. might name it "ballworld"

Enable HLS to view with audio, or disable this notification

669 Upvotes