UReflectionCaptureComponent causing hitches on RenderThread when streaming levels

anonymous_user_f24da712
Thu, 14 Dec 2017 14:36:20 +0000
Debugging, Optimization, & Profiling

Hi,

We are loading a bunch of streaming levels in order to create a procedural world. The async loading is working fine for the most part, the game runs at a steady framerate… except for an occasional hitch on the render thread. I’ve dug into this and it seems to be that all the reflection components are updated in one frame - GameEngine tick calls into ReflectionCaptureComponent::UpdateReflectionCaptureContents, which updates all new reflection capture components. What’s the best way to get rid of this hitch?

Here’s a quick screenshot of a profiling dump from one of these hitches (from a development build, but the same hitches show in a shipping build):

Thanks

2 posts - 2 participants