You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally looked into this. It looks like the texture rectangle isn't exposed by Unity in the Sprite instance we get from Beat Saber's GetCoverImageAsync, so it's either stored somewhere by the game itself and I failed to notice it, or I'm just unable to access it through the Sprite getters for whatever reason. I'll give it another shot when I'm more awake.
After more investigation and some encouragement from Auros, I found out that Sprite.uv returns useful values which I missed because they were being rounded by the stringification when logging. For whatever reason Sprite.textureRect and Sprite.rect don't return valid values for the sprite position in the atlas.
Current behavior
Playing a Beat Saber / non-custom Song the cover image is huge image with all cover images.
Expected behavior
Only the cover image of the currently played song is displayed.
Reproduction steps
Play any non-custom Beat Saber song.
Environment
BeatSaber version: 1.18.3
HTTP Status version: 1.19.1 bs1.18.0 c7d6ab6
Platform: Steam, Valve Index
The text was updated successfully, but these errors were encountered: