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 Kacper1263 · Mar 22, 2020 at 01:06 PM · 2dperformancespriteslow fps

Blank scene, 2 sprites, 32 FPS

Hi,

I have big problem. I'm using Unity 2019.3.5f1 with URP. I have blank scene with only 2 sprites (And canvas with FPS ounter) and I have only 22-36 FPS. I tested this scene on Samsung Galaxy S6, J5 and on Note 7. Result is the same.

Without sprites i have 60 FPS. When I add only 1 (no matter what sprite) sprite I have again 22-36 FPS.

Now I don't know what to do.

alt text

alt text

hierarchy.png (41.3 kB)
timeline.png (56.6 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by BBIT-SOLUTIONS · Mar 22, 2020 at 02:50 PM

Are you sure the problem is really caused by the sprites? Or is maybe something wrong with the FPS counter on your Canvas, what just appears, as soon as you have added sprites into the scene?

Comment
Add comment · 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
0

Answer by Kacper1263 · Mar 22, 2020 at 02:58 PM

I think the FPS counter is Ok. I created this empty scene because I had problem with FPS in other scene with my game. I mainly tested my game in the editor and I wasn't worried about the low FPS on Android because I said that one day I would do optimization. Unfortunately, it turned out that there are problems with it. After many hours, I decided to check if the problem with the frames also occurs on an empty scene.

EDIT: The game is made in 2D style. I'm using only sprites, particles and UI elements. Zero 3D objects

Comment
Add comment · Show 6 · 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 BBIT-SOLUTIONS · Mar 22, 2020 at 03:14 PM 0
Share

ok, but in the new empty scene, you don't use any particles, right? I guess, then we can ignore them to find the actual error probably.

So, what image format do you use for your Sprites? And what size is it? Did you maybe try to play a bit around with the quality parameters in the Import Settings of your Asset?

avatar image Kacper1263 · Mar 22, 2020 at 03:34 PM 0
Share

Yes, I'm not using any particles. This scene have only one canvas with FPS counter and one object with sprite renderer. Here are the settings for the sprite and the object that displays it (for some reason I'm trying to upload img to this comment and I cant so there is a link to Google Photos): Sprite and object settings

I tried to change the compression quality but nothing changes

avatar image BBIT-SOLUTIONS Kacper1263 · Mar 22, 2020 at 04:10 PM 0
Share

Thank you. There seems to be no problem with the Asset itself in my oppinion...

So i checked your profiler screenshot again, and i guess the main problem is the Semaphore.WaitForSignal. According to this issuetracker it sometimes happens with Canvas, what exactly seems to be the problem, you've described.

So, would it be an option for you to maybe try another Unity version?

avatar image Kacper1263 BBIT-SOLUTIONS · Mar 22, 2020 at 05:28 PM 1
Share

So, I don't tested other versions of Unity yet (now I'm building on 2020) but when I delete URP from project I had 60 FPS and not only on this blank scene but in game too. Of course now some materials are not working and my shaders too but I have stable 60 FPS in game. I think this is problem with URP :( I will try run this on 2020. if problem will still exists I will continue project without URP :(

EDIT: On 2020 problem is the same

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

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

How to Display Hundreds of Thousands of Sprites? 2 Answers

Get the atlas of a sprite in editor 0 Answers

Vector art Player 0 Answers

Sorting order jumbles with more than 30 objects in a single sprite mask 0 Answers

Sprite Based Score Rendering 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