Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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
0
Question by Grantrum · Jul 21, 2015 at 01:31 PM · profilerframerate

Unknown cause of framerate drop?

So my game's framerate occasionally drops from 60 fps to 15 fps and I have no idea why. I've used the profiler to check what's causing the massive drops and I've either tried disabling the components it says or fixing them with no results. I've also put the game on "fastest" in Quality Settings, but the framerate drops still occur. Does anybody know what might be causing this? Thanks :)

Edit :

So something strange I discovered, if my laptop sits on my desk, there's framerate drops, if I sit it on my lap, there's no frame rate drops. Could this have to do with the computer's cooling fans overheating on the desk or something? This doesn't happen in all my projects though, so I still think that they're may be something in the game making it sensitive to that.

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 meat5000 ♦ · Jul 21, 2015 at 10:53 AM 0
Share

What does the profiler say?

avatar image Grantrum · Jul 21, 2015 at 02:54 PM 0
Share

lol, sorry. Here's some pictures of what it says there

alt text

alt text

avatar image Grantrum · Jul 21, 2015 at 03:13 PM 1
Share

So something strange I discovered, if my laptop sits on my desk, there's framerate drops, if I sit it on my lap, there's no frame rate drops. Could this have to do with the computer's cooling fans overheating on the desk or something? This doesn't happen in all my projects though, so I still think that they're may be something in the game making it sensitive to that.

avatar image meat5000 ♦ · Jul 21, 2015 at 03:22 PM 0
Share

Well, yeah, your GPU seems to be doing lots of work and you are killing it by blocking the vents :)

Start your Playmode in Fullscreen, or just turn your scene camera to the sky. Test again.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by meat5000 · Jul 21, 2015 at 03:41 PM

You Scene View camera will stack draw calls etc as well as your Game View. If you are zoomed out and looking at your whole scene you are basically cramming every object in to the renderer.

Grab a FPS script from the wiki (OnGUI based) and throw it in there, make a build and you should see your game is just fine.

Comment
Add comment · Show 8 · 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 Grantrum · Jul 21, 2015 at 03:37 PM 0
Share

Ok, so when maximized on play, they still happen, but when I turn the camera away to the sky, there are no frame rate drops at all :) So how could I keep from overworking the GPU?

avatar image Grantrum · Jul 21, 2015 at 03:53 PM 0
Share

It still dropped in the build actually, according to the fps script, it went from 60 to about 25/30 in the build somehow. I just found at that the framerate drops have to do with whether I have the power cable plugged in or not as well. On my lap, it wasn't plugged in, on the desk it was, so when I unplug it on the desk there are no framerate drops. It power saves when it's not plugged in though, so that probably has something to do with it. Though I'd like to find out how to make the actual performance like it's on powersave mode, lol.

avatar image meat5000 ♦ · Jul 21, 2015 at 04:39 PM 0
Share

You are in a position of advantage. You get to see how your game performs on a rubbish machine :P

Go in to power options in control panel for windows and switch to performance mode.

But yes there still appears to be a small issue but these can be handled by observing the optimisation techniques in the $$anonymous$$anual.

Would you like me to test it on my machine?

avatar image Grantrum · Jul 21, 2015 at 07:07 PM 0
Share

lol, yeah, that is actually an advantage :) I already have it on performance mode actually, and when I set it to balanced there are no frame rate drops. Seems like it should be the other way around :P That would be great to see how it would run on another machine if you are okay with it, thank you. Just letting you know though, if you're wondering why there's see-through shadows/no shadows, the shadows don't work in the build for some reason, but I do have shadows in the game/unity (so I'll have to figure that out sometime also, lol).

avatar image Grantrum · Jul 21, 2015 at 07:15 PM 0
Share

Alright, thanks. I sent you a P$$anonymous$$ through the forums :)

Show more comments

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Very Bad Performance on Android 3 Answers

Why v-sync show in profiler while is off? 0 Answers

What causes an increase in editor GUI garbage collection? 2 Answers

Opening profiler increases FPS 1 Answer

Framerate drops from 60 to 20 because of meshrenderer? 0 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