Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Asset for improving Unity game performance

Discussion in 'General Discussion' started by elmar1028, Sep 14, 2016.

  1. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,353
    Does anyone know of Unity assets that optimize and/or improve the performance of the game made in Unity? I am fully aware of ways games can be optimized, but I am curious if there is an asset that does it?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,478
    That sounds similar to the asset which has a "Make MMO" button :).
     
    appslabs, wccrawford, Ryiah and 6 others like this.
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,029
    About the only automatic asset I'm aware of is Asset Hunter.

    https://www.assetstore.unity3d.com/en/#!/content/22983

    There are plenty of manual assets though like pool managers.
     
    Perrydotto likes this.
  4. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,301
    As far as I know, this task requires sentient/intelligent being (that can interpret performance data from Profiler/Frame Debugger/etc) and an asset isn't gonna cut it.
     
    angrypenguin and Kiwasi like this.
  5. sicga123

    sicga123

    Joined:
    Jan 26, 2011
    Posts:
    782
  6. passerbycmc

    passerbycmc

    Joined:
    Feb 12, 2015
    Posts:
    1,738
    You just going to add bloat unless you profile and figure out where performance is bad and why first.
     
  7. jerotas

    jerotas

    Joined:
    Sep 4, 2011
    Posts:
    5,555
    If you're doing a bunch of Instantiate / Destroy calls, that can be pretty terrible for performance, especially on mobile.

    For us, even when not targeting mobile, the very first step in optimizing (indeed we always use it from the get-go) is to use a pooling plugin such as our own Pool Boss or PoolManager. It's pretty easy to do and well worth the effort.

    There's also:

    1) Occlusion stuff which can help a ton
    2) Texture combining (to reduce draw calls)
    3) Making sure you're not playing more than 1-2 compressed or streaming audio files at a time
    4) Polygon reduction.
    5) Using Dotween instead of ITween (slooooooooow).

    There may be plugins that do the rest of these, I'm not sure. We do them the old fashioned way.
     
    Ryiah likes this.
  8. Andy-Touch

    Andy-Touch

    A Moon Shaped Bool Unity Legend

    Joined:
    May 5, 2014
    Posts:
    1,442
    Here is a very informative talk from two of our Developer Relations Engineers:
     
    wccrawford and Ryiah like this.
  9. RichardKain

    RichardKain

    Joined:
    Oct 1, 2012
    Posts:
    1,261
    Optimizing a game isn't really something that can be effectively automated. There are many, many techniques and approaches you can take for optimization. But almost all of them are very circumstantial. What works in one scenario won't work in another one. So you're probably never going to see an Asset that just blanket optimizes everything for you. The best you can hope for is an Asset that points out some of the areas that might be dragging your game down, and most of that can already be had with Unity's built-in profiling and debugging tools.

    A better course of action would be to look for Assets that have been pre-optimized for performance. This would include script Assets that have been properly designed to run efficiently, with no egregious memory holes. It would also include graphical Assets that are designed to scale properly for different performance profiles. Keep an eye out for 3D models that have proper level-of-detail support built in.
     
    Kiwasi likes this.