I think 57557 and 58676 may have been fixed in 4.20 P3, or at least I can no longer reproduce them on my system either. I can still reproduce it in 4.19. (Windows 10, GTX 970 (Nvidia driver 398.11), 32 GB RAM, i7-4790K @ 4.00GHz).
Note, that drawing to a render target from a blueprint is easily reproducible, but it is not the only activity that demonstrates the. Particle systems are also affected.
Might be something about creating / updating buffers on the fly.
If you decide not to hotfix this in 4.20, a brief description of the, once located, would be helpful, so that others can patch it up for themselves.
Godspeed to ones, trying to locate the cause.
I’ve experienced similar problems in 4.19. Every 3-4 seconds the game just hangs for half a second. At that time I had multiple Editors opened. Once I rebooted Windows the went away.
Internally we would sometimes find a programmer or artist who experienced similar issues. Usually about 1 per month and then it would go away. Eventually we found that it was actually the TBB allocator that was getting hung up sometimes. We talked to Intel and 4003112 (which hit 4.20) resolves these kinds of issues. Of course it’s entirely possible that you were hitting a completely DIFFERENT source of hitching.
Creating buffers is definitely one trigger. Updating buffers, I’m not so sure yet.
in our case… specially with 4.19… DrawMaterialToRenderTarget totally sinks the editor FPS… from 120 to 70fps on a GTX1070.
Is that solved on 4.20? because water simulation on our game was kinda ruined.
I actually have an example project with 4.18 and 4.19 being exactly the same, but having those issues
@Waurelius If you need another project to test you can download the one in my signature. It has quite a bit of hitching on my system (8700k & gtx 1080) but doesn’t always happen right away, you might need to make changes to the world such as adjusting some values on BP_Ocean and moving things around, or switching between PIE and editor a few times. Not sure what triggers the hitching, but it will start after using the project for a bit. Don’t have a 4.20 version on GitHub yet but can add a new branch if needed.
I having the same problem in a VR project I’ve made. The hitching starts after about 2 minutes (very short hiccup) and gets worse over time (severe hitches). Restarting the executable repeats this behaviour: no hitching for the first 2 minutes, then worse. The hitching occurs in the editor and in the packaged version. Simply starting the executable and the console command ‘stat unit’ shows the performance going down the drain after a few minutes. I went back to nVidia driver version 385.69: no more hitching. But you can’t expect people to install such an old driver…
It it just me or has the latest nvidia driver update (398.36) released 26.6.2018 made it better?
Haven’t checked it out tbh… i’ll give it a try and report back… hopefully this can solve the issues
Just tested with my game, and 398.36 did not help. The stuttering/hitching is the same as it has been since 4.19’s first release.
Moving forward as there will be no update on 4.19 - how about 4.20? Are the hiccups still there?
Look at the thread title
Tried it: still the same hitching after 2 minutes. Driver version 385.69 does not hitch, but takes 8 - 8.2 ms to render a frame in my project. Newer driver versions only take 5 - 6 ms. They started using a different method to render I suppose, but it has this terrible bug.
Yeah, sorry it’s me… the stuttering started again i guess i was just lucky for an hour or so there…
Lol… I have been following this thread for quite some time - I think the OP must have edited the title along the way…
Actually what I mean is it is more helpful to report based on the latest 4.20 preview (not 4.19). 4.19 will not be updated anyway…
This bug is already set to be fixed on the final 4.20 release. At least the one related to drawing to Render Targets
I’d recommend to just download the latest preview and give it a shot. 4.20 P3 fixed the hiccup issues I was having, but it would appear that there are several different causes for the same symptoms.
I have made the test 4.20 P4, same machine but nVidia driver updated to 398.36 of Jun 26 2018, and the hiccups are still there, but they take a lot more time to notice. I left the test project (the one with lots of particles) opened by at least 16min with fps counter active until the hiccups started to appear. The is not gone, just taking more time to appear!
I let the project from this post run for about 30 minutes and even bumped up the emitter count to 1400 - still no noticeable hitching at all. It may only be fixed for some machines, but I can definitely no longer reproduce it. (Windows 10, GTX 970 (Nvidia driver 398.36), 32 GB RAM, i7-4790K @ 4.00GHz)