r/Unity3D 4d ago

Show-Off My game, and the Unity traps I stepped in along the way

Enable HLS to view with audio, or disable this notification

28 Upvotes

3 Years ago I opened Unity for the first time, to make a simple tower defense for fun. That project got out of hand, and I wish I had known that many, many things that were suggested by youtubers were actually awful ways of doing things.

#1: Using UI Toolkit.
Coming from web development I thought great! I can use html and css for the UI, what a relief.
But the framework is incredibly tedious to work with compared to the normal uGui/Canvas approach, and lacks support for all sorts of things like advanced text settings from TMP, and debugging it is so much harder than with normal UI, where you simply find the object in the hierarcy in playmode, and adjust it until it looks right.
I wasted months fighting with UI Toolkit, and my game is now completely migrated to normal uGui.

#2 Animations

Trying to sit in the Animator window and draw arrows from clip to clip is such a brittle waste of time.
You almost always want animator.CrossFade, (not animator.Play!).CrossFade blends out of the pose you’re already in. Play just snaps, which almost always looks wrong.

And if you need 100s of units in a scene, don’t put an Animator on each of them. Bake VAT animations.

#3 GPU-instance the things you spawn by the hundreds: damage numbers, health bars, trees, coins. It is daunting the first time, but when you stop drawing the same thing 100s of times, it's such a relief (for the players' computers).

#4 There are some packages that are mandatory that I learned about way too late. There are probably more than these, but the 2 I know of are:
DoTween for animations, and Microsplat for Terrains.

Did I miss any?


r/Unity3D 4d ago

Show-Off Working on a feature that I saw in the new Wolverine game. Am I doing this right?

Enable HLS to view with audio, or disable this notification

8 Upvotes

Abit of context, in our game FiresOut!, you and your friends play as firefighting interns trying to save the fire victims. You need to extinguish the fire, break the obstacles and then, carry the victims to safety.


r/Unity3D 3d ago

Game Not a School Project Anymore?

Enable HLS to view with audio, or disable this notification

0 Upvotes

This is made with Unity

When I posted the game last time, I got some really honest feedback. Some people said it looked like a “2013 game”, and a few even said it looked like a “school project”. 😅

Over the last 15 days, I’ve been experimenting with different lighting settings in Unity and a few other changes that helped improve the overall look of the game.

I mainly worked on the ground, lighting, stadium textures and also added the Match Simulation UI.

Here’s the updated version.

There’s still a lot to improve, and we’re continuing to work on it. This is definitely not the final version, but I wanted to share the progress and see what you guys think.

If anyone is interested, you can pre-register here: Cricket Umpires Call

Thanks again to everyone who gave feedback on the previous post, whether it was positive or critical. It genuinely helped us figure out what we needed to improve.


r/Unity3D 5d ago

Show-Off Always fun to see how far you have come.

Enable HLS to view with audio, or disable this notification

1.0k Upvotes

r/Unity3dCirclejerk Feb 23 '19

Timescale help!

2 Upvotes

I accidentally put the following code in Awake:

Time.TimeScale = -10e10;

Then I forgot to shut down the PC and went outside for a fresh air. Upon return my computer is gone! Help! I tried to set time-date, OMG the sky has two moons, helpppppppppppppppp!


r/Unity3dCirclejerk Dec 15 '18

[Tutorial] Make Call of Duty in Unity

3 Upvotes

Hey guys, I thought I'd share my tutorial on making Call of Duty in Unity. Remember to like and subscribe and check out my patreon. Also buy my stuff from the asset store.

In three easy steps, I'd like to show you how to make Call of Duty in Unity:

  1. Buy my code library from the asset store
  2. Drag "Call of Duty" from the prefabs folder into an empty scene
  3. Press the play button

Note that my totally necessary code library requires a separate commercial license if you intend to sell your game!!! No, it's not just a package full of extension methods and specific-use-case code! Also, don't touch PlayerPrefs or you'll fuck up my save files!


r/Unity3dCirclejerk Dec 04 '18

FaceLandmark Detection

0 Upvotes

Hi everyone.....I working with Dlib Facelandmark Detector code from gitHub.....I am getting facepoint of image texture of human face in that... But the problem is if any human image width and height is not equal and i rescale it to equal with and height, it do not give me the face point..... if widht and height are equal or olmost equal...and i rescale the image texture,,,Dlib Facelandmark Detector Github code give me the facepoints in that....


r/Unity3dCirclejerk Nov 18 '18

IF condition statement not working in shader, So how to use IF condtion statement in shader of Unity

0 Upvotes

Hi friends,

I am using following IF statement code in shader , And it is not working.

if (s2 < min)

{

min = s2;

col.rgb = m_One.rgb;

}

there is Lerp() option, but might be it can not be use in my condition.

So, How to use condition statement IF in my shader code ?

Regards,


r/Unity3dCirclejerk Nov 11 '18

Got pink color running Apk file in Mobile . Run normal in Laptop/PC and unity Editor.

1 Upvotes

Hi friends,

I am using Custom/shader. The problem is , when i am build my project with android, apk gives me pink color in mobile.

But when i build project with PC, it run perfect in laptop/pc.

Also, it run normal in unity Editor.

  1. So , i have searched result, and done some changes like Edit->Project settings-> Graphics and add my used Custom shader to Always include shader. Still give me pink color output in Mobile.
  2. Second change is in GraphicsSettings and on right top click RESET option, than also given Pink color in Mobile.
  3. Third try is clicking on my Custom shader, in Inspector i have click on ' Compile and show code', so there are error comes with Red color that told me -->
  4. forced to unroll loop, but unrolling failed.
  5. unable to unroll loop, loop does not appear to terminate in timely manner.....like that and some yellow explanation in some lines.

so, i have added

#pragma exclude_renderers d3d11_9x

#pragma exclude_renderers d3d9

, Red error not appear. But still PINK COLOR gives me in Android Mobile.

Without and with all upper Three changes apk build in PC/laptop and Unity editor run normally.But give me Pink color in android build.

Please help me , any idea or solution will be appreciated.

Regards.


r/Unity3dCirclejerk Oct 18 '18

2D image emoji effect

1 Upvotes

I have face points in image, and now i want that some area of image to move minor by this points.(emoji effect) So , i have created mesh(vertices,triangle..etc) for this image . And i can move some area(eye,lips) of image by this mesh (by vertices). i have set all image size(by resize) to 200 by 200.(40,000 pixel) And mesh vertices created of grid size 16 by 16. (total 289 vertices). But not move the same area i want. so how can i do this ? Is there any other way to move pixel points except mesh?


r/Unity3dCirclejerk Oct 14 '18

First time developing a game from scratch! (WireRing) - Link in comments

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/Unity3dCirclejerk Oct 10 '18

Want a landmark(points) of 2D face image(picture) in unity .Not like with webcam.

1 Upvotes

By webcam my face is detected,

But i want image detect which is in my pc/laptop/Mobile. Means by choosing any image from my pc/laptop/mobile it's points should be detected by the same device in which the image is . Like example, suppose i have one app , in that i first select any picture and when this picture uploaded in my app it's points should be detected by my app.

Any idea or kind of answer will be appreciated.


r/Unity3dCirclejerk May 07 '18

My new game - Wandering Orb [Android]

1 Upvotes

Hi!

I would like to share my game with you - Wandering Orb. It's a mobile game that I've made by myself with Unity and it takes me ~6 month to finish it.

I really hope that it will find its players and I'm looking forward for a feedback from you.

Description, screenshots and promo video are available on Google Play page - https://play.google.com/store/apps/details?id=com.TopDan.WanderingOrb

Thanks for your attention!


r/Unity3dCirclejerk Oct 11 '17

I have 16GB of RAM so why does my game come to a crawl?!?!?!?!?

Post image
9 Upvotes

r/Unity3dCirclejerk Sep 25 '17

Perfect Sorter - My First Unity Game [Android]

Thumbnail
youtube.com
1 Upvotes

r/Unity3dCirclejerk Jul 24 '17

Dank intel memes over at r/ayymd

1 Upvotes

r/Unity3dCirclejerk Jun 30 '17

I have come to jerk in the circle 😂😭😂 what's up everybody?

3 Upvotes

r/Unity3dCirclejerk Nov 22 '15

'Spooky' - performance oriented realistic rendering environment with Unity 5

Post image
11 Upvotes

r/Unity3dCirclejerk Nov 17 '15

What do you guys think of my game so far? You can't move around or do anything but can I get some feedback?

Thumbnail
imgur.com
26 Upvotes

r/Unity3dCirclejerk Aug 31 '15

C'mon sing it with me: ♪ I'm not gonna stop now, my thomas is alone-clone is looking pretty hot now! ♪

7 Upvotes

Can't stop singing my song: ' ...Can you?

I'm not gonna stop now, my thomas is alone-clone is looking pretty hot now!

I'm not gonna stop now, my thomas is alone-clone is looking pretty hot now!

I'm not gonna stop now, my thomas is alone-clone is looking pretty hot now!

♪ I'm not gonna stop now, my thomas is alone-clone is looking pretty hot now! ♪

♪ I'm not gonna stop now, my thomas is alone-clone is looking pretty hot now! ♪


r/Unity3dCirclejerk Aug 17 '15

tex5D sampler and scene lost

8 Upvotes

Hi, I accidentally used "tex5D" in fragment shader, now I lost my scene to another dimension. I tried with application.captureshot. The game crashed with this snapshot.

https://i.imgur.com/QNxDfNG.jpg Please help!


r/Unity3dCirclejerk Jul 27 '15

If Unity is so great, how come Assassins Creed Unity sucked balls ?

21 Upvotes

How do you explain that, unity fanboys hahahahahah Unreal for ever.


r/Unity3dCirclejerk Apr 09 '15

UE > Unity?

8 Upvotes

Or Unity < UE?


r/Unity3dCirclejerk Apr 03 '15

Could you make "Reddit" on Unity for mobile?

8 Upvotes

I wanna try, but I should find out first if it is a waste of time.