Camera shake not looping anymore

When using the Play camera shake on the player controller, it stopped automatically after one frame.
HOWEVER the duration of the oscillation was set to -1, which means indefinite. So one would expect it to keep looping, which it is not. So when i tried it with a duration of 10 seconds, the shake played fine. I suppose this means it could be a bug?

EDIT: Found in the 4.8 release notes:
Camera shakes now ignore calls to Play Camera Shake with zero or negative scales, and will allow shakes that reach zero scale to still update their oscillator so they will eventually be removed

Maybe they also ignore negative values for oscilation durations?

Hi Rashura -

Thank you for your report. I was able to replicate the issue internally and have posted a bug report, UE-19397, for reference. As we investigate a solution to this issue I will keep you informed here.

Again, Thank You -

Eric Ketchum

Hi Rashura,

Just wanted to let you know that this has been fixed. I anticipate it will be included in 4.11.

Thanks for the report!

  • Jeff