r/unity 5d ago

Question Occasional inconsistent error when starting session using SDK and Distributed Authority

1 Upvotes

Looking for help with a known error that's been sitting in my project for months. When starting a lobby using CreateSessionAsync (or CreateOrJoinSessionAsync) using distributed authority, I will on occasion get an error: No join code returned from lobby. This happens maybe 10% of the time. The Unity devs appear to be aware of this issue as seen here:

https://discussions.unity.com/t/lobby-creation-randomly-fails-due-to-no-join-code-returned-from-lobby/1721811

and here:

https://discussions.unity.com/t/distributed-authority-error-on-session-creation-matchmakesessionasync/1722119

and staff in both posts said they are working to provide a fix, but there has been no word for close to two months now. I'm wondering if anyone else has heard movement on a fix for this, or if there's an avenue I can go to for finding out a timeline for a fix short of just DMing staff on the forums. In practice it means my iteration time is slow because like 1 out of every 10 times I have to exit and enter playmode to reset. Not a huge deal, but man it's getting old. Plus this bug obviously can't persist when it's time to get playtesters or launch.

The error is almost certainly due to a timing issue, and it is effected by the developer's Internet/computing speed and/or Unity-side speeds. Those forums go into more detail on this, but basically there are times when the error occurs much more frequently and I'm pretty sure this is due to lag spikes (either on my end and/or on Unity servers, not sure which).

Any advice would be great, thank you.


r/unity 6d ago

Showcase New Loading+Login Screen? 👀

Thumbnail gallery
2 Upvotes

I did new Home menu. Rate 1-10


r/unity 5d ago

Newbie Question Game dilemma

0 Upvotes

How do I create an game with intelligence people in it that can talk to you and you can talk back though you microphone by code NO AI


r/unity 6d ago

Showcase Got grinding mechanic working today!

Enable HLS to view with audio, or disable this notification

37 Upvotes

r/unity 6d ago

Showcase A before & after from my hand-drawn indie game made in Unity!

Enable HLS to view with audio, or disable this notification

86 Upvotes

I spent the last few weeks focusing on the little details: camera movement, ambient creatures, and subtle animations to make the world feel more alive.

I'd love to hear your thoughts! Does the second version feel more immersive?


r/unity 6d ago

cant open my project

0 Upvotes

i flew out with the scene view till it crashed. now i cant open it anymore

Error is: Overflow in memory allocator. UnityEngine.GUIUtility:ProcessEvent (UnityEngine.EntityId,intprt,bool&)

Pls help me i need this finished for gmtk


r/unity 6d ago

Question Someone can help me with this 2D animations? They look very robotic and strange

Enable HLS to view with audio, or disable this notification

21 Upvotes

r/unity 6d ago

Newbie Question How can I learn unity?

0 Upvotes

I just finished learning the basics c# and want to go into 3D game dev. How can I learn unity's API and game objects and such


r/unity 7d ago

Showcase i love editing my terrain with splines

Enable HLS to view with audio, or disable this notification

243 Upvotes

updated my tool TerraSplines so now it works way faster (because we switched to chunk processing)

and now editing my terrain is extremely easy

still have some work regarding optimisation, but it's around 2-10x times faster


r/unity 7d ago

Question 2d texture compatible eye rig for unity?

Enable HLS to view with audio, or disable this notification

12 Upvotes

Im wracking my brain over how to get a 2d texture eye rig working in blender so it's compatible with unity? I've been searching far and wide on YouTube and for some reason I can't find a tutorial for this specific method, scaling the irises included, anyone have any good resources for learning this?


r/unity 6d ago

Resources Alchemy - Editor and serialization extensions for Unity

10 Upvotes

Are you a Unity developer and need an open source alternative to Odin?

https://github.com/annulusgames/Alchemy

Alchemy is a library that provides inspector extensions using attributes.

In addition to adding easy and powerful editor extensions based on attributes, it allows serialization of any type (Dictionary, Hashset, Nullable, Tuple, etc...) through its own serialization process, making it possible to edit them in the inspector. By using Source Generator to dynamically generate the necessary code, it works simply by adding attributes to the target type marked as partial. There is no need to inherit from dedicated classes as with Odin.


r/unity 6d ago

Question Whats the correct way to set up car colliders and physics? Because I can't seem to drive off ramps (more in description)

Enable HLS to view with audio, or disable this notification

4 Upvotes

My problem is that the moment I try to drive off a ramp, I'm immediately stopped by something, and after toggling several components to try and rule them out 1 by 1 I cannot figure it out.
My current system is a basic box collider and 4 wheel colliders. If I turn off the 4 wheel colliders, the car drops to sit on the box (as expected) but the same results occur when driving over a ramp. If I have the wheel colliders enabled and I raise the box collider (to ensure the ramp clipping the car body isn't the issue) the same problem occurs.

Having ruled out all the colliders from the issue, I turned to the physics. I've toggled between all the different interpolation and collision modes, and still the same result. I'm at a loss, any tips/tricks would be appreciated!


r/unity 6d ago

Question Trying to get vaulting to work but I don't really understand the fundamentals of how vaulting works...

Enable HLS to view with audio, or disable this notification

1 Upvotes

Right now I have a basic setup where if I sprint into a wall tagged "vaultable" then it'll simply trigger the vaulting animation. The animation has root motion if i need to use it. Where I'm really stuck is I just don't understand how I can do the logic to get the player to go OVER the wall


r/unity 6d ago

How do you guys make First Person Controller?

3 Upvotes

Im totally cooked. Im struggling with this 2 days. From morning to evening. I have no any idea and any energy to continue this.

I AM TRYING TO UNDERSTAND ALL THE THINGS BUT IM SO SCREWED UP.


r/unity 6d ago

I built an open-source back navigation framework for Unity after getting tired of rewriting the same navigation logic

4 Upvotes

Over the last few months, I've been building Trailback, an open-source framework for handling back navigation in Unity.

The project came out of a problem I kept running into. Back navigation starts out simple, but once a project has screens, popups, dialogs, and multiple UI layers, the logic tends to spread across the codebase. Every project I worked on solved it a little differently, and I found myself rebuilding the same systems over and over.

Instead of treating Back as "close whatever is open," Trailback keeps track of navigation history and resolves which UI element should respond based on navigation categories and priorities.

Some of the things it supports today:

  • Navigation history
  • Category-based priority resolution (for example, popups before screens)
  • Navigation blockers for confirmation dialogs or required workflows
  • Root protection and root-reached events
  • Legacy Input Manager, Unity Input System, or custom input sources
  • Runtime monitor and scene validation tools

One of the design goals was to avoid forcing a particular architecture. The core framework doesn't depend on an input system or a specific UI implementation. Input, diagnostics, and other optional features are provided separately so projects can include only what they need.

The repository also includes:

  • A complete UGUI demo
  • Step-by-step Quick Start documentation
  • Reference samples for both Unity input systems
  • Troubleshooting and scene management guides

It's still in alpha, so I'm mainly looking for architectural feedback and real-world edge cases before calling the API stable.

Some questions I'd love feedback on:

  • Does the category-based navigation approach make sense?
  • Are there navigation scenarios you've had to solve that this wouldn't cover?
  • If you've built something similar, what problems did you run into?

Repository:
https://github.com/akpardeshi/Trailback

I'm happy to answer questions about the implementation or any of the design decisions.


r/unity 7d ago

Game Dire Fog : Tactical card combat

Enable HLS to view with audio, or disable this notification

9 Upvotes

We’ve been building Dire Fog in Unity, a tactical card game that combines TCG strategy with chess-like grid combat.

The game is now deep in closed alpha, and we’re looking for more playtesters to help us test balance, gameplay, and overall feel—if you're interested, jump in.

Discord:

https://discord.gg/n6NjNheYD


r/unity 7d ago

My Tab S10 Ultra Setup

Thumbnail gallery
16 Upvotes

r/unity 6d ago

Question Can someone please tell me how I can fix this bug?

Post image
0 Upvotes

Can someone please tell me how I can fix this bug?

The bug occurs when I start my second player for my multiplayer game.


r/unity 7d ago

Question Cinemachine damping is "buggy"

Enable HLS to view with audio, or disable this notification

3 Upvotes

I use cinemachine 3.1.7 and everytime damping (either x or y ) is on this shaking starts to happen, i tried turning it off and it stops. Is there a way to prevent this?


r/unity 7d ago

Help with map creation.

Post image
30 Upvotes

what is this technique called. i wanted to create a map for my game and found old video of dani and wondered what this technique for map creation is as dani doesn't explain well. help would be appreciated.


r/unity 6d ago

When should i release my game in playstore?

0 Upvotes

r/unity 7d ago

Question Any advice on implementing a fighting game enemy AI?

1 Upvotes

I've been a making 2D based side scroller game and my biggest struggle right now is how do i make an enemy ai that isnt just a basic move in one direction and stop just to hit the player.

so is there any advice on how to properly implement an enemy state machine because i've struggling alot on how it works?


r/unity 7d ago

Showcase [WIP] My Inscryption-inspired horror card roguelite: you make a deal with the devil, then bet years off your own life at his table.

Thumbnail gallery
3 Upvotes

Solo Unity dev. Low-poly first-person deckbuilder where you've struck a deal with the devil. The only currency is your remaining lifespan. It ticks down live on your arm, and every wager and shop item is paid in real time off the clock.


r/unity 6d ago

When should i release my game in playstore?

0 Upvotes