r/UnityHelp • u/_Longrang3_ • Apr 17 '21
r/UnityHelp
•
u/Professional-Ice2466
•
Mar 17 '26
Linux Unity Android Build Support Install failed: Installation failed - Unity Hub failing to install android build support for unity editor on linux [SOLVED]
I was trying to get unity to work on my fedora kde plasma laptop and build for android but every time i tried installing build suport for Android i got a generic error message saying installation failed, when i went to the logs i saw something like this that stood out.

Some error when trying to extract the packages with 7z, apparently this is because the android SDK or other development kit is very big and when it tries to extract it it runs out of virtual space in /tmp and the process exits.
i was able to fix this by making a new directory in home:
mkdir ~/unity_tmp
and launching unity and telling it to use that directory ("unityhub" for me but if you have an app image put in the path to that instead of "unityhub"):
TMPDIR=~/unity_tmp unityhub
And after installing Android Build Support now it worked.

Hopefully someone else who also stumbled across this issue will find this helpful, and if it didn't help i suggest looking in the logs for clues to your issue.
:)
r/UnityHelp • u/BiBiscuit23 • May 30 '25
Grabber works perfectly until I try to grab something
The claw is the child of the arm piece it's connected to, which is being pulled by an invisible game object following the mouse.
Please tell me if there is a better way to do this or if I could add to it.
I'd really like it to function/move the same, it just need to be able to grab and throw stuff.
I'm not too sure what info to include so ask anything.
r/UnityHelp • u/awpas50 • Feb 04 '22
UNITY Old game save gone after a new WebGL build is uploaded on itch.io
(SOLVED, check below)
I was using Binary Formatter to build up my save system for my game. The save system was in a static class called SaveSystem and has two methods, Save() and Load(). I was following the tutorial from Brackeys to build up this system. It completely works fine when I was assigning "Application.persistentDataPath" as the save path (see the pic below).
However, the URL that hosts the build will change every time I upload a new build, and the old save will be gone.


I searched for days and it seems not many people investigated this problem, and this tutorial gave me the closest solution, although it doesn't work for me (https://ddmeow.net/en/game-dev/save-persistent-itch-io/).
This tutorial suggests assigning an absolute path, but the weird thing is, it can't save anything and hence loading the save file will result in a bunch of empty data. On the other hand, the customized path did exist in the browser source code (see the pic below). Does anyone have any suggestions?


--------------------------------------------------------
2023 Feb 10:
I forgot to post my solution on this Reddit post (I did solve it but I posted it on another website)
My approach:
You need to define a custom path. I named it "/idbfs/motorland0212" + "/save1.dat". (If you write "/idbfs/motorland0212/save1.dat"; it also works). "motorland0212" can be anything you want, you can even put "abcdefg". "Application.persistentDataPath" doesn't work due to an unknown reason.
When creating a directory manually (line 30), you cannot write Directory.CreateDirectory(path); It must be Directory.CreateDirectory("/idbfs/motorland0212"); otherwise, you will get an empty folder named save1.dat.
2. Remember to add JS_FileSystem_Sync();

r/UnityHelp • u/No_Composer_9648 • Jun 17 '25
SOLVED Animation issue
So i'm having an issue with animating the mouth on my REPO character. For some reason the rotation keeps getting reset. But for some reason i can animate the eyelids without issue.
Any idea how i can fix this?
r/UnityHelp • u/Fine-Clue-5965 • Jun 01 '23
Dotted white boxes covering variables??
I just updated Unity to the latest version and upon opening my project, found these white box thingies covering certain variables. They're on variables that I just coded in, as well as variables that were there already, such as on a mesh renderer that came with a package I installed from Unity Learn. I can't figure out how to get them to go away, and they also don't let me edit those respective variables in the properties section. I can edit them THROUGH the boxes, but it's not like I can see what I'm typing. Please help!!
UPDATE: So I figured out it was connected to my layout for some reason. It turns out there was a strange filter on the bottom half of my screen, which also caused this to show up on my toolbar as well as the particles panel that showed up. I realized because I was moving it around and saw that the "filter" went away if I moved it up, and went back on part of it as I moved it down. I'll investigate a bit but I've got no clue what happened. Thank you for taking the time to read and please let me know if this rings a bell!

r/UnityHelp • u/weird_wolfgang • May 07 '21
Having Trouble with GetKeyUp and GetKeyDown
In update I check for 3 things: if a certain key is currently down, the moment it is pressed down, and the moment it comes up:
if (Input.GetKey(KeyCode.Alpha1) )
{ does something }
if (Input.GetKeyDown(KeyCode.Alpha1))
{ does something }
if (Input.GetKeyUp(KeyCode.Alpha1))
{ does something }
For some reason the get key up and downs at the beginning and end dont register more than half the time i press them. They do go off sometimes oddly enough but not reliably. Is this a problem with my computer as opposed to Unity? Will it fix when I build the game? Did I do something incorrect? Is there a better alternative to GetKeyUp and Down?
r/UnityHelp • u/Bolonhesa20 • Jan 01 '21
UNITY Can't Create a Tile Palette
SOLVED!
Still Helpful
Hello, I am trying to create a tile palette in Unity 2D but when I click "create" and select a directory it doesn't create itself.
I have tried different directories and checking if the palette was created, but it never is. In the Breackeys video, he selects a place (directory), and then a palette is created but for me, nothing happens.
Restarting Unity or creating a new project does not work. I am on the latest version
Any help is very much appreciated.


r/UnityHelp • u/levi-eat-world • 10d ago
Crazy Jitter Issues
I have this pizza ticket printer that prints out prefab ticket objects. each prefab has a box collider, but no rigidbody until one gets assigned to it when the print happens. it works just enough to make me not give up, but I'm worried that it's a Unity limitation with the box colliders being so thin. They're set to about 0.01 in thickness. Collision detection is set to Continuous Dynamic, not really sure how to solve this issue. There's also some weird stuttering as the chain grows.
r/UnityHelp • u/Inevitable-Dust-3793 • 29d ago
Unity Hub refusing to let me log in
ever since a few days ago, unity has been going through an incredibly obnoxious cycle.
i open unity hub for the first time upon restarting my pc, it lets me use it perfectly fine, then i restart the app and it logs me out, the Sign In button not taking me to the sign in page.
this problem has been occurring for the last few days unfortunately, i've tried reinstalling, deleting every unity related file and reinstalling, but nothing has fixed my issue.
if anyone has any clue how i'd fix this, it'd be very appreciated.
this problem has been happening ever since i set firefox as my default browser, if that adds any info for how to help, though i have switched default browsers many times and it didn't work.
r/UnityHelp • u/PirateJohn75 • Sep 19 '26
Health Bar Silhouette
I drew a cartoon bone that I will use as my player's health bar. When the player's health is full, then the bone will be green, and as the health decreases, the green will start to diminish as seen in the attached photos. Is there a good tutorial online for achieving an effect like this? I've seen some health bar tutorials where they use an image that is half clear (or red) and half green and use an image offset to make the green bar appear to move, but that method only works if the health bar is a rectangle. Mine is an odd shape.
r/UnityHelp • u/PotatoreaperEXE • Jul 07 '26
PROGRAMMING how would I make UI element that moves like memory foam?
ive been working on a project that needs the player to "eat" non edible objects and to track that i was thinking of having UI that "stores" the objects in a stomach but for the life of me I can't think of a way to have it keep its form without being completely rigid. any help would be beyond appreciated.
the closest i could get is having it detect if the object is in the "hands(the 2 sticks on the side of the screen)" and then destroying said object if the player presses E but that doesn't really do anything other than destroying it so yeah
(i also haven't managed to figure out how to get UI to work either )
r/UnityHelp • u/vivekjha92 • Apr 30 '26
UNITY Unity ConfigurableJoint - train rockets on spline spawn
reddit.comr/UnityHelp • u/Relevant-Isopod-6146 • Oct 07 '25
FloatingOrigin
I'm trying to make floating point work and keep on bugging out. My player has a rigidbody with interpolate and continuous. This is my code that moves everything in the scene but the player :
public class FloatingOrigin : MonoBehaviour
{
private enum MoveingScene { Idele, IsMoving, StopMoving };
[SerializeField] private List<GameObject> objects = new List<GameObject>();
[Header("Debug")]
[SerializeField] private MoveingScene movingScene = MoveingScene.Idele;
private GameObject player;
[SerializeField] private float threshold = 100.0f;
[SerializeField] CarController activeCarController;
[SerializeField] GameObject trackingObject;
[SerializeField] private bool isTrackingCar = false;
[SerializeField] private Vector3 currentTrackingPosition;
private void Start()
{
// Find player at start
player = GameObject.FindGameObjectWithTag("Player");
}
private void Update()
{
Vector3 originPosition = GetTrackingPosition();
originPosition.y = 0f; // Keep Y at 0 for floating origin
currentTrackingPosition = originPosition;
if (player == null)
{
player = GameObject.FindGameObjectWithTag("Player");
if (player == null) return;
}
if (movingScene == MoveingScene.Idele && originPosition.magnitude > threshold)
{
ApplyFloatingOriginOffset(originPosition);
}
else if (movingScene == MoveingScene.StopMoving)
{
movingScene = MoveingScene.Idele;
}
}
private Vector3 GetTrackingPosition()
{
if (activeCarController != null && activeCarController.PlayerInCar())
{
// Player is in a car, track the car's position
isTrackingCar = activeCarController.PlayerInCar();
trackingObject = activeCarController.gameObject;
return activeCarController.transform.position;
}
else
{
// Player is not in a car, track player's position
isTrackingCar = false;
trackingObject = player;
return player.transform.position;
}
}
private void ApplyFloatingOriginOffset(Vector3 offset)
{
if (movingScene != MoveingScene.Idele)
return;
movingScene = MoveingScene.IsMoving;
// --- Disable physics while we shift ---
if (trackingObject != null)
{
var rb = trackingObject.GetComponent<Rigidbody>();
if (rb != null) rb.isKinematic = true;
}
// --- Shift all objects ---
foreach (GameObject obj in objects)
{
if (obj == null) continue;
obj.transform.position -= offset;
}
// --- Also shift any dynamically tracked objects not in the list ---
if (trackingObject != null && !objects.Contains(trackingObject))
{
trackingObject.transform.position -= offset;
}
// --- Re-enable physics ---
if (trackingObject != null)
{
var rb = trackingObject.GetComponent<Rigidbody>();
if (rb != null) rb.isKinematic = false;
}
// --- Reset the tracking origin ---
currentTrackingPosition = Vector3.zero;
movingScene = MoveingScene.StopMoving;
}
// Debug visualization
private void OnDrawGizmos()
{
if (!Application.isPlaying) return;
// Draw threshold sphere
Gizmos.color = new Color(1, 1, 0, 0.1f);
Gizmos.DrawWireSphere(Vector3.zero, threshold);
// Draw current tracking position
if (currentTrackingPosition != Vector3.zero)
{
Gizmos.color = isTrackingCar ? Color.red : Color.green;
Gizmos.DrawWireSphere(currentTrackingPosition, 2f);
Gizmos.DrawLine(Vector3.zero, currentTrackingPosition);
// Draw distance text (requires Handles in editor)
#if UNITY_EDITOR
UnityEditor.Handles.Label(
currentTrackingPosition + Vector3.up * 5f,
$"Distance: {currentTrackingPosition.magnitude:F1}\nTracking: {(isTrackingCar ? "Car" : "Player")}"
);
#endif
}
}
}
it keep on moving the player back to the outside the ring and not at the Origin can any help me fix this thanks
r/UnityHelp • u/Smoopadoop • Sep 23 '25
Rendering issue only on surface pro 11
I recently released a demo version of my game, and one of my players sent me back these videos, which I have attached to this post with permission. They state to be running the game on a Surface Pro 11, and that these graphical issues don't appear on their other computer which runs Windows 10. This architecture for this build is x86_64. The material of the ground, which disappears in the first clip, uses the standard default unity shader. The shader of all other things in the scene is Toony Colours Pro 2... but I don't think this is an issue with tcp2. My unity version is 2021.1.21f1 (because I have been told that updating unity halfway through a project is the devil... I already did it once long ago and fixing everything afterwards was a nightmare.)
I am not sure what other information to attach, but I'll try to give you any information you ask for. I've tried to look into this, but I haven't been able to find any helpful information and have run out of search terms. If anyone has any advice, any leads, any suggested search terms, or anything at all which may help me, I would be very very very grateful.
r/UnityHelp • u/Peeterrrrrrr • May 23 '21
UNITY Unity Package Manager Error
Could not estabilish a connection with the Unity Package Manager local server process. This is most likely due to a proxy or firewall configuration. Make sure the process [C:/Program/Files/Unity/Hub/Editor/2019.4.26f1/Editor/Data/Resources/PackageManager/Server/UnityPackageManager.exe] is reachable via HTTP on the IP adress 127.0.0.1 in Windows Defender or any other proxy/firewall software configuration.
So i created a new project in unity but i can't continue doing it because every attempt to open this project ends up with the same error popping up. Pls help because i can't find the solution to this error on the internet.
i clicked "Diagnose" and this appear in cmd:
√ Measuring the latency of the UPM package registry API...
‼ Measuring the latency of the UPM package download endpoint...
√ Testing the Internet connection using the UPM package registry...
√ Testing the Internet connection using Speedtest.net...
√ Detecting whether proxy-related environment variables are set...
× Running the UPM health check...
Created report at 'C:\Users\FUJITSU\First 3D game ok\Logs\2021_5_23_10_40_59_diagnostic_report.txt'
~~~ NEXT STEP(S) ~~~
If any of the diagnostic checks displayed an error or warning, there may be a problem with your network configuration. Please contact your network administrator for help in diagnosing the issue(s). Refer to the diagnostic report for more detailed information:
C:\Users\FUJITSU\First 3D game ok\Logs\2021_5_23_10_40_59_diagnostic_report.txt
If all diagnostic checks passed successfully, your network configuration or software running locally on your machine may be preventing Unity from working correctly. Please refer to the following support topics for help in resolving this issue:
https://support.unity3d.com/hc/en-us/sections/360009266711-Package-Manager
If the probem persists after following all of the above steps, please submit a new bug report describing your issue. For instructions on creating a bug report, see:
https://support.unity3d.com/hc/en-us/articles/206336985-How-do-I-submit-a-bug-report-
When submitting a bug report, please make sure to attach the diagnostic report (C:\Users\FUJITSU\First 3D game ok\Logs\2021_5_23_10_40_59_diagnostic_report.txt) and accompanying log (C:\Users\FUJITSU\AppData\Local\Unity\Editor\upm-diag.log)
Press any key to continue . . .
r/UnityHelp • u/ChilllyTheDuck • May 15 '21
way to write in Hebrew in unity?
hey guys, can someone help with writing stuff in Hebrew in unity?
r/UnityHelp • u/RazorianBuck • May 13 '21
SOLVED in 3 seconds. UI text shows through 3d objects.
r/UnityHelp • u/Krispy-puffs • Feb 19 '21
UNITY “Setup requires the computer to be restarted before a visual studio can run” when i try to edit the script this pops up
r/UnityHelp • u/Ok-Presentation-94 • Sep 14 '26
Blender/Unity armature export
Hi, I've noticed a behavior I can't quite figure out when exporting my Blender armature to Unity. If I export just the armature on its own, the resulting prefab contains the bone as a child with the armature object itself acting as the prefab root. However, if I export it alongside another object (whether skinned or not), the armature object ends up as a direct child of the prefab root, with the other object also appearing as a child of the prefab root (making them siblings).
r/UnityHelp • u/Terrible_Reward8676 • Aug 21 '26
UNITY Weird shadow artifacts on the model with cel shading
I'm getting weird artifacts whenever I try to apply a cel shading shader to this object, I'm guessing it's the normals but I have no idea how to fix it.
I'm using Quibli for the cel shading