hi everyone!
im working on a… racer i guess. the player object is being moved forward through the level constantly by the game controller, while the players job is to use wasd to dodge falling objects.
now ive got this issue with the audio clip in my scene. its attached to the player object (as the distance between player object and camera is the only constant distance in the scene) while the listener is left as default (attached to main camera). now, it does play the clip, that much is fine. but its speeded up like 50%. interesting enough this is fixed right after the player dies (controlls disabled, world still acting like before only the player object stops moving). i get the exact same results using either no script at all (ticked ‘play on awake’ in the inspector), using a script with .Play() (with unticked ‘play on awake’) or using a script with .PlayOneShot() (also of course with ‘play on awake’ unticked).
anyone any idea?
(i find it really peculiar that this is fixed by player death, as it really only changes like one bool which prevents the controlls to do anything anymore but instead enables restarting the game by pressing R)