Version
2019.3.13f1
Test Device
iPhone11 Pro Max
Desc
FPS drop random, from 60 to around 40, then restore normal after many frames.
Detail
1.Game is very simple[One Camera]
I have try use openGL es3/Metal, off Multithreaded Rendering, off graphics job, open Dynamic Batch, change simple shader, change screen resolution, NPOT/POT, remove UI. But failed to fix the bug.
2.Profiler detail when error occurred.
3.More detail
When FPS drop under 50, I set the only camera is unActive, so only UGUI in the scene this time.
Hi @UDN_6c8b8a3a-8d7a-436e-9ca9-a1bf7a57bf0c ,
Please check this answer: Profiler: PrepareRenderTarget eating up MS
Some of the time spend on “PrepareRenderTarget” could be used in waiting for the VSync to happen.
Good luck with it!
1 Like
@DiegoDePalacio_1
Are you means GPU is busy when CPU done his task.
But I find the GPU alway idle by xcode Instruments, only 1ms per frames.
@DiegoDePalacio_1
I am sure it’s a serious unity bug.
Steps to reproduce:
1.Create New 3D Project by 2019.3.13f1
2. import the simple free asset from unity store: https://assetstore.unity.com/packages/3d/environments/roadways/grass-road-race-46974
3.add "Application.targetFrameRate = 60; " in Start function
4.Build IOS project and select Development Build. (also can reproduce if not select)
5.Running in iPhone Pro Max 11(open other app before running maybe helpful)
Hi @UDN_6c8b8a3a-8d7a-436e-9ca9-a1bf7a57bf0c ,
Please report the bug following these steps: Unity QA: Building quality with passion
In that way, the right Unity team will check what is happening.
Thank you!
@DiegoDePalacio_1
Thank you. I have reported the bug.
1 Like
Hi, I stumbled across the same issue. Ist there any workaround for this?
when I use iphone 6sp
unity version 2019.4.8
urp 7.4.3
I active Opaque Texture option
my game will from 60fps down to 44fps
I use development build to find that problem is PrepareRenderTarget
Is this bug report publicly available? I’m also seeing PrepareRenderTarget significantly decreasing my framerate occasionally, but consistently (as in happens every time I play the build, and also consistently happens every second or so). Did the OP end up finding a solution?
I am also having this issue. Still awaiting some sort of support.
I recommend to follow Unity staff advice to submit a bug-report (a few posts above), so they can look at the issue:
https://discussions.unity.com/t/794783/5
If you have a project where you’re able to reproduce this issue, please submit a bug-report as described in this document:
It’s important that you report these issues together with a reproduction project if you want them to get fixed. If you don’t do it, it might be a long time until someone else reports them or until Unity Technologies find them.
Even if someone else reported this issue already, submitting another report causes their internal “user pain” tracking to go up and it’s more likely the issue gets fixed.
After you submitted the bug-report, you receive a confirmation email with a bug-report Case number. Please post the Case number (number only, not the link) in this forum thread for Unity staff to pick up.
1 Like