joshwcomeau / beatmapper

A 3D editor for creating Beat Saber maps
https://beatmapper.app
MIT License
272 stars 60 forks source link

Song playback speed fails to change platform speed #91

Closed murapix closed 4 years ago

murapix commented 4 years ago

Changing the playback speed correctly modifies the speed at which the song plays, but the platform seems to ignore this and instead always moves at the default speed.

murapix commented 4 years ago

Potentially related (but debugging showed it's most likely not), changing the playback speed while the song is not currently playing causes this exception to be thrown

asyncToGenerator.js:6 Uncaught (in promise) TypeError: Cannot read property 'playbackRate' of undefined
    at e.value (audio.service.js:39)
    at song.middleware.js:600
    at c (runtime.js:45)
    at Generator._invoke (runtime.js:264)
    at Generator.e.<computed> [as next] (runtime.js:98)
    at r (asyncToGenerator.js:3)
    at s (asyncToGenerator.js:25)
    at asyncToGenerator.js:32
    at new Promise (<anonymous>)
    at asyncToGenerator.js:21
joshwcomeau commented 4 years ago

Thanks to @joshuatz , this should be fixed momentarily (after a deploy, ~5min)