game drop to 2 fps when fullscreen

Hi,

i have a problem with my project

i can run it at 80fps in windowed mode, pressing the shortcuts f1 f2 f3 to see differents mode (wireframe, unlit, lit) works fine too

but when i go to fullscreen, the fps drop to 2 fps !!! so i try to press f1 f2 f3 key and i see that f1 and f2 key work fine and run at 80fps in fullscreen, and only the f3 key (lit mode) fall to 2 fps in fullscreen

the lit mode work fine in window mode (80fps), any idea why the fullscreen lit mode goes so wrong ?

hardware problem? :x

Hey skeleton60 -

I have a few questions for you to help narrow down the issue. Are you testing the framerate in a standalone game, packaged game, or via PIE? Can you let me know how you are getting to fullscreen mode (the console command you are using)? Can you also let me know in Windowed mode and Fullscreen mode what the screen resolutions are set to?

Thank You and Let me know -

Eric Ketchum

The bug appear via PIE

resolution i am using to test my game is 1280 - 720 in a new editor window

when i maximize the window the game drop 2 fps (not a fullscreen console command, just using the maximize button on the window bar)

The bug appear in standalone game when resolution is 1920x1200, 1680x1050 using the console command:

r.SetRes 1920x1200f
r.SetRes 1680x1050f

but the game run fine with the resolution 1280x720, 1440x900, 800x600 using

r.SetRes 1280x720f
r.SetRes 1440x900f
r.SetRes 600x800f

but when i am in 1920x1200f and 1680x1050f

i can press wireframe and unlit key and the game run fine, its only in lit mode with f3 key that the fps drop to 2

Hey -

Just a few more questions as I am having a hard time reproducing the issue and want to make sure I get my variables down: Are your setting any resolutions in the Project Settings before PIE or Standalone? and What version of the Editor are you using? Are you getting this behavior in all projects or one in particular?

Thank You

Eric Ketchum

my editor version is 4.6.1

i didnt set any resolution in project settings (i cant even find where to do this)

but i have set a window size 1280width 720heigth in editor preference

the fps drop didnt appear in a other project i started before this one

i will try to see if i can reproduce this bug with a new blank project

hmm i have more information about this, the problem appear even in window mode now

i add many mesh (a cylinder with 12 face) on my world, when i add only 3 cylinder in my world at random location (my main camera may not see them if they are placed too far) the game run fine

but when i add 1500 cylinder for example at random location, then the game is terribly slow (drop to 2 fps)
but when i press f1 or f2 mode for wireframe/unlit the game run good (60 fps)

there is something bad in my project with the lit producing this fps drop :>

could this due to the fact that i started my project for mobile device then changed it to desktop ?

Hey -

If possible could you upload the offending project to dropbox or if small enough here so I can test it directly, I am having a problem reproducing the behavior you are experiencing.

Thank You

Eric Ketchum

Hey it appear that the game hate my cylinders SHADOW

when i disable shadow on cylinders, game run fine, good fps

when i enable shadow then the fps drop to 2 (or worst)

i just disabled shadows on cylinders (i dont need them) :>

my bad :> but still strange that the fps drop occured sometime in some fullscreen mode only

btw i dont have any problem anymore since i disabled thoses 1500 cylinders shadows :o

probably me doing some ■■■■ with my project (i call this a bug, but the bug is made by me :slight_smile:

i would like to send you the project with the bug occuring only when passing in fullscreen but i cant reproduce this myself

thanks for support