r/UnityHelp • u/Entire-Tutor-2484 • Jun 01 '25
r/UnityHelp • u/Good_Competition4183 • Jun 01 '25
PROGRAMMING EasyCS Framework: Helps you to improve your Unity workflow!
Hey Unity devs,
I'm releasing EasyCS, a modular Entity-Component-Framework (ECF) for Unity - now at version v1.1.1.
I built EasyCS for myself, to structure the gameplay systems in the games I’m developing.
Now I’m open-sourcing it.
💡 What is EasyCS?
EasyCS is not another ECS clone, and it’s definitely not about chasing maximum performance benchmarks.
Entity-Component-Framework (ECF) offers structure, modularity, and separation of concerns - without forcing you to abandon MonoBehaviours or rewrite your entire codebase.
Unlike traditional ECS (where logic lives in global systems and entities are just IDs), ECF lets you:
- 🔧 Define logic and data directly inside modular components
- 🧩 Instantiate and configure entities via Unity prefabs
- 📦 Leverage ScriptableObjects for templates and injection
- 🧠 Use TriInspector to power an editor-friendly development experience
You still get the clarity and reusability of ECS - but with a shallower learning curve, full compatibility with Unity's ecosystem, and no mental gymnastics required.
Compare with standard Unity-approach: https://github.com/Watcher3056/EasyCS?tab=readme-ov-file#-framework-comparison-table
⚡️ Key benefits
- ✅ Plug-and-play: Works in new AND mid-projects without total refactor
- ✅ Optional DI support: Compatible with Zenject / VContainer
- ✅ Prefab + ScriptableObject-based workflows
- ✅ Editor-friendly tools with validation, nesting, visualization
- ✅ Declarative data injection, no manual reference wiring
- ✅ Loop-friendly architecture with native data access
- ✅ MonoBehaviour reuse is fully supported — no rewriting needed
- ✅ Easy conversion from existing MonoBehaviour-based systems
🧠 What it’s not
EasyCS isn’t built to compete with ECS in raw performance — and I won’t pretend it is.
If you’re simulating hundreds of thousands of entities per frame, use DOTS or custom ECS.
EasyCS gives you developer power, not raw throughput.
Performance is decent, but there’s still a lot of optimization work to do.
This framework is for:
- Developers who want clean architecture without rewriting everything
- Games that need structure, not simulation-scale optimization
- Projects where editor tooling, prefab workflows, and iteration speed matter
🔗 Links
If you’re tired of MonoBehaviour chaos or ECS overkill — this might be what you’ve been looking for.
Would love to hear your thoughts — questions, critiques, suggestions, or even use cases you're tackling.
Feedback is fuel. 🔧🧠
I built it for my games.
Maybe it’ll help with yours.
r/UnityHelp • u/Own-Refrigerator7050 • May 31 '25
UNITY Trying to make character movement through C#
Does anyone know how to solve this ? Thanks.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/RazzmatazzImportant2 • May 31 '25
UNITY Roll easing back to "upright" Z rotation
Hi all,
I'm trying to make a flight game where you ride on a hoverboard, for Unity3D. I currently have rotation in all directions as a game feature, allowing you very free-form flight. The problem I am experiencing is having the "roll" of the character return to upright after making a turn.
I have been struggling to use Quaternion and EulerAngle rotations to have a persistent, smooth easing back to upright. The easing shouldn't apply when dipping the nose at too steep an angle like diving or climbing sharply.
I have tried to use the current Z axis angle from transform.eulerAngles.z, but I run into issues with the "perceived" angle and how the Z rotation is measured in degrees, where it will suddenly flip 90degrees causing weird behavior.
Any help would be greatly appreciated!
r/UnityHelp • u/AvidYuriFan • May 30 '25
UNITY My map is too large and the player is too small
So, for an assignment, I had to make a museum to showcase stuff. I started off making the map, but when I added the player character, the map is too big that walking across a room takes minutes, let alone exploring the place.
Is there a way to shrink the house, or make the player bigger so that I can roam around the house in normal speed?
r/UnityHelp • • May 29 '25
UNITY Trying to upload avitars to VRC to get practice and keep getting these errors
Im using a modle i made directly from blender with armitures, and exporting it as a FBX. Im using VRC's SDK stuff and ive tried creating a whole new project and that doesn't sovle it. I also tried giveing the project a blueprint ID and that also doesn't work.
r/UnityHelp • u/Chiara_2002 • May 28 '25
UNITY Problem with walk in front and walk behind
Hi Im doing a 2D Game, in pixel art with tilemaps. I have different layers for the objects: walk in front and walk behind. The assets are splitted in the middle so one part is behind and the other in front of the player. The problem is that my player is taller than most objects, so when standing in front of something, half of the head vanishes (see photo). How can I solve this? Thanks for helping!
r/UnityHelp • u/Blazingfiresoul • May 28 '25
How to put colliders on objects
I know this is a silly question can anyone help I don't know how to put colliders on walls and when I tested my world I was walking through everything.
r/UnityHelp • u/AcrobaticDream5454 • May 27 '25
UNITY Dash Not Reducing Speed
Hey guys, trying to implement a dash where you can pick up momentum by jumping mid dash but I can't understand why dashing mid air backwards doesn't stop that momentum - instead I'm getting this weird lagging effect. I don't fully understand why it's happening because I thought that the momentum was getting reset every time I dashed but instead it keeps moving in the jump direction. Any help would be appreciated.
Just so it's a bit clearer you can see the movement on the left of the video - the first dash is with a jump, the other two are trying to dash backwards.
using System;
using UnityEngine;
public class Movement : MonoBehaviour
{
public float moveSpeed = 10f; // Movement Speed
public float jumpForce = 4f; // Jump Strength
public float gravity = 9.81f; // Gravity Strength
public float airDrag = 0.5f; // Air Drag for slowing in air
public float airAcceleration = 8f; // Speed for controlling air movement
private CharacterController cc;
private float verticalVelocity; // Vertical velocity
private Vector3 airVelocity = Vector3.zero; // Velocity while in the air
private Vector3 horizontalAirVel = Vector3.zero; // Horizontal velocity while in the air
private Vector3 dashDir = Vector3.zero; // Direction of dash
private bool isDashing = false; // Check if currently dashing
public float dashTime = 0.15f; // Duration of dash
private float dashTimer = 0f; // Timer for duration of dash
public float dashRec = 1f; // Recovery time to regain 1 dash
private float dashRecTimer = 0f; // Timer for dash recovery
public float dashNumMax = 3f; // Maximum number of dashes available
private float dashNum = 3f; // Current number of dashes
private bool wantsJump = false; // Check if player wants to jump
public float jumpWriggle = 0.15f; // Amount of time before jump that jump input can be registered
private float jumpWriggleTimer = 0f; // Timer for jump wriggle
private bool isGrounding = false; // Check if player is ground slamming
private bool groundOver = false; // Check if ground slam has finished
public float groundCool = 0.1f; // Cooldown time after ground slam before moving again
private float groundCoolTimer = 0f; // Timer for how long you cannot move for after ground slam
void Start()
{
cc = GetComponent<CharacterController>();
dashNum = dashNumMax;
}
void Update()
{
float horizontal = Input.GetAxisRaw("Horizontal");
float vertical = Input.GetAxisRaw("Vertical");
Vector3 inputDir = (transform.right * horizontal + transform.forward * vertical);
Vector3 move = inputDir.normalized * moveSpeed;
if (Input.GetButtonDown("Jump"))
{
wantsJump = true;
}
if (wantsJump == true)
{
jumpWriggleTimer += Time.deltaTime;
if (jumpWriggleTimer > jumpWriggle)
{
jumpWriggleTimer = 0f;
wantsJump = false;
}
}
int dashesRecovered = Mathf.FloorToInt((dashRec * dashNumMax - dashRecTimer) / dashRec);
dashNum = Mathf.Clamp(dashesRecovered, 0, (int)dashNumMax);
if (Input.GetKeyDown(KeyCode.LeftControl) && !cc.isGrounded)
{
isGrounding = true;
verticalVelocity = -gravity * 5f;
move = Vector3.zero;
}
else if (Input.GetKeyDown(KeyCode.LeftShift) && dashNum >= 1 && dashNum <= dashNumMax)
{
verticalVelocity = 0f;
if (inputDir.sqrMagnitude > 0.01f)
{
dashDir = inputDir.normalized * moveSpeed * 5f;
}
else
{
dashDir = transform.forward * moveSpeed * 5f;
}
isDashing = true;
dashNum -= 1;
dashRecTimer += 1f;
move = dashDir;
}
else if (isGrounding && !cc.isGrounded)
{
isGrounding = true;
verticalVelocity = -gravity * 5f;
move = Vector3.zero;
}
else if (isDashing)
{
if (dashTimer > dashTime)
{
isDashing = false;
dashTimer = 0f;
move = dashDir;
}
else if (wantsJump)
{
isDashing = false;
dashTimer = 0f;
move = dashDir;
verticalVelocity = Mathf.Sqrt(jumpForce * 2 * gravity);
airVelocity = move;
horizontalAirVel = new Vector3(airVelocity.x, 0, airVelocity.z);
}
else
{
dashTimer += Time.deltaTime;
verticalVelocity = 0f;
isDashing = true;
move = dashDir;
}
}
else if (cc.isGrounded)
{
if (isGrounding)
{
isGrounding = false;
groundOver = true;
}
airVelocity = move;
if (verticalVelocity < 0)
verticalVelocity = -2f;
if (wantsJump)
{
verticalVelocity = Mathf.Sqrt(jumpForce * 2 * gravity);
airVelocity = move;
horizontalAirVel = new Vector3(airVelocity.x, 0, airVelocity.z);
}
}
else
{
if (verticalVelocity < -2f)
verticalVelocity -= (gravity * 1.8f) * Time.deltaTime;
else
verticalVelocity -= gravity * Time.deltaTime;
if (inputDir.sqrMagnitude > 0.01f)
{
Vector3 desiredVel = inputDir.normalized * moveSpeed;
horizontalAirVel = Vector3.MoveTowards(horizontalAirVel, desiredVel, airAcceleration * Time.deltaTime);
}
else
{
horizontalAirVel = Vector3.MoveTowards(horizontalAirVel, Vector3.zero, airDrag * Time.deltaTime);
}
airVelocity.x = horizontalAirVel.x;
airVelocity.z = horizontalAirVel.z;
move = airVelocity;
}
if (groundOver)
{
groundCoolTimer += Time.deltaTime;
if (groundCoolTimer >= groundCool)
{
groundOver = false;
groundCoolTimer = 0f;
}
else if (!cc.isGrounded)
{
}
else
{
move.x = 0f;
move.y = 0f;
}
}
if (dashRecTimer > 0 && !isDashing)
dashRecTimer -= Time.deltaTime;
else if (isDashing)
dashRecTimer = dashRecTimer;
else
dashRecTimer = 0f;
move.y = verticalVelocity;
cc.Move(move * Time.deltaTime);
}
}
r/UnityHelp • u/umen • May 26 '25
UNITY The playhead doesn't move while recording in the Timeline.
Hello all, using unity 6
I have a weird situation where I try to move the playhead to the next second, but it's completely stuck and doesn't move at all.
I’m not sure what I pressed before that might have fixed it temporarily.


After playing around with it, when I double-click the playhead that doesn't move, another one pops out, as you can see in the second image.
I don't think it's supposed to work like this I'm confused.
what is wrong here ?
Thanks for the helpers

update :
now when duble click this stack playhead look like its not playhead its kind of animation limit tool see here :

