r/UnityHelp • • Jun 20 '25

TEXTURES how can I edit a .dds DXT5 BC3 format Texture2D file in a .bundle file

1 Upvotes

Hello, I'm trying to make a clothing mod for a game by extracting the textures, editing them and putting them back.

I've found that although the typical globalgamemanagers, resources and sharedassets0 asset files exist, 99% of the games art is within "game_Data/StreamingAssets/aa/StandaloneWindows64" and then a bunch of .bundle files.

I've been able to extract files from each bundle file (one with no extension and a .resS) and these contain the individual Texture2D files.

The issue I'm having is the images contain "DXT5_BC3" in their name so I assume they're .dds format. This is where I run into an issue. UABE that I'm using to extract them can only extract them as a .png or .tga. I figured this would be fine if I save the edited images as a .dds DXT5 BC3 texture format but then I run into another issue - I can't use UABE to replace the Texture2Ds with a .dds file.

Tl;dr, how can I replace a Texture2D file with a .dds DXT5 BC3 format in a .bundle file. I feel like if UABE just allowed me to edit with .dds I could save the 5 hours rabbit hole I've been down


r/UnityHelp • • Jun 20 '25

Ragdoll working but.

Post image
0 Upvotes

My armeture works and it is ragdolling but the object (my character) isnt moving with it. The model falls over but is stuck in a t pose for some reisonderdelen.


r/UnityHelp • • Jun 17 '25

SOLVED Animation issue

7 Upvotes

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 • • Jun 17 '25

Returning to a project not working

1 Upvotes

hi there currently struggling, I returned to a project after a week that involves Unity analytics every time I launch the game in the editor it plays for about 4 seconds before crashing due to this error I really don't know how to fix the issue as every google search refers to in app purchases which I have none of any help would be really appreciated thank you!


r/UnityHelp • • Jun 13 '25

Why is my Player flying so fast when i walk up Slope

0 Upvotes

Hello i accsedently made my player in to a rocke. The problem appers when a walk up a Slop, i get shot up in the air with a speed from over 1000. Pleas help me i dont know waht to do anymore. Ok evry think workt this time here you have movment code and video:

using System.Collections;
using UnityEngine;
using UnityEngine.UI;

public class Movemt_player : MonoBehaviour
{
    [Header("Movment")]
    float speed;
    public float sprintspeed;
    public float walkspeed;

    public Text speedshower;

    public float groundDrag;

    public float jumpForce;
    public float jumpCooldown;
    public float airMultiplier;
    bool canjump = true;

    public float fallmutiplayer;

    public Transform orientation;

    [Header("Slide slope")]
    private float desiredMovespeed;
    private float lastdesiredMovespeed;
    public float slidespeed;
    private sliding sd;
    public bool issliding;
    private bool existingSlope;

    [Header("Key Binds")]
    public KeyCode jumpKey = KeyCode.Space;
    public KeyCode sprintkey = KeyCode.LeftShift;


    [Header("Slope")]
    public float maxSlpoeAngle;
    private RaycastHit slopehit;


    [Header("Ground")]
    public float playerHeight;
    public float grounddistance;
    public LayerMask ground;
    public bool grounded;
    public Transform groundcheck;

    float horizontalInput;
    float verticalInput;

    Vector3 moveDirection;

    Rigidbody rb;

    public MovementState state;

    public enum MovementState
    {
        Walking,
        sprinting,
        sliding,
        air
    }

    float geschwindichkeit;

    void Start()
    {
        rb = GetComponent<Rigidbody>();
        rb.freezeRotation = true;
        sd = GetComponent<sliding>();

    }

    void Update()
    {
        grounded = Physics.CheckSphere(groundcheck.position, grounddistance, ground);
        SpeedControul();
        MyInput();
        Satethandler();


        if (!grounded)
        {
            rb.linearDamping = 0;
        }
        else
        {
            rb.linearDamping = groundDrag;
        }

        geschwindichkeit = rb.linearVelocity.magnitude;

        speedshower.text = geschwindichkeit.ToString();


    }

    private void FixedUpdate()
    {
        Movment();

        if (rb.linearVelocity.y < 0)
        {
            rb.AddForce(Vector3.down * fallmutiplayer, ForceMode.Force);
        }

    }

    private void MyInput()
    {
        horizontalInput = Input.GetAxisRaw("Horizontal");
        verticalInput = Input.GetAxisRaw("Vertical");

        if (Input.GetKey(jumpKey) && canjump && grounded)
        {
            canjump = false;

            Jump();

            Invoke(nameof(JumpReady), jumpCooldown);
        }
    }
    private void Satethandler()
    {
        if (issliding)
        {
            state = MovementState.sliding;

            if (OnSlope() && rb.linearVelocity.y < 0.1f)
            {
                desiredMovespeed = slidespeed;
            }
            else
            {
                desiredMovespeed = sprintspeed;
            }
        }

        if (grounded && Input.GetKey(sprintkey))
        {
            state = MovementState.sprinting;
            desiredMovespeed = sprintspeed;
        }
        else if (grounded)
        {
            state = MovementState.Walking;
            desiredMovespeed = walkspeed;
        }
        else
        {
            state = MovementState.air;
        }

        if (Mathf.Abs(desiredMovespeed - lastdesiredMovespeed) > 3f && speed != 0)
        {
            StopAllCoroutines();
            StartCoroutine(SmoothSpeed());

        }
        else
        {
            speed = desiredMovespeed;
        }


        lastdesiredMovespeed = desiredMovespeed;

    }

    private void Movment()
    {
        moveDirection = orientation.forward * verticalInput + orientation.right * horizontalInput;

        if (OnSlope() && !existingSlope)
        {
            rb.AddForce(GetSlopeMoveDirection(moveDirection) * speed * 20f, ForceMode.Force);

            if (rb.linearVelocity.y > 0)
                rb.AddForce(Vector3.down * 80f, ForceMode.Force);
        }

        else if (grounded)
            rb.AddForce(moveDirection.normalized * speed * 10f, ForceMode.Force);
        else if (!grounded)
        {
            rb.AddForce(moveDirection.normalized * speed * 10f * airMultiplier, ForceMode.Force);
        }

        rb.useGravity = !OnSlope();

    }

    private void SpeedControul()
    {
        if(OnSlope() && !existingSlope)
        {
            if(rb.linearVelocity.magnitude > speed)
            {
                rb.linearVelocity = rb.linearVelocity * speed;
            }
        }

        else
        {
            Vector3 flatVel = new Vector3(rb.linearVelocity.x, 0f, rb.linearVelocity.z);

            if (flatVel.magnitude > speed)
            {
                Vector3 limitedVel = flatVel.normalized * speed;
                rb.linearVelocity = new Vector3(limitedVel.x, rb.linearVelocity.y, limitedVel.z);
            }
        }



    }

    private void Jump()
    {
        existingSlope = true;

        rb.linearVelocity = new Vector3(rb.linearVelocity.x, 0f, rb.linearVelocity.z);

        rb.AddForce(transform.up * jumpForce, ForceMode.Impulse);
    }

    private void JumpReady()
    {
        canjump = true;

        existingSlope = false;

    }

    public bool OnSlope()
    {
        if (Physics.Raycast(transform.position, Vector3.down, out slopehit, playerHeight * 0.5f + 0.3f))
        {

            float angle = Vector3.Angle(Vector3.up, slopehit.normal);
            return angle < maxSlpoeAngle && angle != 0;
        }

        return false;
    }

    public Vector3 GetSlopeMoveDirection(Vector3 direction)
    {
        return Vector3.ProjectOnPlane(direction, slopehit.normal).normalized;
    }

    private IEnumerator SmoothSpeed()
    {
        float time = 0;
        float difference = Mathf.Abs(desiredMovespeed - speed);
        float startValue = speed;

        while (time < difference)
        {
            speed = Mathf.Lerp(startValue, desiredMovespeed, time / difference);
            time += Time.deltaTime;
            yield return null;
        }

        speed = desiredMovespeed;
    }

}

r/UnityHelp • • Jun 13 '25

UNITY Help with Menu

1 Upvotes

Hi , I have imported a working Menu from another project .. but the buttons wont work i just cannot navigate , even that i connected everything like it is in the older project and make sure the scripts are attached and event manger .. any ideas ?


r/UnityHelp • • Jun 13 '25

UNITY I can't upload sprites because I can't download 2D sprite editor. I don't know what to do.

1 Upvotes

I try clicking the button, and nothing happens. I don't know what to do, has anyone had this happen to them before?


r/UnityHelp • • Jun 13 '25

Things I import from blender have a jittering effect when grabbed

1 Upvotes

I noticed the things I've created in blender have a jittering effect happen to them when I pick them up while the objects I've downloaded from websites don't have that problem. I'm just confused if I need to do something to said blender items such as importing them separately instead of all together or putting a code?


r/UnityHelp • • Jun 13 '25

I'm new and my unity has been weird!

Post image
1 Upvotes

I can see objects and stuff, but the background is like this, and I know it shouldn't be SO, PLEASE HELP.


r/UnityHelp • • Jun 12 '25

Help triplanar shader graph

1 Upvotes

hi all, I'm working with shadergraphs and wanted to make a triplanar shader graph for some walls/floors. but even though the shadergraph works w/ the default texture, it doesn't work with any of my textures? aseprite exports, images from google, ect. nothing seems to work? am i missing something?


r/UnityHelp • • Jun 11 '25

Really bad break

0 Upvotes

I have been trying for days, but there's an issue with my render and TMP, I can't get my game to render my camera no mater what...the shader works fine in everything else, I can show stuff with dms or what ever, bur I out of ideas


r/UnityHelp • • Jun 10 '25

Add modules button missing from menu.

1 Upvotes

I am just starting unity and am attempting to add modules to the editor. When I look it up it says that the "add modules" button should appear when I press the cog next to the installation. Whenever I do this, however, "Show in explorer" and "Remove from Hub" are the only buttons that appear.