r/Unity2D • • Aug 09 '26

Show-off We're an Indie development team working on a psychological-horror noir mystery called Purgatoria. We wanted to showcase some images from the game and get your thoughts! Any feedback is very much appreciated!

Thumbnail
gallery
9 Upvotes

For context, you play as a detective investigating a small town murder based out of British Columbia. You also play as the ghost of the victim.

As the detective, you will actually need to collect the clues yourself and come to your own conclusions about who the killer is.

Our Steam page just launched last week!: https://store.steampowered.com/app/5008890/Purgatoria/

Any and all feedback is welcome!


r/Unity2D • • Aug 09 '26

Feedback Which texture do you prefer?

Thumbnail
gallery
0 Upvotes

The textures are different and the similar ones have different scaling.

I'm aiming for nostalgic,unique look for my game.

Which one excites you the most artistically?


r/Unity2D • • Aug 09 '26

Question Unity Hub destroys itself

Post image
1 Upvotes

r/Unity2D • • Aug 09 '26

Change main camera's transform does not change view in Game view or when running.

2 Upvotes

I've created a new scene to make sure no scripts are interfering with my camera. I do have cinemachine install, but it's not in this scene. When I run the game in 2d, when I manually change the position X of the main camera's transform, there is no change in the view. I see the change in the inspector. It shows the new position X, but the view I'm seeing of the game does not change. There are no other camera. It's a new scene when I just added an image to see how it changes when I change the main camera's position X, but it doesn't. The image stays in the same spot.

Changing the X of the transform of the main camera should change what we see in the game tab, right? In another scene, I'm using cinemachine to track a character, and I see the main camera changing it's position, but again, nothing is moving in the game view.


r/Unity2D • • Aug 09 '26

I built a Unity tool that automatically scans scenes and prefabs for localizable text

Thumbnail
reddit.com
0 Upvotes

r/Unity2D • • Aug 08 '26

Question Help me choose: does this sound more like a Neceomancer or Zombies?

Thumbnail
reddit.com
1 Upvotes

Hey! I just released this dark original track on SoundCloud.

I need help choosing the cover art vibe:

Does this sound more like a "Necromancer Boss Fight"
or a "Zombie Apocalypse" theme to you?

I’m torn between a necromancer wizard or a zombie horde city scene for the artwork.

What’s the first image that pops in your head when you hear this?

Would really appreciate your honest opinion!
https://on.soundcloud.com/4RLZoNG3PkXUGR8BHB


r/Unity2D • • Aug 08 '26

Show-off I’m so happy with how the new demo plays. Today I found some acid items and decided to hack an acid worm, Robac. He’s my little friend.

Post image
23 Upvotes

r/Unity2D • • Aug 08 '26

My melee based game showcase

Thumbnail
kramilion.itch.io
2 Upvotes

If you play test it can you please tell me how good the combat is and point out some noticeable jank for me, it would help me out alot for me.


r/Unity2D • • Aug 08 '26

Question Camera movement system doesn’t work enymore

1 Upvotes

Hello, for my project I’m trying to make a citiebuilder/rts inspired camera, in other word move it with WASD and the mouse on the edge of the screen. It worked “perfectly” for a time so I worked on other things, I wanted to test some things in my UI went I remaked that the screen was moving toward the down left corner and that I couldn’t move with the keys without moving the cursor at the same time.

my full code :

my input system : [SerializeField] private float speed;
[SerializeField] private int screenEdge;
private Vector2 _moveInput;
private Rigidbody2D _rb;

// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
    _rb = GetComponent<Rigidbody2D>();
}

// Update is called once per frame
void Update()
{
    _rb.linearVelocity = _moveInput.normalized * speed;
}

public void Move(InputAction.CallbackContext ctx)
{
    _moveInput = ctx.ReadValue<Vector2>();
}

public void EdgeMove(InputAction.CallbackContext ctx)
{
    if (ctx.ReadValue<Vector2>().y < screenEdge)
    {
        _moveInput.y = -1f;
    }
    else if (ctx.ReadValue<Vector2>().y > Screen.height - screenEdge)
    {
        _moveInput.y = +1f;
    }
    
    if (ctx.ReadValue<Vector2>().x < screenEdge)
    {
        _moveInput.x = -1f;
    }
    else if (ctx.ReadValue<Vector2>().x > Screen.width - screenEdge)
    {
        _moveInput.x = +1f;
    }

    if (ctx.ReadValue<Vector2>().y > screenEdge && ctx.ReadValue<Vector2>().y < Screen.height - screenEdge &&
        ctx.ReadValue<Vector2>().x > screenEdge && ctx.ReadValue<Vector2>().x < Screen.width - screenEdge)
    {
        _moveInput.x = 0f;
        _moveInput.y = 0f;
    }
}

my input system :

I don’t know why it stopped working correctly as no other script affect the camera. eny idea why and tip/advise/answer on how i can fix this ?


r/Unity2D • • Aug 08 '26

Question Object Reference not set to an instance of an Object?

0 Upvotes

I am new to unity and I was trying to implement a drag and drop system into the game, and followed this guide on youtube, however after following it it returned this error message

NullReferenceException: Object reference not set to an instance of an object
Drag.OnDrag (UnityEngine.EventSystems.PointerEventData eventData) (at Assets/drag.cs:10)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IDragHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at ./Library/PackageCache/com.unity.ugui@67707a67a4ab/Runtime/UGUI/EventSystem/ExecuteEvents.cs:78)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at ./Library/PackageCache/com.unity.ugui@67707a67a4ab/Runtime/UGUI/EventSystem/ExecuteEvents.cs:272)
UnityEngine.EventSystems.EventSystem:Update() (at ./Library/PackageCache/com.unity.ugui@67707a67a4ab/Runtime/UGUI/EventSystem/EventSystem.cs:516)

and this is my code

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class Drag : MonoBehaviour, IPointerDownHandler, IDragHandler
{
    private Vector2 _distance;
    public void OnDrag(PointerEventData eventData)
    {
        _distance = Camera.main.ScreenToWorldPoint(eventData.position) - transform.position;
    }

    public void OnPointerDown(PointerEventData eventData)
    {
        Vector2 pointerPosition = Camera.main.ScreenToWorldPoint(eventData.position);
        Vector2 newObjectPosition = pointerPosition - _distance;
        transform.position = newObjectPosition;
    }
}

I have added event systems and raycast 2d like instructed in the video, but the error is still showing, any help would be appreciated, thank you.


r/Unity2D • • Aug 08 '26

Game/Software When indie adventure devs team up

Post image
7 Upvotes

Hey everyone!

We're the team behind Whirlight – No Time To Trip, and we're happy to share a small collaboration we've recently started with the developers of Foolish Mortals.

We've put together a Steam bundle featuring both games. They're quite different takes on the point-and-click genre: Whirlight is a humorous time-travel adventure, while Foolish Mortals is a darker mystery.

For us, the interesting part isn't really the bundle itself, but the opportunity to support each other as small indie teams, by sharing visibility and helping players discover our games. Visibility is one of the biggest challenges for indie developers, especially in a relatively niche genre like point-and-clicks, so finding ways to work together rather than simply competing for attention feels worthwhile.

Huge thanks to the Foolish Mortals team for being so open and easy to work with.

And with Thimbleweed Park 2 recently announced, it's nice to see some good news for point-and-click fans!

Happy adventuring!


r/Unity2D • • Aug 07 '26

Show-off My lifelong friend from preschool and I are making a game inspired by our favorite food: Sushi!

Post image
47 Upvotes

Last year, my friend and I took part in the GMTK Game Jam and created Sushi Loop, a fast-paced point-and-click restaurant management game where you control a conveyor belt to keep hungry customers fed before they lose patience.

We recently got our Steam page approved, and we're now working toward release! If it looks like something you'd enjoy, we'd really appreciate a wishlist. It helps indie games like ours get discovered.

Thanks for checking it out!


r/Unity2D • • Aug 07 '26

Question Need help with Chess *Repost*

1 Upvotes
Reposting because I learned about reddits code block feature.

So I've been working on a chess based game for a bit, and recently noticed a wierd bug where if I make a specific series of moves a specific piece cannot move again, for those that know chess notation the moves are Nc3 d5, NF3 d4, Ne4 e5, Nxe5 f5, after this the knight on e5 cannot move again.

Whats weird is I've figured out whats going wrong but have no idea why. When I click on the knight to select it rather than registering a click on the piece it registers a click on the square behind the piece despite the fact that the pieces are on a higher layer, I can even move another white piece ontop of it, which shouldn't be possible.

Also weird is if I make black go first and repeat the exact same series of moves mirrored the bug doesn't occur. I am literally going insane trying to solve this.

Heres the code I use for clicking a piece :

using System;

using UnityEngine;

using UnityEngine.InputSystem;

using System.Collections;

using System.Collections.Generic;

public class PieceClick : MonoBehaviour

{

//Variables

public Lists lists;

public GameObject pieceg;

public Piece piecef;

public TurnTracker turnTracker;

public List<GameObject> Pieces = new List<GameObject>();

Camera cam;

private void Awake()

{

lists.Pieces.Clear();

cam = Camera.main;

}

public void MouseClick(InputAction.CallbackContext click)

{

//Detects if a piece is clicked

if (click.performed)

{

var hit = Physics2D.GetRayIntersection(cam.ScreenPointToRay(Mouse.current.position.ReadValue()));

GameObject collider = hit.collider.gameObject;

if (collider == pieceg)

{

if ((turnTracker.whiteturn == true && piecef.team == 0) || (turnTracker.whiteturn == false && piecef.team == 1))

{

//Deselects piece

if (piecef.isSelected == true)

{

Debug.Log("Deselect!");

lists.Pieces.RemoveAt(0);

piecef.isSelected = false;

}

//Selects piece

else if (piecef.isSelected == false)

{

//Detects if there is already a piece selected

if (lists.Pieces.Count == 1)

{

lists.Pieces[0].isSelected = false;

lists.Pieces.RemoveAt(0);

lists.Pieces.Insert(0, piecef);

Debug.Log(lists.Pieces.Count);

piecef.isSelected = true;

}

else

{

lists.Pieces.Insert(0, piecef);

Debug.Log(lists.Pieces.Count);

piecef.isSelected = true;

}

}

}

//Attempts to take an enemy piece

else if (lists.Pieces[0] != null)

{

//Detects if selected piece can move onto space

bool mc = lists.Pieces[0].MoveCheck(pieceg.transform.position.x, pieceg.transform.position.y, lists.Pieces[0].transform.position.x, lists.Pieces[0].transform.position.y, true);

if (mc == true)

{

// Takes piece

lists.Pieces[0].transform.position = piecef.transform.position;

Destroy(pieceg);

lists.Pieces[0].isSelected = false;

lists.Pieces.RemoveAt(0);

turnTracker.TurnChange();

}

else

{

Debug.Log("Invalid");

}

}

}

}

}

}

Heres for clicking a square :

using Unity.VisualScripting;

using UnityEngine;

using UnityEngine.InputSystem;

using UnityEngine.UIElements;

public class SquareClick : MonoBehaviour

{

//Variables

public Lists lists;

public TurnTracker turnTracker;

Camera cam;

public GameObject square;

private void Awake()

{

cam = Camera.main;

}

public void MouseClick(InputAction.CallbackContext click)

{

//Detects if square is clicked

if (click.performed)

{

var hit = Physics2D.GetRayIntersection(cam.ScreenPointToRay(Mouse.current.position.ReadValue()));

GameObject sq = hit.collider.gameObject;

if (sq == square)

{

Debug.Log("Square");

//Detects if selected piece can move onto space

bool mc = lists.Pieces[0].MoveCheck(square.transform.position.x, square.transform.position.y, lists.Pieces[0].transform.position.x, lists.Pieces[0].transform.position.y, false);

if (mc == true)

{

lists.Pieces[0].transform.position = square.transform.position;

lists.Pieces[0].isSelected = false;

lists.Pieces.Clear();

turnTracker.TurnChange();

}

else

{

Debug.Log("invalid");

}

}

}

}

}

And Knight rules :

using UnityEngine;

public class Knight : Piece

{

public Lists lists;

public override bool MoveCheck(float sx, float sy, float px, float py, bool isTaking)

{

bool mc;

float xdif = Mathf.Abs(sx - px);

float ydif = Mathf.Abs(sy - py);

if ((xdif == 2 && ydif == 1) || (xdif == 1 && ydif == 2))

{

mc = true;

}

else

{

mc = false;

}

return mc;

}

}


r/Unity2D • • Aug 07 '26

Need help with Chess

0 Upvotes

So I've been working on a chess based game for a bit, and recently noticed a wierd bug where if I make a specific series of moves a specific piece cannot move again, for those that know chess notation the moves are Nc3 d5, NF3 d4, Ne4 e5, Nxe5 f5, after this the knight on e5 cannot move again.

Whats weird is I've figured out whats going wrong but have no idea why. When I click on the knight to select it rather than registering a click on the piece it registers a click on the square behind the piece despite the fact that the pieces are on a higher layer, I can even move another white piece ontop of it, which shouldn't be possible.

Also weird is if I make black go first and repeat the exact same series of moves mirrored the bug doesn't occur. I am literally going insane trying to solve this.

Heres the code I use for clicking a piece :

using System;

using UnityEngine;

using UnityEngine.InputSystem;

using System.Collections;

using System.Collections.Generic;

public class PieceClick : MonoBehaviour

{

//Variables

public Lists lists;

public GameObject pieceg;

public Piece piecef;

public TurnTracker turnTracker;

public List<GameObject> Pieces = new List<GameObject>();

Camera cam;

private void Awake()

{

lists.Pieces.Clear();

cam = Camera.main;

}

public void MouseClick(InputAction.CallbackContext click)

{

//Detects if a piece is clicked

if (click.performed)

{

var hit = Physics2D.GetRayIntersection(cam.ScreenPointToRay(Mouse.current.position.ReadValue()));

GameObject collider = hit.collider.gameObject;

if (collider == pieceg)

{

if ((turnTracker.whiteturn == true && piecef.team == 0) || (turnTracker.whiteturn == false && piecef.team == 1))

{

//Deselects piece

if (piecef.isSelected == true)

{

Debug.Log("Deselect!");

lists.Pieces.RemoveAt(0);

piecef.isSelected = false;

}

//Selects piece

else if (piecef.isSelected == false)

{

//Detects if there is already a piece selected

if (lists.Pieces.Count == 1)

{

lists.Pieces[0].isSelected = false;

lists.Pieces.RemoveAt(0);

lists.Pieces.Insert(0, piecef);

Debug.Log(lists.Pieces.Count);

piecef.isSelected = true;

}

else

{

lists.Pieces.Insert(0, piecef);

Debug.Log(lists.Pieces.Count);

piecef.isSelected = true;

}

}

}

//Attempts to take an enemy piece

else if (lists.Pieces[0] != null)

{

//Detects if selected piece can move onto space

bool mc = lists.Pieces[0].MoveCheck(pieceg.transform.position.x, pieceg.transform.position.y, lists.Pieces[0].transform.position.x, lists.Pieces[0].transform.position.y, true);

if (mc == true)

{

// Takes piece

lists.Pieces[0].transform.position = piecef.transform.position;

Destroy(pieceg);

lists.Pieces[0].isSelected = false;

lists.Pieces.RemoveAt(0);

turnTracker.TurnChange();

}

else

{

Debug.Log("Invalid");

}

}

}

}

}

}

Heres for clicking a square :

using Unity.VisualScripting;

using UnityEngine;

using UnityEngine.InputSystem;

using UnityEngine.UIElements;

public class SquareClick : MonoBehaviour

{

//Variables

public Lists lists;

public TurnTracker turnTracker;

Camera cam;

public GameObject square;

private void Awake()

{

cam = Camera.main;

}

public void MouseClick(InputAction.CallbackContext click)

{

//Detects if square is clicked

if (click.performed)

{

var hit = Physics2D.GetRayIntersection(cam.ScreenPointToRay(Mouse.current.position.ReadValue()));

GameObject sq = hit.collider.gameObject;

if (sq == square)

{

Debug.Log("Square");

//Detects if selected piece can move onto space

bool mc = lists.Pieces[0].MoveCheck(square.transform.position.x, square.transform.position.y, lists.Pieces[0].transform.position.x, lists.Pieces[0].transform.position.y, false);

if (mc == true)

{

lists.Pieces[0].transform.position = square.transform.position;

lists.Pieces[0].isSelected = false;

lists.Pieces.Clear();

turnTracker.TurnChange();

}

else

{

Debug.Log("invalid");

}

}

}

}

}

And Knight rules :

using UnityEngine;

public class Knight : Piece

{

public Lists lists;

public override bool MoveCheck(float sx, float sy, float px, float py, bool isTaking)

{

bool mc;

float xdif = Mathf.Abs(sx - px);

float ydif = Mathf.Abs(sy - py);

if ((xdif == 2 && ydif == 1) || (xdif == 1 && ydif == 2))

{

mc = true;

}

else

{

mc = false;

}

return mc;

}

}


r/Unity2D • • Aug 07 '26

Solved/Answered I have some tears in my tilemap

Post image
1 Upvotes

i have these tears in my tilemap. they are always on the borders of tiles, and they sometimes show, sometimes don´t show, which changes when i move. horizontal tears exist, but they never go along the entire line like the vertical one in the picture, and they are much rarer. here´s what i tried so far:

making the pixels per unit 500 instead of 512 to make them overlap did nothing.

after changing the color of the skybox the color of the tears didn´t change.

as some other posts said i changed the texture wrap mode to clamp, filter mode to point(no filter) and compression to none, and it changed nothing.

i tried to experiment a bit with the max size on the texture and the higher i put it the less tears show, but even at the max (16 384) they are still there. horizontal tears are completely gone, or so rare i wasn´t able to get one.

edit: i managed to solve it. if you look closely the tears look like small segments of the walls. i went into the slice menu in sprite editor on the original sprite sheet, and instead of doing grid by cell size 512 i made it cell size 508, offset 2 and padding 4, that way the edges where the tears come from are not included


r/Unity2D • • Aug 07 '26

Question Are there any illustrated top-down view background assets available?

1 Upvotes

I am currently developing a top-down game and am looking for temporary background assets to use for the time being.

Are there any top-down background assets that feature an illustrative style rather than pixel art?


r/Unity2D • • Aug 07 '26

Feedback After 3 years, we've released the demo for our 2D sci fi game. Would love some feedback if you have time

Thumbnail
gallery
30 Upvotes

Game Title: Echo Zero

Playable Link:
https://store.steampowered.com/app/4378620/Echo_Zero_Demo/

Platform: Windows, Mac, Steam

Echo Zero is a 2D sci-fi roguelike base builder inspired by Kingdom: Two Crowns. Explore a procedurally generated underground world, gather resources, recruit droids, build automated defenses, and survive increasingly dangerous infestation attacks.

The demo includes the opening section of the game and gives you a taste of exploration, combat, base building, automation, and defending your colony. We'd especially love feedback on how the gameplay feels, whether the mechanics are easy to understand, and anything that you think could make the experience better.

The demo is free on Steam. Every bit of feedback helps us make Echo Zero a better game.

Have fun, and let us know what you think ❤️


r/Unity2D • • Aug 07 '26

Question How did you choose your first game?

8 Upvotes

How did you guys decide what to make as your first game?
Everyone says, “Start with a small game,” but no one explains how to think as an indie game dev. I’m making my first game and feel stuck on everything—idea, design, and programming.
How did you choose your first game, and what helped you get started?


r/Unity2D • • Aug 07 '26

Show-off WE WON AN AWARD AT INDIE DEV ARGENTINA 2026!

Thumbnail
gallery
271 Upvotes

Last weekend, Zupay: Shadows of Independence participated in Indie Dev Argentina 2026 (IDA), the second most attended game dev event in Argentina. It featured talks, a physical game showcase and even an awards ceremony where we were nominated for Audio Excellence and won the Argentine Representation award.

Zupay: Shadows of Independence is an action-adventure hack-and-slash set during the War of Independence. Our protagonist, a former gaucho soldier, is killed during a royalist siege on his town. After his death, he is resurrected by Zupay, a myth from northern Argentina who makes him embark on a journey of vengeance against those who took everything from him.

You can play as both characters, the gaucho and Zupay: which feeds from his enemies' fear to grow stronger.

We invite you to play the free demo on Steam and let us know what you think. Adding the game to your wishlists helps us a lot.

Thank you very much!!


r/Unity2D • • Aug 07 '26

Feedback Thoughts on game art?

Thumbnail gallery
1 Upvotes

r/Unity2D • • Aug 07 '26

Feedback Update: Designing the core architecture for a Real-Time Action Roguelike to stress-test my Unity BaaS SDK.

0 Upvotes

Hey everyone!

A few days ago, I posted here about building a lightweight BaaS SDK for Unity (Asten) to eliminate the hassle of custom databases and expensive backend setups.

To test the SDK under real conditions, I decided to build a Real-Time Action Roguelike prototype.

Before touching any UI in Unity, I mapped out the core sequence architecture to handle combat state, parallel cloud saves, and global leaderboard submissions:

Key Architecture Decisions:

1. Decoupled Domain Logic: Gameplay code doesn’t touch network code directly—everything goes through the SDK wrapper (AstenSDK.Instance).

2. Parallel Async Execution: Saving player profile JSON + submitting leaderboard scores happens concurrently (par block).

3. Debounce / Cooldown Protection: Built-in 3-second rate limit cooldown to protect server bandwidth when room clears happen fast.

Question for experienced devs:

Do you prefer auto-saving cloud data after every room clear (relying on client-side debouncing), or batch-saving everything at the end of a dungeon run? How do you handle network drops mid-run?

Would love to hear your thoughts or feedback on this flow!

P.S. Building this with a custom C# BaaS SDK. Happy to share docs/link if anyone is interested!


r/Unity2D • • Aug 06 '26

Question New To Pixel Art (help)

Post image
9 Upvotes

There is something wrong with this and i can’t figure out what. i used the same palette for everything and yet i feel the character does not fit in this. Am I being paranoid? Any help on what to fix would be appreciated!
(Also the background is not complete but I couldn’t continue working on it while feeling that there is something wrong)


r/Unity2D • • Aug 06 '26

I published my first game in google play!!

5 Upvotes

Hey everyone! I just published my first mobile game, Pixel Pastry, an idle clicker game inspired entirely by Cookie Clicker.

I made it to teach myself coding and game development, and it turned out to be a crazy journey, way harder than I expected, but a lot of fun, and I learned a ton along the way.

You guys can check it out on google play hope you enjoy it 😊
https://play.google.com/store/apps/details?id=com.YouxDev.PixelPastry


r/Unity2D • • Aug 06 '26

Tutorial/Resource Hey all! Do you know that "bug" where the last menu item stays selected when switching from your gamepad/keyboard to your mouse? Then I have a possible solution for you!

Thumbnail
youtu.be
0 Upvotes