- Home /
Question by
heximal · Sep 13, 2021 at 08:34 PM ·
fpsperformanceandroidplugin
Unity as library. Slow native UI performance.
Hi. I faced one unwanted issue. I'm using Unity as library in my Android game. Unity scene has android fragment overlapping unityplayer. Sometimes android fragments perform native transformations (like panel slide down) and the seem to be really laggy. It doesn't happen when I do the same in native UI environment. I suppose the reason is Unity grabs all gpu performance to produce proper fps. But what if in certain circumstances we don't need hi fps? Let's say if we show native Android dialog? I tried to use Application.targetFrameRate but it didn't give any effect. Is it possible somehow to temporary reduce fps? Or may be any other solution?
Comment