Severe frame drop when positioning models inside camera in first person view

Hello, I’ve been doing a little work on my fps engine here:

I noticed that while in first person, the game becomes much laggier. I created a super simple repro for the game here:

The download to the game file is here:
LaggyFirstPerson.rbxl (1.6 MB)

The view model is marked as Non Collidable, Non Anchored, Non Cast Shadows, and Automatic render fidelity where applicable. I notice that the following areas become slow when in first person (~27ms):

For contrast, here is the same measurement but in third person (~3ms):
image

Here you can see the change in frame time when going from third person to first person:
image

You can find the whole example inside the StarterPlayerScripts folder.

5 Likes

Thanks for posting this! I noticed this issue in Roblox too. I hope they get around to fixing it quickly…

Good luck with your development!

1 Like

We’re seeing this with other players too. See this very simple scene with easily less than 100k tris.


Time spent rendering is over 36ms on this. There’s a very large amount of time spent rendering transparent objects.

I’ve also noticed that this seems to only effect some people and not others. If I put myself in the exact same spot with the same weapon looking in the same direction it will run perfectly for me.

The particular user here had system specs:
Windows 10 64-bit
AMD Ryzen 5 2600 Six-Core Processor 3.40 GHz
8 GB DDR4 RAM
NVIDIA GeForce GTX 1050 Ti 4GB VRAM

I’m running on:
Windows 10 64-bit
AMD Ryzen 7 1700 Eight-Core Processor 3.00 GHz
16 GB DDR4 RAM
NVIDIA GeForce GTX 1080 8GB VRAM

1 Like

It’s been almost a month. I would really appreciate some help with this. Any time I am CFraming a rig to my camera it is killing my FPS when shadowmaps are turned on. I have a GTX 1080, this should not be happening.

1 Like

Hi, it’s me again, apparently on xbox it takes like 2 minutes to render the game. The graphics switch is disabled, I suggest turning it on as there is too much lag and people won’t be able to download the graphics

2 Likes