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 /
avatar image
0
Question by Eco-Editor · Jun 13, 2019 at 10:33 AM · windowsplatformuniversalprosurface

Why Game Frames per second drops to almost zero on SurfacePro?

Hello everybody,

I'm working on a game for surfacePro, using the UWP platform.

The game is developed on Windows 10 and Unity3D. In the editor the Frame rate is ~200fps.

When I build using Visual Studio 2017, and play the build on the standalone, the frame rate drops to ~40fps.

When I sideload and play the game on the SurfacePro the frame rate drops even more, to ~2fps.

I've checked possible solutions, such as make static objects static, and bake lights, and switch to box collider instead of meshCollider.

I use a onMouseDrag() method in 10 scripts. Maybe this makes the fps drop?

Please help.

Comment
Add comment · Show 1
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 xxmariofer · Jun 13, 2019 at 01:32 PM 0
Share

Are you using the Surface pro for running unity editor? or is in another pc? what do you mean by building using visual studio? visual cant build anything. when running the build it should have much better performance than running in the editor, (the editor itself should be using resources that makes the game slower) are you using adb sideload for something in special? this doesnt look like a performance issue

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Eco-Editor · Jun 13, 2019 at 04:46 PM

Hi @xxmariofer basically when you use UWP, you build the .sln file from unity, then you open and build the .sln file from visual studio and create the .appx also from visual studio. Im a bit surprised you said that so maybe theres another way. I dont use .adb for UWP platform

Comment
Add comment · Show 5 · 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 xxmariofer · Jun 13, 2019 at 06:24 PM 0
Share

oh! i am sorry i was reading fast and in my head i was thinking of a standalone build, you can try using the build and run with a development build so you know what part of the code is the one giving you issues, ifn you link a screenshot of the profiler i will be able to help :)

avatar image Eco-Editor xxmariofer · Jun 17, 2019 at 12:16 PM 0
Share

I did a build for standalone for testing. The FPS is great. The UWP is causing the FPS drop.

avatar image xxmariofer Eco-Editor · Jun 17, 2019 at 03:47 PM 0
Share

maybe try this

https://forum.unity.com/threads/uwp-lower-framerate-than-standalone-slower-fps-than-exe.501892/

if you share the profiler of both builds sohuld be easy to figure whats decreasing the fps

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

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

VCRuntime errors with Universal Windows Platform, but it runs within Unity 0 Answers

Building as UWP for PC runs very slowly when PC Standalone runs very smoothly. 2 Answers

TextMeshPro - Input field - UWP - Input field is not working correctly in uwp build, also enter works twice 0 Answers

InputField cannot enter Chinese after publishing the game to UWP. 0 Answers

Unity Web Camera Crash 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