Top 25 unity optimization tips to increase the performance of your game and make it a lot faster!!!

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • #optimization #tips #performance #unity #HowToGameDev #tutorial
    Is your game lagging down? Does your game has performance issues? Is your game doin good in PC but when it comes to mobile it lacks performance?
    If that is the case then this video is for you.
    I am back with top 25 tips to optimize your game in unity,increase its performance and increase its speed in which every device you want it to be played.
    The tips range from very basic good coding practices to complex design patterns and advanced techniques used by game developers to optimize there video games.
    '
    Those who are crazy enough to think that they can change the world
    are the ones who do...
    '
    Link to the game I mentioned i.e. Bomber Inc.:-
    play.google.co...
    Link to the 'How To Game Dev Blog' :-
    thetechpreneur...

Komentáře • 36

  • @TheTechpreneurs
    @TheTechpreneurs  Před 4 lety +4

    Hey if you have any more tips to share it down in the comment section..
    Also try out my game bomber inc
    Link is down here..
    play.google.com/store/apps/details?id=com.TheTechpreneurs.Bomber

  • @anshulsingh8326
    @anshulsingh8326 Před 3 lety +2

    Thanks bro❤️❤️❤️

  • @midniteoilsoftware
    @midniteoilsoftware Před 2 lety

    I was not aware of OnBecameInvisible()/OnBecameVisible(). Thankful I stumbled across this video. Nice job.

  • @jyotipant453
    @jyotipant453 Před 4 lety

    Good Job Shivi

  • @FerusDeus
    @FerusDeus Před 4 lety +4

    23 is wrong
    this is from Microsoft:
    As a rule of thumb, the majority of types in a framework should be classes. There are, however, some situations in which the characteristics of a value type make it more appropriate to use structs.
    ✔️ CONSIDER defining a struct instead of a class if instances of the type are small and commonly short-lived or are commonly embedded in other objects.
    ❌ AVOID defining a struct unless the type has all of the following characteristics:
    It logically represents a single value, similar to primitive types (int, double, etc.).
    It has an instance size under 16 bytes.
    It is immutable.
    It will not have to be boxed frequently.
    In all other cases, you should define your types as classes.
    Source: docs.microsoft.com/en-us/dotnet/standard/design-guidelines/choosing-between-class-and-struct?redirectedfrom=MSDN

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      No man.......classes are not much benificial in garbage collection....
      In brackeys 100 unity tips.....
      He clearly mentioned this things...

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      But ya....your source is also right.....it need following conditions for a struct to be better than a class...

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      Thanks for this feedback...i will search about it more and correct it if you are right😊

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      And i have said...whenever possible use struts...in my video...so i guess i am not wrong

    • @FerusDeus
      @FerusDeus Před 4 lety +1

      @@TheTechpreneurs Yep and he also mentions "just a few variables" for a reason :P I'm not trying to judge you, on the contrary i think you are doing a great here job. I tried to show you a little information about the topic i hope you get the knowledge from it instead of mad with me.

  • @edwardlazaga2788
    @edwardlazaga2788 Před 4 lety +1

    wow really nice!!

  • @kunalkashniyal2317
    @kunalkashniyal2317 Před 4 lety +1

    Hey buddy! Keep going. I am extremely overjoyed to see you grow. Good going buddy i wish to see more good stuff in the future🙃🔥

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      Yo buddy.....😀😀😀😀😀😀😀😀😀😀😀😀😊😀😊😀😊😊😀😊😀😊😀😊😀😊😀😊😀😊😀😊😀😊😀😊😀😊😀😊

  • @viveksinghkathayat8697
    @viveksinghkathayat8697 Před 4 lety +2

    Believe me, this guy 👆 is professional........❤❤
    Btw whatsup bhai!!?😂😂

  • @adigitalmind4292
    @adigitalmind4292 Před 4 lety +2

    Sorry but a number of your tips are not optimisations or incorrectly detailed. OnBecomeInvisible for example will still render if it’s not in the camera view if the related object influences renderings. Profiler section needs far more detail. Coroutines are not more efficient than, in fact they can decrease performance if done incorrectly. That’s as far as I got as the content isn’t great. Sorry. There’s much better advice out there that’s more accurate.

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety +1

      Thanks for your feedback...
      I got what you said..and will try to improve it

  • @knoxgaming8973
    @knoxgaming8973 Před 4 lety +1

    Very helpful video 😘

  • @anitapande1350
    @anitapande1350 Před 4 lety

    Great video....very helpful

  • @deekshapant8836
    @deekshapant8836 Před 4 lety +1

    0:01
    "Does your game has performance issues??"
    It should be Does your game HAVE performance issues.
    Just check it. Not being rude.

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      Oh thanks...no not at all rude...
      It would have been rude if u haven't told me....
      Thanks for that😀😀😀😀😍

  • @prolificgames1112
    @prolificgames1112 Před 4 lety +1

    Dude stop copying sketch's video

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      What??

    • @prolificgames1112
      @prolificgames1112 Před 4 lety +1

      @@TheTechpreneurs all your tricks are copied from Sketch's Video Man Grow Up

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      Sorry if you found so...but i dont know who sketches is .....

    • @TheTechpreneurs
      @TheTechpreneurs  Před 4 lety

      And by the way things might look same...because actually they would be same.....

  • @adikharkwal5877
    @adikharkwal5877 Před 4 lety +1

    Good♥️♥️♥️