Sounds with PlaybackRegionsEnabled start at TimePosition even though PlaybackRegion.Min is set

Sounds that have PlaybackRegionsEnabled set to true won’t start playing at PlaybackRegion.Min, they’ll start at TimePosition instead, even if PlaybackRegion.Min is set and TimePosition isn’t 0.
The issue only happens in runtime, not in the studio audio previewer.

Reproduction

  • Get sound
  • Set playbackregionsenabled to true
  • Set playbackregion.min to any number other than 0
  • Play sound

Expected behavior

The sound TimePosition gets set to PlaybackRegion.Min → Sound plays

3 Likes

Hey, we recently rolled out a change that should fix this problem. Let us know if it still doesn’t work for you. Thanks!

2 Likes

It’s fixed for me now, thank you so much! I can now remove the temporary fix I had.