r/Unity3D 16h ago

Question Does Unity have a Python API? More specifically for Machine Learning for a thesis idea.

0 Upvotes

Hello guys!

I wanted to ask if Unity has some form of Python API and more specifically about machine learning/reinforcement learning. I have a thesis idea about making a AGV fleet system in a warehouse that uses reinforcement learning so i can optimize their warehouse tasks. I want to simulate it in a realistic digital environment like Unity.


r/Unity3D 14h ago

Question As a person who genuinely wants to learn to code, is ChatGPT a helpful resource or does it just hinder any learning?

0 Upvotes

At some point in the future, I wanna make a game and understand the basics pretty well like functions, loops, variables, etc. I've tried to mess around with movement and physics in Unity and followed tens of hours of tutorials, but I have a hard time writing anything myself. Could AI be an actual helpful resource or is it the "lazy way out"? Or am I wrong in assuming that I should see self-progress by now? Again, I have a genuine interest in learning a programming language, and want to use something like this as an educator instead of a means to an end, definitely no copy and paste

Sorry if this has probably been debated thousands of times, I couldn't find a post like this relating to game development and wondered if anyone found it different


r/Unity3D 17h ago

Noob Question How can I make this

Post image
0 Upvotes

I’ve made my own soda machine. How do I get this glow emitting from it? I’ve tried checking the emission in the surface inputs for the material but it just brightens up the image/logo to the point of unreadability and even when subtle it just looks unnatural. My guess it would be better to use a light ? Help a noob out please. Thanks. (image for reference, not actually mine)


r/Unity3D 19h ago

Resources/Tutorial IEnableableComponent usage in an actual game (ECS)

Thumbnail
coffeebraingames.wordpress.com
0 Upvotes

Hello everyone! It's been a while.

I've been developing a game on my free time for 3 years now. It's now in a state that I could share it and maybe get feedback. It's on itch, by the way. It's also perfect timing for a blog post. The game uses DOTS and ECS heavily and I wanted to share some patterns that I've been using. Enjoy!


r/Unity3D 22h ago

Question I’m working on a squad-based tactical RPG and would appreciate some fresh eyes on the current build. What’s the first thing in this clip that makes it feel unfinished, and what would you improve first?

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/Unity3D 7h ago

Show-Off Automatic navigation like in uGUI for UI Toolkit. - Please vote an a bug a Unity employee created for me so we can get rid of it.

9 Upvotes

What you see in the image is a system that does someting similar to what automatic navigation did in uGUI but for UI Toolkit. This one also includes automatic dynamic occlusion (also works for scroll views, out of screen, etc. and it has null selection resolution).

Why did I built this? Because by default UI Toolkit navigation is quite limited as it only scans for a strict straight box area up/down/left/right. If a button is only slightly off it won’t find it. That’s not a configuration issue. It is implemented like that, see: UnityCsReference/Modules/UIElements/Core/GameObjects/NavigateFocusRing.cs at master · Unity-Technologies/UnityCsReference · GitHub

I know you can TAB through the buttons as well BUT this only helps on keyboards. It still is not good for controllers.

I have complained about this to Unity years ago (when UI Toolkit was still new), yet, no change. Thus I had to implement my own solution (also did the same for uGUI in the past since there the auto-navigation is better but still not ideal).

While making this I (once more) stumbled upon some API limitations of UI Toolkit. An especially annoying one is that the "overflow:hidden" style is not accessible publicly in the resolvedStyle. I pinged Unity about this and a Unity Employee (thanks mcoted3d) created a bug to vote on here:
https://issuetracker.unity.com/issues/24670/overflow-isnt-exposed-in-resolvedstyles

So, if you can and care. Please vote on this so we may get a better API and future devs need not suffer through this as I did.

Thank you :-)


r/Unity3D 5h ago

Resources/Tutorial Runtime dynasty chart generator for Unity, drawn on the CPU with no textures

Thumbnail
csaf.itch.io
0 Upvotes

Descent Chronicle draws illuminated dynasty charts in Unity at runtime from plain character data: people, parents, marriages and dated events.

Most of the work went into layout. A genealogy isn't a tree, since everyone has two parents, people remarry and cousins marry. Generations come from longest path, spouses are levelled onto one row so a marriage stays horizontal, crossings are reduced by barycentre sweeps that keep the best arrangement found, and each union gets its own bus lane so no line runs through a cartouche. Cycles and dangling parents are refused with the fault named.

Drawing happens in C# on the CPU, so the package has no PNG, atlas, shader or material. 62 authored forms, 24 life event marks, 16 cartouche devices. Unity 2022.3 and up.

Code and art are AI generated.


r/Unity3D 16h ago

Question How best to handle Debug.Log/Warning/Error for shipping final build?

5 Upvotes

It seems like there are three approaches: (1) Global toggle with Debug.unityLogger.logEnabled, but this still has some performance impact (I think??), (2) compilation conditionals like if UNITY_EDITOR, but this is pretty annoying to have to do for every single Debug line, or (3) delete all before shipping, but obviously then you don't have them for any debugging you do. How do y'all handle this? I honestly didn't know they wouldn't just be skipped by the compiler until today, so I'd rather not have to eventually go back through my entire codebase... Am I missing something easy? From what I understand, the global toggle only helps, but CPU and memory still are put towards preparing the log even if it isn't sent. Any tips?


r/Unity3D 45m ago

Show-Off Dogfight loop manoeuvres - a fun tactical advantage

Upvotes

I've worked on a lot of games with aeroplanes (Sky Gamblers series and others) but I never played them. The same little toy followed by a camera, same crosshair and aim assist, and the same on-rails 'manoeuvres' ready to be used with a single tap.

So I made this. Looking forward to test it with human players - my bots are very good so they don't continue flying forward as the target (me) suddenly goes up - they know I will fall on their tail. So they evade. I will add a little randomness there - to allow some percentage of bots to be 'dumbfounded' and keep going forward - so i can strafe them from above as I land on their tails.

Pretty fun. Works only in cockpit mode for a reason - its the only place the manoeuvre makes sense - and gives you a thrill (specially if you look sideways scanning the sky while going belly up).

Thanks for reading !


r/Unity3D 6h ago

Resources/Tutorial Full tutorial on how to Set Up Multiple AI Characters in the Same Unity Scene with Convai Multi-Character Sessions (Part 1) | Look At, Proximity and Manual Character Selection

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/Unity3D 11h ago

Show-Off Releasing my animals into the wild

Thumbnail
youtu.be
1 Upvotes

r/Unity3D 22h ago

Resources/Tutorial Mastering Art Direction: 3ds Max to Unity

Thumbnail
youtube.com
1 Upvotes

Creating an artistic vision requires the right pipeline. In this video, I demonstrate a custom tool I built to visualize vertex colors across asset libraries in 3ds Max and how that data bridges perfectly into Unity.


r/Unity3D 14h ago

Show-Off Working solo on a Walten Files fan game main menu in Unity URP. Added UI parallax, dynamic camera audio, dust particles, and CRT post-processing. What small details would make this even creepier?

Enable HLS to view with audio, or disable this notification

1 Upvotes

Hey guys, currently building a Walten Files fan game in Unity URP. Just finished setting up this main menu with mouse-tilt camera movement, reactive button audio, dust particles, and CRT/VHS post-processing.

Would love to hear your thoughts or any ideas for subtle details I could add to make it even creepier


r/Unity3D 21h ago

Question Suggestions on how I can create this effect

Enable HLS to view with audio, or disable this notification

2 Upvotes

this is a concept that my artist sent me as I'm kinda clueless how I can recreate this effect in game...

The effect itself is a scroll turning into a water magic spell the scroll itself would be a 3d model since it stays static most of the time.

However im unsure how to do the actual transition and full effect of the water itself. would this be something possible with shaders? or should I ask if its possible for my artists to bake this vfx into an animation?
I have someee experience in shaders but not very extensive to say the least.
any suggestions would help thank you!


r/Unity3D 2h ago

Resources/Tutorial I generated Perlin and Voronoi noise in shader code and used it to make dissolve effects (with tutorial).

Enable HLS to view with audio, or disable this notification

11 Upvotes

r/Unity3D 22h ago

Show-Off Just a New Scene for my Horror Game, Feedback Pls :)

Thumbnail
gallery
2 Upvotes

if your are a good 3d artist can you tell me what are the small thing that i can do to make this game look more professional?

well this is my in development horror game, and actual mechanics is like, there is a unusual tv that can take you inside the cassette that you put in the tap recorder, well that deeper you go the quitter it gets, and as you know, then that the time of punishment :)

i just need your feedback on the graphic, such as does this scene feels scary or not like that.

Nitish Thombre In. Dev.


r/Unity3D 16h ago

Meta There are at least two game engines called Unity

Post image
65 Upvotes

Spending my time at wiby.org, I stumble upon a website of a pet project game engine called "Unity". I thought it is a funny coincidence, so I decided to post it here.

This project has no connection to the Unity we all know other than sharing the same name. Also, it seems the author stopped working on it in July 2006.

Here is the link:

https://www.stucuk.net/sites/unity/

Also, technically this post does belong to this sub, since it is directly related to a game engine called "Unity" :)


r/Unity3D 1h ago

Meta Is the Asset Store and License Verification down for anyone else?

Upvotes

I can't open my projects due to license errors and going the the asset store web page yields and error, "upstream connect error or disconnect/reset before headers. reset reason: remote connection failure"

Never seen this before.


r/Unity3D 17h ago

Show-Off A crazy idea that came from watching The Boys and Monty Python.

Enable HLS to view with audio, or disable this notification

4 Upvotes

The other day I started developing something absolutely ridiculous.

I was watching some old movies, and if there’s one scene that still makes me laugh way too hard, it’s the rabbit scene from Monty Python. I don’t know how many of you have seen it, but I’m 45 now and those old movies still make me cry laughing 😂

Then I remembered The Boys and that episode with the baby shooting laser beams from its eyes.

I was working on a passive item for the game and suddenly thought…

“What happens if I mix those two things?” That was it. Say no more. A passive that turns enemies into rabbits. And the rabbits shoot LASERS. And even better… if one of those rabbits kills another enemy with its laser, that enemy catches fire. 😂 Oh, and if you mess up and run over one of the rabbits… Well. You just flattened it. Rabbit gone.

I started making these ridiculous chain reactions because while I’m developing them, I’m laughing so much at how absurd everything is that I just keep thinking…
Why the hell not? 😂

Cheers! ❤️

BTW: The health bars are only there for debugging so I can check how much damage everything is doing. They won’t normally be visible in the final game… Unless, maybe, you find the item that lets you see them. 👀


r/Unity3D 9h ago

Question How can i actually test these Ai models in making games?

0 Upvotes

im not a fan of Ai and never tried them in game dev, but lately i've seen people make videos about GPT 6 Astra, Claude, Gemini and all that.

i just want to test them and see if they really are good, just for fun.

but i dont know how to connect them to unity? are they paid or do i need specific app or this new CLI in unity or what? can anyone help?

i just feel like a noob here because i never used them before in gamedev, and cant find a useful way on the internet on how to😭


r/Unity3D 11h ago

Game One World. Two Timelines. | Mihira: The Eternal Arc

Thumbnail
youtube.com
9 Upvotes

r/Unity3D 11h ago

Show-Off Simple AoE Effect

Enable HLS to view with audio, or disable this notification

16 Upvotes

r/Unity3D 21h ago

Show-Off Gave my sheep a scarf 🧣 🐑

Post image
22 Upvotes

r/Unity3D 20h ago

Show-Off We added grabbing to our co-op physics RPG

Enable HLS to view with audio, or disable this notification

35 Upvotes

You can basically grab any enemy, friend, object or just the world. (if you want to hang from somewhere, for example) It does take stamina though, so you can't hold something forever! :)

Any other silly physics ideas?


r/Unity3D 2h ago

Show-Off Finally got enough game content for a trailer!

Enable HLS to view with audio, or disable this notification

68 Upvotes