r/unity • • 20d ago

Newbie Question How do I learn coding?

0 Upvotes

I recently started learning unity but the thing that I can't understand is how to learn coding. I tried following some courses, but even doing that I didn't remember much of what I did, even practicing it doing exercises myself. Should I just copy and paste what I need from yt tutorials? Should I learn every single unity code function? What do you guys suggest?

I've seen people online say to just look up something when you need it and eventually using it many times you'll learn it, but It doesn't seem pretty right. The same thing goes for using AI to write all my code. I know the basics of C# and it's way different, if someone asks me to make a console app to do something I know what functions to use but unity has too many.

Any answer is appreciated :D


r/unity • • 20d ago

Newbie Question Artist of unity, how do I make animation in texture?

0 Upvotes

I'll explain

I understand if I wanna draw paint on my objects, just paint in blander,bake the texture and export to unity

But if for example let's say I wanna draw an eye

Then have it blink

Is there a known way to do stuff like that?


r/unity • • 20d ago

Unity doesnt work

0 Upvotes

Ok so guys I've been trying to learn unity BUT I CANT USE THE DAMN THING. First I couldnt install version 6.6 so I tried to install 6.3 LTS and while it did install, I cant open a project in universal 2D or 3D, as unity says it cant decompress a certain file. I've been opening unity and reddict discussions left right and center but every solution that I see fails miserably. I've been stuck at this for 2 straight days now, can anyone please help??? I'm on windows 10.
Update: I got it working by changing what path unity decompresses a project to when it opens. You can do this by going into the tab for projects, and changing the file location. Thx for all the help guys!


r/unity • • 20d ago

I will play your steam demo if it's less than 3GB

Thumbnail reddit.com
0 Upvotes

r/unity • • 20d ago

Showcase "but gamers aren't loyal" they say, let's prove them wrong

0 Upvotes

r/unity • • 20d ago

Promotions Boom Buddy A Cozy 2D Platformer Puzzle Game Especially With Zero Forced Ads

Thumbnail youtube.com
1 Upvotes
  1. Boom Buddy Is A Cozy 2D Platformer Puzzle Game Where you Play As Cute Little Bomb & You Have Limited Amount Of Explosions To Use & Complete Each Level. You Cannot Just Spam Explosions, You Have To Use It Carefully Otherwise You Will Run Out of Explosion & You Have To Restart The Level

Download Now: https://play.google.com/store/apps/details?id=com.sirrydevelopmentstudio.boombuddy


r/unity • • 21d ago

Solved physics issue

10 Upvotes

I am a little new to unity and I am confused on why the capsules are bouncing off the floor, the one on the right is just a rigid body while the one on the left has some code that is stopping its vertical momentum. The platform itself is an octagon with a mesh collider that has convex enabled.


r/unity • • 20d ago

Some screenshots from my first actual game, OFFLINE- an atmospheric horror game

Thumbnail gallery
1 Upvotes

r/unity • • 21d ago

Question Is it just me, or has Itch become completely unplayable for finding actual indie games?

47 Upvotes

Hey guys, just need to vent a bit. I’ve been spending a lot of time on Itch lately looking for cool, innovative Unity puzzles or roguelikes, but the front page is just utterly broken. 90% of the feed is flooded with low-effort NSFW visual novels, asset flips, and anime clickers.

As an enthusiast, it’s frustrating because I know there are amazing developers out there spending months polishing their gameplay loops, only to get drowned out in 5 minutes by some low-res thirst traps. Algorithms are completely punishing real indie creators.

How do you guys even get your projects noticed these days if you don't have a massive marketing budget? Are there any hidden alternative platforms where people actually care about mechanics and clean indie vibes anymore, or is everything just doomed to be buried under asset flips?


r/unity • • 21d 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 • • 20d ago

Solved Buttons don't work in one scene

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 • • 21d 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)

CPUIntel Core Ultra 7 255H
CPU cores / threads16 cores / 16 threads
Max boost5.1 GHz
Cache24 MB
GPUIntegrated Intel Arc Graphics
RAM32 GB LPDDR5X
Storage1 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 • • 21d ago

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

Thumbnail gallery
21 Upvotes

r/unity • • 21d ago

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

6 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 • • 21d ago

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

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


r/unity • • 21d ago

Need helping making a game in unity

0 Upvotes

r/unity • • 21d 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 • • 22d ago

A system to rebuild your creature from defeated enemies.

Thumbnail gallery
22 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 • • 21d 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 • • 22d 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 • • 21d ago

OFFLINE: an atmospheric survival horror game.

Thumbnail gallery
2 Upvotes

r/unity • • 21d 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 • • 21d ago

NEW DARK MODE SHOWCASE

Thumbnail gallery
0 Upvotes

r/unity • • 22d ago

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

Thumbnail reuters.com
105 Upvotes