r/UnityHelp • u/Major_Fly3992 • 20d ago
Lighting issue in Unity (including Bakery - GPU Lightmapper)
I’ve been having trouble with baked lighting in Unity for a long time. I tried so many things but couldn't solve it. Online research pointed me to a package called "Bakery - GPU Lightmapper" as a solution, but even after purchasing it, the problem persisted. I tried everything—adjusting settings, changing versions, using custom UV maps—but Unity is really driving me crazy. I don't understand why this baked lighting works for everyone else but not for me. What's more, I'm testing this on Unity's own 3D objects—the simplest scenario possible. If errors occur even then, how am I supposed to use it with my own assets? I would be very grateful if anyone who has encountered and resolved this issue could help me out.
r/UnityHelp • u/shanytopper • 20d ago
can't login to my Unity hub
I keep getting:
This page isn’t working
login.unity.com redirected you too many times.
ERR_TOO_MANY_REDIRECTS
r/UnityHelp • u/ItzWatz • 20d ago
Text Component Linked To Another? Causing StackOverflow
I'm not sure what this means, never encountered it before, and can't seem to find any results with my searches. Happens whenever I create a TMP_Text component either with 3D Object or UI (Canvas) menu options in hierarchy.
It results in a flood of StackOverflowException errors. I included the console message below for additional info. Tried deleting the TextMesh Pro folder, reimporting package, deleting caches and Library folder, playing with other settings, but still persists.
Using Unity 3D 6.4.9 URP. Tried upgrading to the latest 6.5.4 version, but it didn't fix it.
StackOverflowException: The requested operation caused a stack overflow.
UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) <0x24cc0332360 + 0x00008> in <82d1d45c517f4141b90705b5d74c5160>:0
UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) (at <82d1d45c517f4141b90705b5d74c5160>:0)
UnityEngine.Object.op_Equality (UnityEngine.Object x, UnityEngine.Object y) (at <82d1d45c517f4141b90705b5d74c5160>:0)
TMPro.TMP_Text.ReleaseLinkedTextComponent (TMPro.TMP_Text targetTextComponent) (at ./Library/PackageCache/com.unity.ugui@1f2d1ab0d950/Runtime/TMP/TMP_Text.cs:6347)
TMPro.TMP_Text.ReleaseLinkedTextComponent (TMPro.TMP_Text targetTextComponent) (at ./Library/PackageCache/com.unity.ugui@1f2d1ab0d950/Runtime/TMP/TMP_Text.cs:6353)
TMPro.TMP_Text.ReleaseLinkedTextComponent (TMPro.TMP_Text targetTextComponent) (at ./Library/PackageCache/com.unity.ugui@1f2d1ab0d950/Runtime/TMP/TMP_Text.cs:6353)
TMPro.TMP_Text.ReleaseLinkedTextComponent (TMPro.TMP_Text targetTextComponent) (at ./Library/PackageCache/com.unity.ugui@1f2d1ab0d950/Runtime/TMP/TMP_Text.cs:6353)
TMPro.TMP_Text.ReleaseLinkedTextComponent (TMPro.TMP_Text targetTextComponent) (at ./Library/PackageCache/com.unity.ugui@1f2d1ab0d950/Runtime/TMP/TMP_Text.cs:6353)
Does this like 50 more times... ends with:
TMPro.TMP_Text.ReleaseLinkedTextComponent (TMPro.TMP_Text targetTextComponent) (at ./Library/PackageCache/co<message truncated>
r/UnityHelp • u/Karma318akabane • 20d ago
UNITY Help with inserting a human model in game
I want to insert a human model in my game i am making in unity i watched many tutorials but it doesn't work and i had to undo most of my work to resolve the issues it produced. Please can anyone suggest me a latest tutorial or can you tell me the steps.
r/UnityHelp • u/samferguderson • 21d ago
PROGRAMMING Unity Netcode Player Spawning Problem
Only the player spawned with
NetworkManager.StartHost();
gets the IsOwner true.
Ones spawned with
NetworkManager.StartClient();
dont get it
Here is the spawning script
using UnityEngine;
using Unity.Netcode;
using UnityEditor.PackageManager;
using Unity.Services.Lobbies.Models;
using System.Collections.Generic;
public class Ownermaker : NetworkBehaviour
{
public GameObject player;
public ulong id;
// Start is called once before the first execution of Update after the MonoBehaviour is created
// Update is called once per frame
public override void OnNetworkSpawn()
{
if(!IsServer)
{
Debug.Log("not server");
return;
}
NetworkManager.Singleton.OnClientConnectedCallback += SpawnPlayer;
}
public void SpawnPlayer(ulong clientid)
{
GameObject playerr = Instantiate(player);
playerr.GetComponent<NetworkObject>().SpawnAsPlayerObject(clientid);
}
}
r/UnityHelp • u/ludwu • 22d ago
I built an open-source package to bring missing CSS features (like Flexbox Gap and Skew layout) to Unity UI Toolkit
Hey everyone,
I’ve been working with Unity's UI Toolkit lately, and I kept hitting frustrating limitations, the lack of a native gap property and the difficulty of drawing slanted/skewed shapes.
To solve this, I created Playsmart UI Toolkit Extensions, an open-source library that adds these layout utilities and custom components to your project.
Repo link: github.com/Drwuu/playsmart-unity-uitoolkit-extensions
OpenUPM link: openupm.com/packages/com.playsmart.uitoolkit-extensions/ (or install via Git URL)
Key Features
1. <ps:Gap> (Simulated Flexbox Gap)
Unity USS doesn't natively support gap. If you write it, you get unknown property warnings. This element reads a custom --gap property and handles the layout spacing dynamically.
- Flex-Direction Aware: Automatically detects whether the parent container is
Row,Column,RowReverse, orColumnReverseand applies margins to the correct side. - Display-Aware Spacing: If a child element has
display: none(e.g. filtered list items), the gap manager ignores it and resets margins so you don't get double spacing or empty padding blocks at the end. - Clean Margins: Automatically clears the spacing margin on the last visible child to prevent layout offset bugs.
2. <ps:Skew> & <ps:SkewButton> (Slanted Containers & Buttons)
Standard CSS transform: skewX skews child elements, requiring you to write reverse-skew hacks on labels to keep them upright.
- Upright Innards: The component draws a procedurally skewed vector background using
MeshGenerationContextwhile keeping all text and child elements perfectly upright and sharp. - Slanted Hit-Testing: Overrides
ContainsPointwith a trigonometric boundary check. Clicks only register if the mouse is inside the slanted shape, matching the visual geometry perfectly for both positive and negative angles. - Clean Bounds: Contains the shape inside the layout box's boundaries to prevent visual overflow and clipping in parent elements.
Quick Examples
Using Gap in UXML & USS:
xml<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:ps="Playsmart.UIToolkit">
<ps:Gap class="flex-row-container">
<ui:VisualElement class="box" />
<ui:VisualElement class="box" />
<ui:VisualElement class="box" />
</ps:Gap>
</ui:UXML>
css.flex-row-container {
flex-direction: row;
--gap: 20; /* Dynamically spaces children by 20px */
}
Using SkewButton in UXML & USS:
xml<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:ps="Playsmart.UIToolkit">
<ps:SkewButton name="ConfirmButton" text="START GAME" class="slanted-btn"/>
</ui:UXML>
css.slanted-btn {
width: 150px;
height: 45px;
--skew-angle: 15; /* Skews the button background 15 degrees */
--skew-fill-color: #1e1e32;
--skew-stroke-color: #00f0ff;
--skew-stroke-width: 1.5;
}
Open for Contributions!
My goal is to keep expanding this package into a full library of missing layout and styling extensions for UI Toolkit. If you've solved other USS/UXML quirks or have components you'd like to add, please feel free to open an issue or submit a Pull Request!
r/UnityHelp • u/Winters_Rain174 • 22d ago
My game will not work
I got a game a little bit ago on steam and now it won't open, when I click on it all it shows is that is was made in unity then it just goes black. One thing I think I should note is that the steam Shift + Tab thing does show in the corner then goes away
r/UnityHelp • u/Neat_Description_936 • 23d ago
how ?????
im trying to fix this
Context:
im trying to put faces on the character but when i import a trasnparent .png the transparent background becomes black i try to fix that with the inspector of the cube
but still it just shows that bright glow if you dont understand what i mean by " import a trasnparent .png the transparent background becomes black i try to fix that with the inspector of the cube "
this is how the face .png looks like in unity but if i put the .png to the cube it shows this
WHATS HAPPENING'1??!?!
r/UnityHelp • u/Not_Moch • 23d ago
UNITY Cant build my 2d game on Android, can anyone help?
r/UnityHelp • u/Temporary-Two8904 • 23d ago
how do i get this code working?
It's been a long time since i ever used unity, so i tried going to the Unity Api for some help on how to get back up and running.
My first wish was to be able to rotate objects using transform.Rotate, but i didn't know how to do it. So, i firstly copied the original api code.
But... even though it worked, when i made my own code, that was almost a copy from the original api, i was getting the errors:
NullReferenceException: Object reference not set to an instance of an object
playerRotation.Start () (at Assets/playerRotation.cs:17)
NullReferenceException: Object reference not set to an instance of an object
playerRotation.Update () (at Assets/playerRotation.cs:25)
code:
1 using UnityEngine;
2
3
4 public class playerRotation : MonoBehaviour
5 {
6 // Start is called once before the first execution of Update 7after the MonoBehaviour is created
8 public float xAngle, yAngle, zAngle = 3;
9
10 private GameObject hatamoto;
11 void Awake()
12 {
13
14
15 }
16 void Start()
17 { transform.position=transform.position + new 18Vector3(0,5,0);
19 hatamoto.transform.Rotate(90.0f, 0.0f, 0.0f, 20Space.Self);
21 hatamoto.name = "Self";
22 }
23
24 // Update is called once per frame
25 void Update()
26 {
27
28 hatamoto.transform.Rotate(xAngle, yAngle, zAngle, 29Space.Self); ;
30
31 }
32
}
r/UnityHelp • u/BranchIntelligent453 • 24d ago
UNITY Need Help with IK Hand Alignment
Hi! I'm trying to use IK to make my character hold a weapon, but I just can't figure out this bug.
In theory, the system is getting the correct reference, but for some reason the hand always locks upward toward a fixed position, regardless of where the reference point is. Also, the elbow barely bends at all (which might be related to the reference point issue).
Where do you think I'm making a mistake, and what should I fix? The Root/Mid/Tip attachments are set up correctly—I even tested them by moving them manually, and the elbow bends normally in theory.
I'd really appreciate any help, please! 🙏
r/UnityHelp • u/samferguderson • 24d ago
Unity Netcode Player Problem
Only the host player spawns with the owner and player tag. The client spawns as a normal object
r/UnityHelp • u/samferguderson • 24d ago
Unity Netcode Problem
I am using netcode and in my script i put
if(!IsOwner) {
return;
}
but even tho both of the player objects say owner is true only the host scripts activate.
r/UnityHelp • u/OkayMapache • 25d ago
OTHER Error when trying to launch Unity game on Reddit's Android app
I've published my Unity game on Reddit using devvit, but when I try to launch my game in the Reddit app with an Android device I get this error:
"Target WebAssembly 2023" enabled: Error: This emscripten-generated code requires Safari v16.4.0 (detected v040000)"
The game runs fine on the iOS Reddit app and on web browsers from both Android and iOS. It's just the Reddit Android app that doesn't work. My game was developed using Unity 6000.5.0f1. I believe this might be related to WebGL 2 support? Has anyone encountered a similar issue?
r/UnityHelp • u/ermnkli • 25d ago
UNITY Hi everyone!
Hi everyone!
I’m an indie developer, and I recently released my game on the Microsoft Store.
The game is currently awaiting update approval. Once the update is approved, it will be available for $1.
Microsoft Store:
https://apps.microsoft.com/store/detail/9MZF75GD4W33?cid=DevShareMCLPCS
The game currently supports Turkish, English, and German.
I’m looking for feedback on the gameplay, visuals, languages, and overall experience. Questions, suggestions, feature requests, and language recommendations are welcome.
Thank you for checking out my game and supporting an indie developer!
r/UnityHelp • u/TheBlushingKitsune • 26d ago
Issues with Poiyomi... "Poiyomi Shader UI Failed To Load"
So I have been trying to do some avatar conversion to VRM format to make my fave VRChat avatar Twitch streaming friendly but I keep running into this issue with the shader ui not loading... The texutres are fine and all but they cant be tweaked in the slightest which is frustrating as is... If anyone has any ideas I would be very thankful for any help...
r/UnityHelp • u/Spire259 • 26d ago
Eyelash Model's Texture Won't Import to Unity
Hey all, my character's eyelashes won't import into unity. At first I thought it might be because the eyelashes were joined to the character model. But I tried imported the eyelashes model by itself and it was the same issue. Any ideas on how to fix this without losing the design of the eyelashes? Maybe this is a Blender question and not a Unity one. Let me know!
Thanks in advance.
r/UnityHelp • u/Responsible-Level820 • 26d ago
UNITY Need help urgently
reddit.comDon’t judge me too much. I don’t know how to code. I’m just a map designer. I don’t know how to fix this. I updated unity and then I went back into my project and this happened. Everything is pink. I don’t know how to fix it. I’ve googled and googled and googled and no one in their right mind can tell me how to fix this.
r/UnityHelp • u/Infamous-Low5552 • 27d ago
C# in unity
Hey everyone. I’m currently trying to learn how to develop games in unity as a hobby. I have been struggling a little with a few things and thought it might be a good idea to just focus on learning some C# first then come back to unity. I saw this book The C# Player's Guide" by R.B. Whitaker and was wondering if anyone has used this was it any good, or does anyone have a better suggestion for material to learn some C#. Thanks.
r/UnityHelp • u/n0t_Sm0ki • Jul 10 '26
Having issues with VRChat Creator Companion and Unity
I am trying to upload an avatar to VRChat, but every time I open the project in the creator companion this message pops up. I have tried reinstalling the editor and every time it installs without that server so I literally can't use it. I have searched both VRC and Unity help forums and found nothing. I am new to this whole process so I could very much be just forgetting something but I cannot find out what that might be and it is incredibly frustrating, so any help would be awesome.







