Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by element271 · May 29, 2014 at 12:41 PM · buildfpsstandalone

Standalone Build Extreme FPS Hit

First time posting on the forums, but this issue has been driving me crazy for the last 4 or 5 hours, and I recognize how broad and non specific it is.

Basically my project within the editor runs at about 60-70 FPS, when the project is compiled into a standalone build the project runs at about 4 FPS. I assume this has something to do with the mass physics in my project but I do not run into these issues in the editor. There are no warnings, no errors no nothing, the massive FPS hit can also be seen if the profiler is open in the editor at the same time.

Any Ideas? Thanks.

Running 4.5 on a 3930k & 2x7970s

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Landern · May 29, 2014 at 01:06 PM 0
Share

You didn't notice anything in the profiler? Can we get a screen shot of the profiler after some data is collected on the scene(s) in question?

avatar image tanoshimi · May 29, 2014 at 08:04 PM 1
Share

Check through the quality settings for the build, and try setting them down.

avatar image rutter · May 29, 2014 at 08:35 PM 0
Share

Do you have any elaborate geometry or shaders that might be an issue in the built player?

Did you enable script debugging? Each error in the log costs several milliseconds, which can add up fast if your project is throwing dozens of them per frame.

Without more information, we're just taking stabs in the dark. Try removing components of the game until you identify one or more of them which seem to cause the problem.

avatar image element271 · May 29, 2014 at 09:59 PM 0
Share

Landern, I did notice the hit in the profiler, its all my dynamic shadows. Tanoshimi, i have checked the settings, the problem is not optimization, Rutter, I have simple geometry but fairly heavy Lux Physically based shaders.

The answer to all these questions is the performance is not a problem it runs perfectly within unity its when its compiled to its own standalone build the frame rate hit is observed. There is no profiling or debugging options enabled and even when debugging is enabled no errors are recorded.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by screenname_taken · May 29, 2014 at 08:22 PM

Perhaps you have the profiler or script debugging selected in the build options?

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image element271 · May 29, 2014 at 09:55 PM 0
Share

Thanks but both of these options are disabled.

avatar image screenname_taken · May 30, 2014 at 02:05 PM 0
Share

Could it be that you have a "find" call in an update loop ins$$anonymous$$d of Start, or perhaps try to find something lots of times by name in a heavily populated scene? I'm just stabbing in the dark here, trying to remember of things that make stuff go slow. (Or a custom shader that isn't as optimized as it should)

avatar image element271 · May 31, 2014 at 07:14 AM 0
Share

I can't find anything like that, I think a lot of people are kind of missing the point of my question, its not so much what is causing performance issues it why there are only performance issues when compiled but not within unity.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Standalone builds run very fast on some computers? 3 Answers

Can't build a PC standalone with custom window... 1 Answer

Standalone CTD (Access Violation) - Making sense of "error.log" files? 0 Answers

stretch textures on Build issue 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges