Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
1
Question by avasthishriyam · Apr 01, 2021 at 06:18 PM · fpsbug-perhapsperformance optimizationgpu

Very Bad performance(High GPU Usage and Low Frame Rate) with unity 2020.3.1f1 and URP

Hi everyone! I am a high schooler and have just started working on a PC game. I have created a scene for prototyping and it is pretty empty with just my player prototype gameobject (a simple cube), a bunch of cylinder (prototype for weapons), a line renderer (named laser) with a shader graph material attached, a very basic particle system for muzzle flash and a laser impact visual effect graph-based effect to spawn a forward decal with some particles at the point of laser hitting a surface. I am using Universal Render Pipeline.

Enough Introduction. Now I am coming to my problem. Whenever I enter the build the game and run it, the GPU usage spikes up to 100% and the game stops causing the game to crash.In the game view, the GPU usage remains 30 - 40 % while playing.

I do not think that I have too much graphics processing to do in this simple scene. I have an intel i3 processor and an integrated Intel HD graphics 520 with 4GB of shared memory and no Dedicated memory. I know that these are much slower than an integrated GPU but this kind of problem never showed in any of my previous projects which had much more graphics than this simple prototype.

I have used shader graph and visual effects graph for the first time in this project. Is this behaviour because of these graphs. I personally do not feel that these are causing it as they are made to handle much more expensive graphics with much ease.

These are some screenshots that might help you understand my problem:

1- Build view When I have not even pressed a single key: alt text

2- Profiler view: alt text

Also note that this high GPU usage stuff is happening on both the build and the editor game view but in game view the gpu usage stays low for some time and then suddenly spikes up and crashes the editor with the error: Failed to present D3D11 swapchain due to device reset/removed.This error can happen if you draw of dispatch very expensive workloads to the GPU,which can cause Windows to delect a GPU Timeout and Reset the device(see https://docs.microsoft.com/en-us/windows-hardware/drivers/display/timeout-detection-and-recovery). But in the build, it is 100% from the starting. I am afraid that if I proceed developing the game without resolving this issue, I would end up wasting my whole project. Also this issue is wasting my lot of time.

Any help regarding this will be appreciated,

initial-build.png (217.4 kB)
build-profiler.png (271.5 kB)
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 avasthishriyam · Apr 02, 2021 at 05:57 PM 0
Share

Someone please help me with this problem.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Nikunj_Goyal · May 24, 2021 at 10:44 AM

I am also having same problem. I have to restart unity many times while making game and doing changes.

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 CarlinhuxD · May 29, 2021 at 05:09 PM

I have the same problem on 2020.3.10f1!

Specs: i7 7700k, GTX 1080ti, 32GB RAM Project is using URP with some post-processing. From the package manager I have Terrain Tools, Input System, 2D Sprite... Just basic stuff.

I should get 1000FPS+ on a project with just a unedited terrain. When I have both the scene and the game scene open I get 200 ~ 240 FPS. If just the game is open I have 500FPS, which is still ridiculous.

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

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

197 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

Related Questions

gfx.WaitForPresent causing performance drops? 1 Answer

Optimizing 10,000 trees for mobile! 1 Answer

High GPU Usage 500 FPS 1 Answer

Massive Rendering spike in profiler when unloading the scene 0 Answers

External Terrain vs Unity Terrain 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