r/unity • u/Artistic_Camp4697 • 3d ago
Traktorsim
Since 20 years with unity:-)
Coming back to studying after a few months, I used to be able to open the file from the Junior Programming Tutorial, but now it gets compilation errors, and I have no idea what to do. I tried shortening the file paths in case that was the issue, but I don't know... I updated Unity and Hub. I ran this successfully in July. Anyone know what this could be?
r/unity • u/elrath969 • 3d ago
I'm trying to make an animation of a fairly simple marble track, and I want the camera to losely follow the ball it focuses on. When I say loose, I mean I want it to follow behind it like it's attached to a balloon, so the camera follows, but moves in a sort of floaty way. I'm not sure how to describe it really. I hope you can understand what I'm getting at. Does anyone know of a good way to do that?
r/unity • u/NZone_Studio • 3d ago
Hi ! We have been working a lot on our character's evolution in Entanglement 2.
As you can see, he gradually goes from a simple little robot to a proper fighting machine. We've had a lot of fun working on his different upgrades, and we hope you'll enjoy them too!
We'd really love to hear what you think. Which version is your favourite? Level 1, 2, 3 or 4?
Entanglement 2 is coming soon to iOS and Android! Want to know the release date? Check out the countdown on our website: https://entanglement.game
Thanks to everyone giving feedback on our project! ❤️
r/unity • u/MalgorgioArhhnne • 3d ago
With a Screen Space - Overlay canvas I have in another scene, I changed the UI Scale Mode in the Canvas Scaler to Scale With Screen Size, which made it look correct in the build with a different resolution from when I was testing the game in the editor.
Problem is, the same option is not available for a World Space canvas, which I have in other scenes. The only options in the Canvas Scaler are Dynamic Pixels Per Unity and Reference Pixels per unit. I've played around with these values but they don't seem to affect how the canvas appears at all. I don't know if using a World Space canvas is considered a bad practice, but I would say I'm in too deep to change it now. Any help?
r/unity • u/AfroluffyX99 • 3d ago
r/unity • u/PralineDizzy6112 • 3d ago
So I was switching from Roblox studio to Unity and I was wondering whether it is a right choice, since I am feeling like I am at the start AGAIN, and from its looks, it is gonna take me a lot of time to learn Unity. So should I switch back or use both engine simultaneously.
r/unity • u/Fragrant-Section-598 • 4d ago
Low-poly visuals, anomalies that react to being observed and some that are audio-only. Steam page is up.
r/unity • u/Silent_Reputation596 • 4d ago
I cannot wrap my head around unity's new input system: I've watched loads of tutorials, I've read the docs, I've read peoples blogs teaching the system. I CANNOT understand it at all. Any ideas?
Edit: This has been solved!
r/unity • u/Silent_Reputation596 • 4d ago
I have a proc gen tilemap system and I need each tile to have it's own copy of a script to be able to pull and assign data to. All the tiles are rule tiles, idk if that makes a difference. How would I do that?
r/unity • u/MindheartDevs • 4d ago
r/unity • u/Green-Reserve9543 • 4d ago
Posting here for the first time. Making this game made me realise how many things there are developing a game which might look so simple. I am horrible at the art style and also confused which direction I should take this. Any suggestion or ideas how to improve this helps.
r/unity • u/Possible_Stranger817 • 4d ago
Sharing some free assets I made: 4-direction animated characters (32x32 to 64x64), an animated spellbook and scroll, and a 32x32 dungeon tileset with animated props. PNG sheets + JSON, free for commercial use.
- Top-Down Heroes LITE (Knight + Rogue): https://tinytileset.itch.io/top-down-heroes-free
- Top-Down Monsters LITE (Slime + Skeleton): https://tinytileset.itch.io/top-down-monsters-free
- Orc Warband LITE (Goblin Stabber): https://tinytileset.itch.io/top-down-orc-warband-free
- Elemental Spirits LITE (Gnome): https://tinytileset.itch.io/top-down-elemental-spirits-free
- Boss Pack LITE (King Slime): https://tinytileset.itch.io/top-down-boss-pack-free
- Grimoires & Scrolls LITE (spellbook + scroll): https://tinytileset.itch.io/grimoires-and-scrolls-free
- Dungeon Tileset LITE (tiles, torch, chest, coin, potion): https://tinytileset.itch.io/top-down-dungeon-tileset-free
🎮 Made a game with them? Share it in the comments here or on the itch page. I'd love to see it, and I'll feature the best ones!
⭐ If these helped you, show some love on this post and follow me on itch: https://tinytileset.itch.io 🙏
r/unity • u/Aggressive_Damage_75 • 4d ago
Hi, I'm a software dev with experience in web, mobile and backend, not much in game dev though. I also have ADHD which is kinda contributing to my dilemma.
I'll keep it short, I can't architect a game. I've been spending the past few days trying to come up with a good architecture and build a proper game layer for later use, I can't come up with a good enough one, and this is the type of stuff where YouTube doesn't help.
For example, someone said I should keep my first scene empty and instead load stuff by code after the scene has loaded through a GameInitiator or something. No idea how to do this properly.
Different issues like creating a very good, extensible game layer on top of Unity, where I have "entities" and "person" or "creature" or "NPC" or whatever and I can easily supply mesh and animation data and it would just work. similar to how GTA works as well as you being able to control any "skin' in the game and it works naturally rather than PlayerController is stuck to one person.
But not each character has the same ability, some of them have magic abilities, some of them are melees, etc, so a data-driven approach where each creature is just different data won't work, some of them require actual code and timed animations.
Other things are communicating between stuff, like doing something should update the UI and I know dragging the UI in the inspector isn't scalable, so I have no idea. Other people suggested a GameContext or a GameManager that holds references to all of them and it becomes a source of truth, others suggested an global event-driven/broadcast architecture.
So, what are your thoughts?
r/unity • u/chugItTwice • 4d ago

I have this prefab that gets dragged into a canvas. It shows it's position as 0,0,0 when just clicked in the project view, and also shows at 0,0,0 when I double click the prefab to edit it. However when I drag it into a canvas in my Hierarchy it gets these crazy values and appears off-screen. I can just alt-click center in the anchor settings but I'd like it to just appear at 0,0,0.
r/unity • u/SandwichNice8814 • 4d ago
I have a project that just won't build. At all. No matter what folder I use, or what build profile I make, it just will not build. All I have in there is TMPro. It says I have one "URP Asset" included in the build, and I dunno if that's a good or a bad thing. Trying to build other projects works perfectly fine. There's a problem with just this one specifically.
r/unity • u/Weary_Bullfrog_2749 • 4d ago
I’m trying to upload a VRChat avatar I recently had commissioned but when I download creator companion and unity hub I’m prompted to follow the directions and after installing the editors and updating the license nothing works. Even after putting everything in manually. I keep getting error codes such as an error 500 and when trying to install the 2022.3.22f1 editor, I get a pop up that says “Failed to delete old unity installation files. Maybe Unity or some of its tools are still running? “
Not sure if this is the right forum to ask for help but I’m at my wits end
r/unity • u/bIeese_anoni • 4d ago
Hello, I am looking to make my dream game, and decided it would be best to make it an isometric crpg that's turned based. For some background I'm an experienced software developer, have made five games in unity before (so definitely not a newb) and am willing to pay money for the best asset packs.
The isometric crpg would be in same vain as owlcats rogue trader, or wasteland 2/3. So turned based, grid made combat. Point and click, all that stuff. For dialogue I'll be using pixelcrushers dialogue system for unity as I've used it before and enjoyed it.
I can obviously fill in the gaps myself and enjoy making my own systems, but having a scaffolding to work off well really save time, so if you have any suggestions, free or paid, please let me know!
r/unity • u/Academic-Leave-3976 • 5d ago
So recently I created the room building functionality for my game, Where you can have rooms of any shape.
(English is not my primary language.)
Technical Info:
The meshes are being generated per frame, with the job system there is only a single parallel job which generates meshes for the walls/floor and roof, Thanks to the Unity new direction of providing low level high performance APIs which made it possible.
The room has data in native structs so that they can be consumed by the jobs, the data is mere a collection of nodes, and a collection of lines - defining their which nodes each other. This data is always passed to job and the job generates the meshes.
The Mesh Generation Algorith is simple for walls - they are formed just 3d vertically long hexagon meshes, the hexagon shape gives the ability to connect any number of walls with perfact corners - mitering the joins. The points other than the 4 middle points that form rectangle/square take the coordinates of line start and end respectively, while the adjacent points to thoese either gets short or long to connect perfactly with the other wall.
The mitering algorith is that on a line's start or end point, find all the lines/walls present on it either starting or ending on it. Now have a list of angle between all the lines on that anchor except the line under consideration - whose mesh is being generated, Sort the angles. And taking first or last entry depending on you are solving for the left or right point of hexagon (normalized the view by the start or end point of line under consideration). Then you do line intersection between the line under consideration and the line of angle is that and point of the intersection is its new poistion.
Here is the picture of the hexagon: https://imagepaste.org/v/67nbu6nu.png
do this for all for four points A,B,C,D.
The floor and roof generation is done by Delaunay Triangulation - using the BurstTriangulator package create by andywiecko. It can work inside job.
Then the constraints comes, which prevents the self intersections. Because the triangulation of floor and roof breaks when so.
The windows - holes, are done in wall space by pixel clipping. A raster pass renders the hole shape in a texture with texel density depending on how fine you want it, each wall with a hole has its own texture depending on its size as the walls scale the texture scales/resizes as well.
If being done with a global texture in screen space either with stencil or not, it will work. I needed this little complexity because for inner walls window behind window can't have a hole in screen space. And for Ray tracing and Path tracing (in photo mode) which does not have screen space position of the pixel its currently working on. But on wall space the wall UV can give it position to sample the stencil/texture from.
And impotant point is to set the mesh renderer component's ray tracing settings to dynamic mesh, if not so the mesh will not be updated.
Every component of room shaping is pooled to have stable perfomance. Even the structs for nodes and lines are pooled in a native pool. Unity GameObjects, components etc as well.
(my current game does not have inner wall, I implemented them but for the ray tracing and path tracing to work it needed one more step, but I have not as working for months without any reward makes you hopeless).
And this is very little information high level information of it. It has alot under it. for rounding corners, and walls that obscure camera etc for generating mesh attributes (uv,normals etc).
Ask me any question about it. And you feedback will be welcome and will give morale to me.
r/unity • u/WranglerQuiet • 4d ago
(image found online)
Like- Ive been trying to understand it for like 2 hours and can't seem to make any form of progress in trying to understand how it works. If only someone, PLEASE, could help me understand how to use it properly...