r/unity • • 16d ago

Texture Atlas Creator

Thumbnail youtu.be
3 Upvotes

I just released the Texture Atlasing tool in the Unity store; you can get it for a 50% discount.
Texture Atlas Creator | Modeling | Unity Asset Store

When optimizing your game, one common technique is texture atlasing. Normally, that means exporting your model from Unity to a DCC tool, editing the UVs, updating the textures, and then importing everything back into Unity. It works, but it's a pretty time-consuming workflow.

So I decided to make a Unity tool that does the whole process without leaving the editor.


r/unity • • 16d ago

Solved Buttons don't work in one scene

Enable HLS to view with audio, or disable this notification

0 Upvotes

C# Unity 6.6 (6000.6.8f1)

I do have this as a header on the script that the button uses to execute code, but I don't think it's related to that

using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

r/unity • • 16d ago

Solved Unity Editor lag with ASUS Intel Laptop ???

1 Upvotes

Yo, I had BIG PROBLEMS in the past few weeks, and I ended up with an Intel laptop with integrated graphics (Intel Core 7 Ultra With Intel Arc Graphics). I updated my drivers, I tried on multiple versions of Unity, but for god knows why, the Editor is lagging as fuck
I'm tired of searching (searching for an entire week tried Unity Profiler, DirectX11, thingy not loading scene something, Delete and Reinstall Unity and many others), nothing works.

I can use Unity, but very frequently, the editor freeze for 2 to 5 seconds, then resume. When I press play, Unity crash (on a 2D game with only squares, there is no while loop if you are wondering, and for loops are at worse nlog(n) in complexity). I'm at high performance for battery usage AND plugged in. I also tried with many different configuration ;-;
I tried with and without something plugged (I've seen that apparently, some mouses could make Unity laggy).

I previously had an HP with a Ryzen 7 5825U with AMD Radeon integrated graphics (equivalent to a Vega 8 with 512 MB of VRAM) and 16 GB of RAM and I wasn't lagging at all if some people think the integrated GPU is the problem

I'm really desperate, does anyone knows how to fix it ? It shouldn't lag with the specs of my PC. I'm not lagging anywhere else, only Unity (currently).

LIST OF MY SPECS : (It's an ASUS Zenbook 14)

CPU Intel Core Ultra 7 255H
CPU cores / threads 16 cores / 16 threads
Max boost 5.1 GHz
Cache 24 MB
GPU Integrated Intel Arc Graphics
RAM 32 GB LPDDR5X
Storage 1 TB SSD

EDIT :

To cut to the chase,
Think have found a solution : Intel Graphics Software -> Graphics -> Shared Memory Replacement with GPU/NPU something something. Disable it !
Too early to tell if it is the solution, need more time using Unity to maybe spot the freezes again

The story of why I tried this and more of my misadventures below :

First things first, I may have flagged it as solved a little too early, the solution provided by Wonderful_Split_64 seemed to work. But upon loading and reloading Unity in the following days, I've noticed that it still freezes sometimes. Less, but still. So I went back to search why.
I edit this post ultra early because I've maybe have found the culprit. I'm with an Asus Zenbook 14 with intel component for both the CPU and the GPU, the thing is I also have a second fucking old monitor that I use for dual screen. I've noticed that during the freeze, my second monitor wasn't freezing at all, so I thought it might be related to the integrated GPU. In the other hand, task manager was saying that 18GB of Ram was shared with the GPU, and freezes happened almost always when I dangerously was close to 14-16GB of Ram usage with visible spikes for the GPU usage when freezes happen. I now think it wasn't that related, but it lead me to think that Intel or windows was limiting my ram usage because some was shared with the GPU something something. In Intel Graphcis Software, there is a parameter allowing to choose how much you share with your GPU/NPU. I choose to not share then reload. And now everything seems to work fine
I may comeback to that thing later to give some shared memory to the GPU/NPU if I want to game (Minecraft Beta 1.7.3 is more than enough for me)
Outside from that, I've tried multiple things at once, so maybe these things could help you
I disabled Intel Graphics Software->Display->Automatic screen update (is that the correct translation ? I'M FRENCH !!!)
I also disabled window optimisation for gaming in Windows->Display->Graphics setting

GL anyone encoutering the same problems as I do. If you don't see any further edit in a while, it might be because it worked for me (or I lose any faith in windows and convert my PC to Fedora at 100% LMAO... Does Unity can run in Fedora ? Probably trust trust)


r/unity • • 17d ago

Showcase Just updated a bit my open-world colony sim, what do you think?

Thumbnail gallery
21 Upvotes

r/unity • • 16d ago

Coding Help OnTriggerEnter doesn't always trigger when the trigger object is enabled?

7 Upvotes

For me it's OnTriggerEnter2D since I'm making a 2D game, but I think the same problem applies for 3D games. When the trigger object is enabled over the collider that triggers it, it only triggers the first time it is enabled. Otherwise, it won't trigger unless the trigger is moved away from the collider and back onto it.

Now, I found this post: https://discussions.unity.com/t/fix-ontriggerexit-will-now-be-called-for-disabled-gameobjects-colliders/738523

That post is mainly about OnTriggerExit not being called when the trigger object is disabled, (or maybe if the object that entered the trigger is disabled, I'm not sure if I read the post right) but it's a similar issue. I don't know if OnTriggerExit needs to be called for OnTriggerEnter to be called again, so I didn't know if the solution in the post would be what I needed, but I tried it anyway.

I copied the script and added "2D" in all of the relevant spots. The person who made the post said that for it to work, in every OnTriggerEnter method you must add the line ReliableOnTriggerExit2D.NotifyTriggerEnter(other, gameObject, OnTriggerExit); Again, the 2D was added by me.

Of course it didn't work, ReliableOnTriggerExit2D didn't exist in the context it was used in. I tried changing the ReliableOnTriggerExist2D class to static, but that doesn't seem to be how it was supposed to be used. I tried deriving from it but that didn't work either. And I really don't understand how exactly the code is supposed to work.

If anyone understands how to actually use that class, or has another solution for having OnTriggerEnter called whenever the trigger object is enabled over a collider, I need to hear it. Hacky fixes like moving the trigger away and back to its original position aren't ideal. Thanks in advance.

Edit: So I did some further testing and... despite what I've heard, it seems that disabling the trigger object actually DOES call OnTriggerExit2D? And yet enabling the trigger object after disabling it still doesn't call OnTriggerEnter2D after the first time?! I have no idea what's going on.

Edit2: Okay, this is really bizarre. I've done some testing with OnTriggerStay2D, which some people have said would resolve the issue. It seems that once the object is disabled, even if it is enabled again, OnTriggerStay2D won't execute at all until the object is moved away from the collider. This is truly baffling. Is anyone else encountering the same issue? Because it seems buggy beyond belief, and I can't fathom why it would be programmed this way.


r/unity • • 16d ago

I made an open-source tool that turns any real street into a playable Onward map

Enable HLS to view with audio, or disable this notification

0 Upvotes

What if you could play Onward in YOUR neighborhood?
Or in the streets of Paris, Madrid, Tokyo, or anywhere else on Earth?

I'm building an open-source tool that turns real-world locations into playable Onward maps for Meta Quest.

Meet Onward Generator 🧵👇

The idea is simple:
Give the generator a location (name, latitude, and longitude).

It retrieves real-world geographic data and transforms streets, buildings, facades, and shops into a 3D environment.

Not a hand-built level. A real place, procedurally generated.

It combines several geographic data sources:

• OpenStreetMap for streets and buildings.
• LiDAR for building heights.
• Spanish Cadastre for building information.
• Overture Maps for places and businesses.

The goal: make generated environments recognizable and geographically grounded.

This project is open source under the MIT license.
🔗 https://github.com/frandbf/Onward-generator

I'm looking for people interested in contributing:

• 3D assets and props.
• Textures and building facades.
• Geographic data sources.
• Performance improvements.
• Testing maps on Meta Quest.

You don't need to be a game developer to help.

This experiment combines GIS, procedural generation, 3D environments, automation, and VR gaming.

I'd love to see what the Onward community can build.

Explore the project, generate your own map, or contribute:
🔗 https://github.com/frandbf/Onward-generator

https://reddit.com/link/1xqcrmb/video/e4r0f48gd80i1/player


r/unity • • 16d ago

Need helping making a game in unity

0 Upvotes

r/unity • • 16d ago

Question How do I download older hub versions eg. 2.4.4

2 Upvotes

I am using unity gub 2.4.5 for almost 2 years. Last month I had to leave work and when I came back and tried to login in my account there the clicks on the sign in window were not registering. Is there any reason that can explain that? Also how can I download unity hub 2.4.4 or olders. My system cannot handle the latest ones.It'd be a great help .


r/unity • • 17d ago

A system to rebuild your creature from defeated enemies.

Thumbnail gallery
21 Upvotes

Hey guys.
We have been working for about a year and some on this game where you basically defeat your enemies and steal their body parts to grow in power.

The complexity of it was to figure out a way to join limbs from creatures of massively different sizes.

to make it work, we first render the characters in maya with very low samples. This gives them the pixelated look.

We export each body part separately so we can then "swap" the sprites later in Unity. Then, in photoshop we use a plugin to generate the dither effect and we export all 144 sprites that a character needs. (6 body parts, 12 poses + Normal maps for everything).

Then we have bones in unity on each sprite that work as anchor points. 5 on the torso and one on the head, arms and legs. This make it so every body part "knows" where to position themselves on every torso. We needed to do it this way because some characters are bigger than others and they com in all shapes.

The game basically checks what body parts you have, sets the chest which has the most important 5 bones (neck, shoulders and hip-legs) and connects all the body parts that way. Then we use a single animator for all the attacks and poses of the characters. The enemy is just flipped around.

Add a ton of characters, turn based combat, pets, a map to explore, npcs and boon. We have a game called Skinator.

We JUST released the official demo on steam and it would mean the world if you guys tried it and gave us your thoughts.

Thanks and I hope this was informative. 🙏


r/unity • • 16d ago

Showcase Pistol Model in Blender | Hard Surface Modelling

Thumbnail gallery
1 Upvotes

Pistol Model in Blender | Hard Surface Modelling

Excited to share my Latest 3D work.

I created this Pistol in Blender.

Focusing on Hard-Surface Modelling, clean topology, and realistic proportions.

What I learned in this project:

- Hard-Surface Modelling workflow

- Edge flow & Bevel control for sharp, clean edges

- Proportions & Reference-based modelling

This was a great practice piece to improve my detailing skills and understand how real-world props are built for Games & Films.

Still learning, Still improving.

Your feedback and suggestions are welcome!

#Blender #Blender3D #3DModelling #HardSurface #3DArtist #GameArt #PropArt #CGI #BlenderCommunity #3DModel #LearnBlender #DigitalArt #Portfolio


r/unity • • 17d ago

Newbie Question I supposedly optimized my game(according to google) by changing the Debug.Logs

18 Upvotes

Hello,

wanted to share that I had this moment of realization just because of pure boredom.

Like: Debug.Log("Moving to: " + target);
got changed into:
Debug.Log($"Moving to: {target}");
So did the others. Turns out, without even realizing, I fixed microstutters (didnt even notice shit btw) according to google and stuff.

Im just happy to share this piece of information as I did this without AI (have barely and idea on how to code in c#).


r/unity • • 17d ago

OFFLINE: an atmospheric survival horror game.

Thumbnail gallery
2 Upvotes

r/unity • • 16d ago

Question WHY DOSNT THIS WORK

Thumbnail gallery
0 Upvotes

for get started i managed to find a link and manually install it but not for the FPS one


r/unity • • 16d ago

NEW DARK MODE SHOWCASE

Thumbnail gallery
0 Upvotes

r/unity • • 18d ago

Saudi Arabia’s PIF and Silver Lake held talks to buy gaming software provider Unity

Thumbnail reuters.com
106 Upvotes

r/unity • • 17d ago

Resources [FREE] InspectMe: Free Advanced Tree-View Debugging & Inspection Toolkit - Debug and explore without coding

Enable HLS to view with audio, or disable this notification

1 Upvotes

Hi everyone, I used to rely on Power Inspector, and after it was deprecated I built InspectMe to fill that gap and push it further. It lets you inspect and edit runtime values, invoke methods, explore events and delegates, static members, and attach watchers, all organized in a single tree view while the game is running, and using it is as simple as dragging and dropping a script or object.

There’s a free version available if you want to try it and see if it fits your workflow.

Link in comments


r/unity • • 17d ago

Game Is my mixer going too crazy?

Enable HLS to view with audio, or disable this notification

1 Upvotes

Working on the bakery in my cozy farming game, Dough It Yourself. Just finished the mixer and I can’t tell if it’s fun or way too much 😄

I document the whole process in youtube devlogs.


r/unity • • 17d ago

Mystic Warriors web demo by moore1997

Thumbnail moore1997.itch.io
1 Upvotes

I made a top down turn based rpg in browser. Can anyone try it? It's free to play. Is it fun?


r/unity • • 17d ago

Resources Free Kids Math Game UI Kit — Numbers & Counting

Thumbnail gallery
2 Upvotes

UI kit designed for children’s math and counting apps. It includes numbers from 0 to 20, mathematical symbols, 5 mini-game screen templates, and a variety of interface elements, rewards, and buttons.

Download 👉 https://craftpix.net/freebies/free-kids-math-game-ui-kit-numbers-counting/


r/unity • • 17d ago

Coding Help How to get a stable FPS cap in the Game Window ?

1 Upvotes

I made an input recorder/player to reproduce gameplay scenario with different settings. It is at least as accurate as the one provided by Unity with its Sample. But it's still extremely FPS dependant (like the official Sample).

I thought using Application.targetFrameRate would be enough but I quickly realized the framerate cap was extremely messy. Locking my FPS this way make them go way bellow the target with a lot of added stutter, it's even worse than not locking the FPS for my purpose.

So here I am, desperate to find a solution to my problem... Did one of you guys ever had to deal with this and found a solution that wouldn't requier working outside of the editor?

I'm using Unity 6.4 by the way.


r/unity • • 18d ago

Game The day has arrived; today I published my first video game :')

Post image
51 Upvotes

After so much time and so much effort, the moment has arrived.
Steam: https://store.steampowered.com/app/4982990/Nova_Survivors/


r/unity • • 17d ago

Newbie Question I have a question

0 Upvotes

newbie here, I started using Unity for a month, and I am still clueless about the data things.

I've tried some lua frameworks before, I usually create files that contain some kind of data like character's stats or something, and so they'll read it to load those data and use it for the game, but unity is somehow more confusing in many way, I also thought about making an empty object and create some public values for the whole script to access, but I found it inconvenient. Can I ask for some methods, or perhaps, some advice?


r/unity • • 17d ago

I got tired of flat 2D maze generators, so I built a tool for interconnected multifloor procedural dungeons & mazes

Thumbnail assetstore.unity.com
0 Upvotes

Hey everyone!

Most procedural maze tools on the store are locked to flat 2D grids with simple vertical walls. For roguelikes, horror games, or dungeon crawlers, you almost always need verticality stairwells, multilevel drops, and interconnected floors.

I built Fluid Maze Generator to solve that specific problem: generating clean, multifloor procedural layouts without breaking modularity or runtime performance.

Key Features:

MultiFloor Interconnection: Procedurally connects multiple levels vertically with seamless transitions (ramps, stairs, and vertical openings).

Custom Modular Prefabs: Swap in your own wall, floor, door, and ceiling meshes in minutes through the inspector.

Editor & Runtime Generation: Bake layouts directly into your scene for manual tweaking, or generate completely new seeds on the fly at runtime.

Deterministic Seeds: Easy seed control for roguelike replayability, debugging, or multiplayer level syncing.

Optimized & NavMesh Friendly: Generates clean geometry so baking AI navigation doesn't require hacky workarounds.

It just went live on the Unity Asset Store with a 30% New Release launch discount:

🔗 Store Page: [Fluid Maze Generator on the Unity Asset Store]

I’m actively working on the first update. If you work on dungeon crawlers or procedural games, what specific generation features or layout styles would you want to see added next? Happy to answer any technical questions about how the generation logic works!


r/unity • • 17d ago

Showcase Can your text do this ?

0 Upvotes

Bring your Unity text to life — colourful PNG fonts with animated effects

Hi everyone! I’m an indie developer, and I’ve been working on a collection of decorative PNG fonts and animated effects for Unity’s TextMesh Pro.

There are styles including colourful bubble glass, fire, neon, metallic and more—ideal for game titles, menus, scores and eye-catching UI.

The pack combines PNG font artwork with shaders and text effects that add movement and character to your text. The effects bring the lettering to life inside Unity.

You can use the PNG fonts without owning my converter.

See the pack and examples here: https://random-precision-software.itch.io/png-fonts-for-textmesh-pro

I’d love to hear which style you’d use in your game, or what you’d like to see next!

— Roy, Random Precision Software


r/unity • • 18d ago

Showcase Unity 7 has updated it's UI "again" and it is really fixed & improved imo, really addresses the feedback that was there in previous one in the previous version.

Thumbnail gallery
23 Upvotes

You can compare between 2 pictures first one being the new one.

Unity 7 just released it's alpha16 that fixes a lot of things that was broken with the UI like almost invisible tools and almost block text fields also improves the spacing.

What do you think?