/r/Unity3D

Photograph via snooOG

A subreddit for News, Help, Resources, and Conversation regarding Unity, the game engine.

Screenshots from phones are banned. Learn to take a screenshot with your computer or don't post here.


News, Help, Resources, and Conversation. A User Showcase of the Unity Game Engine.

Remember to check out /r/unity2D for any 2D specific questions and conversation!


Download Latest Unity

Rules and Wiki


Please refer to our Wiki before posting! And be sure to flair your post appropriately.

Main Index

Rules and Guidelines

Flair Definitions

FAQ

Chat Rooms


Use the chat room if you're new to Unity or have a quick question. Lots of professionals hang out there.

/r/Unity3D Discord

FreeNode IRC Chatroom

Helpful Unity3D Links


Official Unity Website

Unity3d's Tutorial Modules

Unity Answers

Unify Community Wiki

Unity Game Engine Syllabus (Getting Started Guide)

50 Tips and Best Practices for Unity (2016 Edition)

Unity Execution Order of Event Functions

Using Version Control with Unity3d (Mercurial)

Related Subreddits


/r/Unity2D

/r/UnityAssets

/r/Unity_tutorials

/r/GameDev

/r/Justgamedevthings (New!)

/r/Gamedesign

/r/Indiegames

/r/Playmygame

/r/LearnProgramming

/r/Oculus

/r/Blender

/r/Devblogs

Tutorials


Brackeys

  • Beginner to Intermediate

  • 5 to 15 minutes

  • Concise tutorials. Videos are mostly self contained.

Sebastian Lague

  • Beginner to Advanced

  • 10 to 20 minutes

  • Medium length tutorials. Videos are usually a part of a series.

Catlike Coding

  • Intermediate to Advanced

  • Text-based. Lots of graphics/shader programming tutorials in addition to "normal" C# tutorials. Normally part of a series.

Makin' Stuff Look Good

  • Intermediate to Advanced

  • 10 minutes

  • Almost entirely shader tutorials. Favors theory over implementation but leaves source in video description. Videos are always self contained.

Quill18Creates

  • Beginner to Advanced

  • 30 minutes to 2 hours.

  • Minimal editing. Mostly C#. Covers wide range of topics. Long series.

Misc. Resources


Halisavakis Shaders Archive

Infallible Code

World of Zero

Board to Bits

Holistic3d

Unity3d College

Jabrils

Polycount Wiki

The Big List Of Game Design

PS4 controller map for Unity3d

Colin's Bear Animation

¡DICE!


CSS created by Sean O'Dowd @nicetrysean [Website], Maintained and updated by Louis Hong /u/loolo78

Reddit Logo created by /u/big-ish from /r/redditlogos!

/r/Unity3D

401,112 Subscribers

1

How to get the angle between a raycast and the object it's hitting.

Hey all I'm using raycasts and I want to get the angle between my ray and the wall. Currently I'm getting the angle between my raycast and tangent, however, this doesn't work when the raycast is rotated any anything other than y axis. I imagine there is an equation to rotate the tangent I have to face along the same general direction of the raycast while staying along the wall and getting that angle, but I'm unsure how to do this any help would be greatly appreciated.

https://preview.redd.it/1v0ubrfcb2he1.png?width=1210&format=png&auto=webp&s=3d5c761f561a4a9af70b2dda442e59be43512b17

0 Comments
2025/02/04
05:59 UTC

1

Unity 6 ARFoundation Basic Help

Hi all, Im coming from unity 2018-2021 using Vuforia and I'm really struggling with basic thing using Unity 6 with ARFoundation. Project does compile correctly in xCode and I can view on my iPhone.

Here are 2 basic things I'm trying to achieve:

1- Using my webcam in Editor Mode.
I've seen the Use Custom Material on the AR Camera, and I've created a script to use my webcam as RenderTexture, but refresh is super slow, even if stats show 200fps...
Surely Unity has an option to use your Webcam when you work on an AR Apps no ??

2- Kind of similar to first, but in Vuforia you could press play, it would use your webcam and detect your target. So you could easily test in Unity Editor wihout deployment.

I must not be the only one using this kind of workflow, what I'm I missing.. ?
Thanks for any help

0 Comments
2025/02/04
04:57 UTC

2

whats your go to way of having character customization over a character?

lets say i have separate objects hair,shirt,skirt, accessories i'm trying to look for a tool or maybe a technique i can apply multiple meshes over an object in unity

do just weight paint all the objects against a character in blender separated by body type or there is a better way?

1 Comment
2025/02/04
03:32 UTC

2

Showing 3D characters in Windows Desktop (using Transparent Window)

1 Comment
2025/02/04
03:17 UTC

0

Building chess in VR devlog

0 Comments
2025/02/04
02:17 UTC

1

Does unity have a FPS starter pack? HB docs?

Way back in the late 4.x and early 5.0 days I used to be a professional unity software engineer, I went over to BE web development since then.

I want to start up a new project but haven't been in the know for Unity for a while. I remember there used to be an official unity created starter pack that could drop in some characters and weapons and go to town. As well as some good docs and tutorials for such a thing.

What's the latest way to get something going quickly these days? I want a shooter/slasher kinda thing but my first project will be very simple.

In short;

starter art and controller packs?

Starter characters with animations?
FPS starter docs or tutorials?

1 Comment
2025/02/04
01:58 UTC

1

UGS Leaderboards "free for a limited time"?

The pricing page just says UGS Leaderboards are "free for a limited time" but gives absolutely no information about how long that limited time is, or what the cost will be otherwise. Does anyone know what the costs are?

0 Comments
2025/02/04
01:37 UTC

12

Programming AI to land my rockets...should I go ahead and apply for SpaceX now?

2 Comments
2025/02/04
01:18 UTC

1

Adding people to projects

My friend has recently been trying to add me to a project and it’s just not been showing up, through some roundabout way I can see that I’ve been added to the organization and I can see the project but can’t open it, what do we do?

1 Comment
2025/02/04
01:17 UTC

1

Pass through Development

Hello,

I am building an app using passthrough. I am using Unity and Meta SDK. If I create a cube or cylinder everything works great. I can grab the cube, turn it etc. however I have a OBJ that has 6 child objects attached to it and when I add it to my scene and try to interact with it, nothing works. It seems as though the obj moves away from me when I try to walk up to it. I have re-scaled it, moved it closer to the camera rig, ensure I have colliders on just parent and all children. Out of ideas to try at this point. Any help??

1 Comment
2025/02/04
01:00 UTC

166

So i’ve been trying to push unity’s limits…

Using unity 6 HDRP with a decent amount of custom tech. All footage was in-game nothing pre-rendered. Feel free to ask questions about certains scenes or tricks!

If you’d like to check it out on steam: https://store.steampowered.com/app/3143530/Shadow_Project/

23 Comments
2025/02/04
00:40 UTC

7

An early trailer for my game where the player can search keywords found in the level to solve puzzles and unravel the game's story.

1 Comment
2025/02/04
00:29 UTC

1

Hi Everyone ! Here's my 3D Game first preview that I wanted to share with you. My game will combine massive fight and infiltration features with TopDown view and techno music on the background that I mix on my own. Let me know if it sounds interesting !

1 Comment
2025/02/03
23:39 UTC

0

How do you handle Events when you import your animated mesh?

I'm importing animated characters from Blender, and of course those animations are read-only, so adding events on the animation timeline isn't an option.

How are you handling this limitation?

3 Comments
2025/02/03
23:38 UTC

1

Can't get characters to jump when using real world units

I'm going through the second Create with Code class and in the example they want us to make a character jump by giving them a rigid body and then applying force to the rigidbody. At first they have us try a force of 100, which barely makes them jump. Then 1000 to make them jump high.

I tried to do this with real world numbers, because I'd like to use real numbers eventually in my game, and it doesn't seem to work. Here is what I'm going with:

Scale: assuming 1 unit = 1 meter. I have set my character to 1.77 to match the world average.

Mass: assuming 1 unit = 1 kg. I have set my character to 62 to match the world average.

Force: assuming 1 unit = 1 newton. I have set my force to 1200, which is what google says is a good peak jump. My character weighs 608.22 N, so this 1200 should be able to lift them fine.

I hit play and they bend their knees in the animation and then just stop without jumping. If I set the force to be ForceMode.Impulse then they rocket.

Here is the code:

using UnityEngine;

public class PlayerController : MonoBehaviour

{

private Rigidbody playerRb;

// Start is called once before the first execution of Update after the MonoBehaviour is created

void Start()

{

playerRb = GetComponent<Rigidbody>();

playerRb.AddForce(Vector3.up * 1200);

}

// Update is called once per frame

void Update()

{

}

}

Thoughts on where the mistake is at?

15 Comments
2025/02/03
23:03 UTC

22

How does the combat in my game feel? (looking for some feedback)

11 Comments
2025/02/03
22:12 UTC

2

For Beginner 3D Artist - Mini Hair Tutorial

1 Comment
2025/02/03
22:12 UTC

1

I made a file explorer tool in unity

I Created a Windows Explorer for Unity!

I recently built a tool that lets you browse and manage external folders directly inside Unity—no more being stuck inside the Project window! I initially made this for myself, but I figured others might find it useful too.

🚀 External Directory Manager

✔️ Manage External Folders & Files in Unity ✔️ Pin Favorite Directories for Quick Access ✔️ Preview Images & Import Files Seamlessly

Coming from a background as a professional music producer who relied on Ableton Live, I always found it bizarre that Unity lacked a proper directory browser like Ableton’s. I wanted the ability to pin folders, browse files from anywhere on local storage, and easily bring them into my project—so I built it!

👉 Check it out on the Unity Asset Store: 🔗 External Directory Manager

Any feedback, feature requests, or even pricing suggestions would be hugely appreciated—this is my first Unity Asset Store release, and I’d love to hear your thoughts!

https://preview.redd.it/8xux5a7jwzge1.png?width=1950&format=png&auto=webp&s=cffdad8bf9448771e49d6efb3cccc4b6bae82d74

1 Comment
2025/02/03
21:53 UTC

0

Absolutely disgusting rubber banding using Netcode for gameobjects with Relay. Anybody’s had the same problem?

For info, i am running on 16ms ping and 300 mbps download speed

11 Comments
2025/02/03
21:36 UTC

12

Made a Light Transmission Baking Tool (bakes and blurs vertex colors) - Pastebin included!

1 Comment
2025/02/03
21:33 UTC

3

[For Hire] Stylized Low Poly 3D Artist (contacts in comments)

1 Comment
2025/02/03
21:24 UTC

7

This trailer is our 3rd try before the early access launch, and I think we got it right this time. What do you think?

8 Comments
2025/02/03
21:17 UTC

2

Why do some high-quality indie games become successful while others remain unnoticed ? what's main factor success game ? Thoughts ?

Hi everyone !

I’ve noticed that some indie games, despite being really well-made, end up flying under the radar. Meanwhile, titles like Vampire Survivors or LETHAL COMPANY (and many others) suddenly explode in popularity.

I’ve created over 20+ games so far, with 4 currently available to the public. Despite my efforts, I haven’t been able to attract even a small player base.

I’d love to hear your thoughts on what might be missing. Do you have a “code of success” or a set of guidelines you follow when launching a game? Marketing (free) strategies, community building, unique gameplay hooks

I would be glad and very grateful if you share your experience, love you <3

16 Comments
2025/02/03
21:12 UTC

2

Current Best Networking Solution?

Hi all,

I know this basically gets asked every other day but I had a couple of questions; but before that some context to the game I will be building:
- 1-4 Player COOP
- Steam Networking

Now onto the questions:

  1. What currently is the better solution, I know Mirror, FishNet, PurrNet and NGO exist?
  2. Why is solution x better than the other ones?
  3. With regards to Steam integration, at the moment I am using Steamworks .NET is this still the goto or alternatives like Heathen Steamworks/FacePunch Steamworks?

Thank you for your input! It is much appreciated.

5 Comments
2025/02/03
21:05 UTC

1

We are making the biggest Fantasy Scene in Unity

0 Comments
2025/02/03
20:59 UTC

1

Does Unity behave faulty with low FPS?

In Play mode I'm getting something between 6 and 20 fps (not sure if it's due to my eight year old laptop or everything is somehow unoptimised as fuck) and sometimes things that should be triggered don't happen. Is this due to the framerate?

4 Comments
2025/02/03
20:33 UTC

25

I strapped an invisible cube to the camera to see if I could play pong in real life

2 Comments
2025/02/03
20:15 UTC

0

My first person camera won't move left or right

The camera is a child of the player , and the code doesn't have any erros , I don't know what I did wrong , there aren't any locks

7 Comments
2025/02/03
20:01 UTC

Back To Top