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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Will using plugins cause any performance issue?

Discussion in 'Editor & General Support' started by shohagmist, Jul 22, 2015.

  1. shohagmist

    shohagmist

    Joined:
    May 19, 2015
    Posts:
    37
    While developing a game, Will using too much Plugins cause any performance related issue?Is there any side effect on size of ".exe", ".apk" etc?
     
  2. blizzy

    blizzy

    Joined:
    Apr 27, 2014
    Posts:
    775
    That would totally depend on the plugins used. Some are editor-only, some do stuff during runtime, some do stuff only if you ask them to. The question is too broad to give a single answer.
     
    liortal likes this.
  3. Sickwitit

    Sickwitit

    Joined:
    Dec 22, 2014
    Posts:
    123
    The best way to look if it's causing performance issues is to first implement your plug-in, then use the Unity Profiler, which tells you what is giving you performance hits.
     
  4. Will-H

    Will-H

    Joined:
    Dec 12, 2013
    Posts:
    8
    Plugins that are in the Editor/ folder (or checked as editor-only in the import settings of Unity 5) are only imported and loaded in the editor, so they won't have an impact on the build size or the build's performance.

    Regarding performance for other plugins, well, as blizzy said, it totally depends on what the plugins are doing.
     
    shohagmist likes this.
  5. shohagmist

    shohagmist

    Joined:
    May 19, 2015
    Posts:
    37
    @Will H and @blizzy
    Thank You for your information.
    Ok Let me more specific.
    1. When I Import any plugin into Editor, there are many Items i.e. Scripts, Animations, Prefabs, Materials . Will the unused items be included in the build package? or Unity Checks the usage.
    2. For example, I am using iTween for animation, Photon for Networking, Plugins for different social community i.e. Facebook, G+ etc. And many things I can do manually, but it has been done in different plugins. Now Using those plugins will save my development time but what about efficiency?
     
  6. blizzy

    blizzy

    Joined:
    Apr 27, 2014
    Posts:
    775
    Unity will only include what is referenced in your project. It will, however, include all code. That should be the least of your concerns, though, since code tends to be small.