Search Issue Tracker

Fixed

Fixed in 2022.3.62f1, 6000.0.48f1, 6000.1.1f1, 6000.2.0a9, 7000.0.0a17

Votes

2

Found in

2021.3.40f1

2022.3.35f1

6000.0.8f1

6000.1.0a4

6000.2.0a6

Issue ID

UUM-74921

Regression

No

AudioSource.timeSamples are offset when looping a part of audio by subtracting a fixed number of samples in WebGL Player

-

How to reproduce:
1. Open the “AudioTimeSamplesOff.zip“ project
2. Open the “SampleScene“
3. Enter the Play Mode
4. Observe the Audio
5. Build and run the project for WebGL
6. Observe the Audio

Expected result: The music loops seamlessly
Actual result: The music loops at the wrong time

Reproducible in: 2021.3.40f1, 2022.3.35f1, 6000.0.8f1

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested

Notes:
- In the Player, the samples start counting straight away, but the music does not start until the Player is interacted with (does not impact the offset, but could be related)
- Not reproducible in the Editor or in Windows Standalone Player

  1. Resolution Note (fix version 6000.2.0a9):

    Fix the audio context resume/suspend mechanic.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.