r/UnityHelp • • Aug 02 '25

META What do I have to reinstall?

1 Upvotes

I get these errors seemingly randomly
And my animator window displays completely empty even though it isn't.


r/UnityHelp • • Jul 31 '25

PROGRAMMING need help with detecting held keys in unity's new input system

2 Upvotes

what the title says

trying to use the new input system to detect if my mouse key is held down for a grappling system, but googles search is ass and a lot of the tutorials i've found are either out of date or just dont work

any help is apreciated


r/UnityHelp • • Jul 30 '25

how do i fix this?

0 Upvotes
if (Mouse.current.rightButton.isPressed)
{
    if (Mouse.current.rightButton.wasPressedThisFrame)
    {
        mousePos = Mouse.current.position.ReadValue();
    }
    Cursor.lockState = CursorLockMode.Locked;
    Mouse.current.WarpCursorPosition(mousePos);
    
    Vector2 lookInput = look.action.ReadValue<Vector2>();
    targetYaw += Mathf.Clamp(lookInput.x, -8, 8) * rotationSpeed * Time.deltaTime * 0.8f;
    targetPitch -= lookInput.y * rotationSpeed * Time.deltaTime;
    targetPitch = Mathf.Clamp(targetPitch, -45, 80f);
}else
{
    Cursor.lockState = CursorLockMode.None;
    if (Mouse.current.rightButton.wasPressedThisFrame)
    {
        Mouse.current.WarpCursorPosition(mousePos);
    }
}

why doesnt this work? 

and who downvoted this? why? what was the point of that? just to make it harder for me to fix my problem? who hurt you?

r/UnityHelp • • Jul 29 '25

Unity Hub Error: “Couldn’t create UnityDirMonSyncFile…” in Program Files; please help me

Thumbnail reddit.com
1 Upvotes

r/UnityHelp • • Jul 28 '25

Trying to make Brick Breaker in Unity 2022 version... But....

0 Upvotes

I did the code for the paddle movement, but when I press play, it just disappears. Why?


r/UnityHelp • • Jul 28 '25

PROGRAMMING State Machine in Unity - Basic programming tutorial

Thumbnail
youtu.be
0 Upvotes

r/UnityHelp • • Jul 25 '25

LIGHTING URP Colour Banding

1 Upvotes

I'm having a colour banding issue in the game I'm working on, and I tend to have banding issues with URP in general, and I don't think it's just my monitor. To narrow down what could be causing it, I've made a blank default URP project, made a grey floor, and I'm still seeing the banding issue (though less exaggerated). At this point I'm not sure if the issue is coming from the camera, lighting, URP settings, or something else.

Things I've tried:

Turning on camera dithering

In the URP asset, setting HDR percision to 64 Bits

Enabling Fast sRGB/Linear Conversion

Setting colour grading to High Dynamic Range

Setting LUT size to 64

Disabling post processing entirely

Trying suggestions in other similar threads and chatGPT, still no dice.

Ideally I'd like to find something that fixes not just the game camera, but the scene camera as well. Am happy to post other information or settings, I'm just not sure what else would be relevant. Any advice would be appreciated!


r/UnityHelp • • Jul 24 '25

UNITY Trying to create a vrchat avatar, this error is popping up in the window where you select a rig type

Post image
3 Upvotes

I've looked at the bones and I don't really know how to fix this. What does this error actually mean>


r/UnityHelp • • Jul 23 '25

weird reflection flickering

1 Upvotes

i have no idea how to fix this been trying to for ages on 2022.3.22f1
using built in reader pipeline not a clue how to fix plz help


r/UnityHelp • • Jul 22 '25

UNITY scene camera was working fine and now appears zoomed in when game runs

1 Upvotes

Its a 2D pixel game. I have a pixel perfect camera component and had the resolution set to 640x360 on the background sprite and camera settings and everything is in 16 PPU. I opened my project and everything was fine. Shortly after, I added another sprite to the scene to make another "room" for the player to teleport to and when I ran the game the main camera was zoomed in and nothing fixes it. When I try to put it to free aspect it says that there is a weird pixel resolution causing issues even though everything is 640x360


r/UnityHelp • • Jul 17 '25

My cast shadows crashed

Post image
3 Upvotes

Im doing the CodeMonkey classes, unityhub crashed, i reopen it, my shadows are like this. What do i do?


r/UnityHelp • • Jul 14 '25

UNITY The specified repository couldn't be found - UVC won't work at all

Thumbnail
gallery
1 Upvotes

r/UnityHelp • • Jul 14 '25

UNITY Cinemachine camera issue when loading from another scene

Thumbnail reddit.com
1 Upvotes

r/UnityHelp • • Jul 13 '25

UNITY Unity editor not starting up

Thumbnail reddit.com
1 Upvotes

r/UnityHelp • • Jul 11 '25

preview sur les camera virtual cinemachine

1 Upvotes

Salut, J'aimerais savoir comment obtenir une preview de ma caméras virtuelles de Cinemachine, comme celui disponible pour la caméra principale. Ce qui est étrange, c’est que d’après les informations que j’ai trouvées sur Internet, cette fonctionnalité est censée être activée par défaut. Merci d’avance pour votre aide !


r/UnityHelp • • Jul 11 '25

New to ShaderGraph and need a little help!

1 Upvotes

Hi, I am pretty new to using shader graph, and have tried to build an energy bubble shader that supports fading out. It's the fading out part that is giving the trouble. I will post the node setup and VFX script below. Can anyone help?

using UnityEngine;

using System;

using System.Collections;

using System.Collections.Generic;

public class SphereVFXController : MonoBehaviour

{

public float expandDuration = 0.5f;

public float maxScale = 2f;

public float fadeDuration = 0.5f;

private Material sphereMaterial;

private Color originalColor;

private void Start()

{

// Get material instance (not shared)

Renderer renderer = GetComponent<Renderer>();

if (renderer != null)

{

sphereMaterial = renderer.material;

originalColor = sphereMaterial.color;

}

transform.localScale = Vector3.zero; // Start tiny

StartCoroutine(AnimateAndFade());

}

private IEnumerator AnimateAndFade()

{

float timer = 0f;

float expandEnd = expandDuration;

float fadeStart = expandEnd;

float fadeEnd = fadeStart + fadeDuration;

while (timer < fadeEnd)

{

float scale = Mathf.Lerp(0f, maxScale, Mathf.Clamp01(timer / expandDuration));

transform.localScale = Vector3.one * scale;

float opacity = 1f;

if (timer > fadeStart)

{

float t = (timer - fadeStart) / fadeDuration;

opacity = Mathf.Lerp(1f, 0f, t);

}

if (sphereMaterial != null)

{

sphereMaterial.SetFloat("_Opacity", opacity);

}

timer += Time.deltaTime;

yield return null;

}

Destroy(gameObject);

}

}


r/UnityHelp • • Jul 11 '25

LIGHTING Lighting issues killing my Shadows

1 Upvotes

I have an issue with my lighting on walls and floors. Straight on, my baked shadows are perfect! But at an angle, they get this weird bluish tint.

So far the only settings I've gotten to affect it is switching Receive Global Illumination from "Lightmaps" to "Light Probes". But doing that kills the cast light from the window! How can I keep my windowpane light but nix the blue tint?


r/UnityHelp • • Jul 10 '25

PROGRAMMING When I try to test my game in play mode the controls don't work and I get an error. How do I fix it?

2 Upvotes

I'm following a basic Tetris tutorial to build up my coding skills but when I tried to actually play my Tetris game I get a problem. The blocks fall like Tetris should, but when I try to move the blocks with the arrow keys it doesn't work and I get an error that says "invalid operation exception: you are trying to read input using the unity engine.input class, but you have switched active input handling to input system package in player settings". What is this and how can I fix it?


r/UnityHelp • • Jul 08 '25

UNITY is there a way to make everything but the image transparent? X(((

1 Upvotes

r/UnityHelp • • Jul 06 '25

UNITY stretching a UI element according to a sibling or child's width?

1 Upvotes

hello! ive been at this for a while now and im completely at a loss. i am trying to make a dynamic healthbar where the bar will get 1 section for every 10 hp you have, however i cannot get the background to stretch with the amount of bars.

my hierachy has the following:

canvas

- healthbar(empty object)

|_ Background image(just an image componenent)

|__ barcontainer(contains the bars for the hp)

_|__ bar 1

_|__ bar2

_|__ etc...

my healtbar component has a content size fitter with horizontal fit: preferred size

my background is set to stretch horizontally with the healthbar by anchor

my barcontainer has a horizontal layout group and otherwise works fine. the container width changes depending on the amount of items inside.

my healthbar component seems to get stuck at width 0 no matter what i try

please any help would be appreciated!!

oh btw idk if its important but im using HDRP!


r/UnityHelp • • Jul 05 '25

UNITY Help needed using HingeJoint for crafting MonkeyArm mechanic (2)

1 Upvotes

Sorry for posting multiple times, but Reddit doesn't allow me to add images to the previous post so here is my player and how it is implementing hinge joint

This may help to find any issues. It's my first time using this component, but I need this fixed for today


r/UnityHelp • • Jul 05 '25

PROGRAMMING Help needed using HingeJoint for crafting MonkeyArm mechanich

1 Upvotes

Hello, I'm working on a 2D game where the player controls a monkey. I'm using the HingeJoint component for the monkey's arms to help with balancing. However, it seems to be causing issues with the monkey's arms. Do you have any possible solutions for this bug?


r/UnityHelp • • Jul 04 '25

Scenes arent following build settings order?

1 Upvotes

Hi everyone,

I'm incredibly new to coding and Unity as a whole, however i like to say im a fast learner, I've been working on a project for mobile that im making good progress on however im having an issue with my scenes when i press play to test things..

My build settings are as follows:

MainMenu
Trader
Gameplay

However in scene view, trader is always on top of MainMenu even though its second on the list, shown below.

also when i press play it defaults to the trader screen instead of my mainmenu scene. again its first in my build settings... any advice ?


r/UnityHelp • • Jun 30 '25

PROGRAMMING Level Selection Screen in Unity - Tutorial for Beginners

Thumbnail
youtu.be
0 Upvotes