Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by sadsa · Jan 04, 2016 at 06:20 PM · performancetransparentreflectionsanimated-models

.Exe gets slower over time

My Unity application gets slower over time. It's a 4 minute VR desktop application using Oculus Rift.

When the "adventure" ends, the level restarts ( Application.LoadLevel(0)). On the first, second and third play, the program works fine. When the program is running for 20 minutes( more or less), it becomes slower and slower.

At first I thought that it was something that was being written on the log file, but it wasn't.

Second I deleted all the objects with transparencies, the problem remained.

I deleted the Reflection Probles. The problem remained.

I've done a series of tests and concluded that if I delete some animated objects, the problem disappears.

When I reload the level, the problem stays the same but when I close and reopen the application the problem disappears.

What could be causing this problem? At first it works fine but, somehow, its delaying the whole project.

The inspector of the animated object is on the image attached.

Thank you for your help!

problem.png (58.2 kB)
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 Dave-Carlile · Jan 04, 2016 at 06:44 PM 0
Share

Have you used the Profiler yet?

Is your CPU overheating causing throttling? I've had that happen. Blow the dust off your fans.

avatar image sadsa Dave-Carlile · Jan 04, 2016 at 06:56 PM 0
Share

I used the profiler and unfortunately I could not find the problem.

I've checked that also, the CPU is not overheating.

$$anonymous$$aybe there is some value that is being storage and does not reset on the level reload. I also have tons of lights, maybe this is causing trouble..

Or maybe there is a way to reset everything (Clearly the application reload is not resetting everything).

Thank you for your help!

avatar image Dave-Carlile Dave-Carlile · Jan 04, 2016 at 07:09 PM 0
Share

How did you not find the problem with the profiler? Does it not show a slowdown? Does it show constant memory allocations? Those allocations may start causing a lot of garbage collections which can slow things down as well. All of that should be visible in the profiler.

avatar image vintar · Jan 04, 2016 at 10:05 PM 0
Share

If you are on 5.2.1 , there is a memory leak when shadows are enabled, although no idea why removing some animated objects would solve that, the only way I can solve it is to close the app and re-open (or upgrade I guess, but there are many issues with animators in the latest builds)

0 Replies

· Add your reply
  • Sort: 

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

47 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 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

Android: Is thermal throttling controllable within Unity? 0 Answers

Saving everything vs saving changes in infinite world 1 Answer

Multi mesh character performance ( Help!) 0 Answers

Best alternative for GameObject.Find 2 Answers

Can I render billboards in forward render? 1 Answer


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