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

Reality check on Unity app size and CPU load

Discussion in 'Getting Started' started by ClintOconner, Nov 14, 2022.

  1. ClintOconner

    ClintOconner

    Joined:
    Nov 14, 2022
    Posts:
    4
    Hi.
    I just joined this forum, hoping to get a reality check on a new Unity app from this community of experienced developers.

    I have a team that is developing an app in Unity. It runs on Win OS desktop. I think the app is pretty simple. It's kind of like a home personal assistant. An animated avatar (looks like a human personal assistant) is present on the computer all of the time to remind the user of appointments, to answer basic questions, etc. The animation isn't very active. The background scene is a room that is generally static, although the user can change the background scene. The avatar moves a bit when she talks, but the animation isn't very dynamic.

    Here are the concerns that triggered me to join the forum and post here:

    (1) The file size of the app is a bit more than 7GB. That seems like a lot to me for such a basic app.

    (2) We're running the app on Windows computers with fairly powerful CPUs (recent generations of Core i5 and Core i7). When the app is running, all cores on the CPU are heavily loaded - running at greater than 90% load. There are no other apps running on the computer. The computer is dedicated to run this "personal assistant" app.

    Does this sound right? (A file size of 7GB, and such a heavy load on the CPU.) Or is it possible the app has been developed in a way that makes it bloated?

    This is the first time this software development team is working with Unity. They have been learning as they go.

    The app has a speech recognition component, but that takes up a few hundred kB of memory and puts a negligible load on the CPU. As best I can tell, about 99.99% of the file size and the CPU load of the app is due to Unity.

    I would really appreciate a reality check on this. (After I get this reality check, there's another question I want to post - but I'd like to go a step at a time.)
     
  2. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Nobody's gonna use a 7 Gig app, not everyone has Fibre Internet that can download a 7 Gig file in a couple of minutes.
     
  3. NicBischoff

    NicBischoff

    Joined:
    Mar 19, 2014
    Posts:
    204
    Doesn’t sound right. You can analyze the build manifest and work out what is happening or grab a build tool analyzer from the asset store and see what is going on. It sounds like your model is not optimized or something similar.
     
  4. ClintOconner

    ClintOconner

    Joined:
    Nov 14, 2022
    Posts:
    4
    Thanks for the reply, Nic. I checked the asset store. I found a build analyzer for Android and a build analyzer for WebGL games. Our app is running on Windows desktop. I'm not a software developer (I'm a hardware guy). Any software that is higher level than embedded firmware coded in assembly is completely mystifying to me.
     
  5. ClintOconner

    ClintOconner

    Joined:
    Nov 14, 2022
    Posts:
    4
    I don't know if it's acceptable for me to ask about this on this forum, but...

    I think it might be helpful for our software dev team if we could hire a Unity expert to take a look at what they've developed thus far and comment on it. 7GB file size for the app is crazy. And a CPU load of more than 90% on a Core i7 is also crazy. I suspect that the team who is developing this app doesn't know how to optimize it.

    How would I go about finding a well-qualified Unity expert to review our project?

    (And if a post about finding/hiring technical help isn't acceptable on this forum, I apologize. Please let me know and I'll delete it.)
     
  6. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Google job sites in America (I assume you're from there) and post a job offer with salary, job description, hours and all that bobbins, someone may respond.
     
  7. ClintOconner

    ClintOconner

    Joined:
    Nov 14, 2022
    Posts:
    4
    This would be a consulting gig - not a full-time position.
     
  8. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Someone might still be up for it, try it and see.