ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.4k stars 2.29k forks source link

Ruleset resources aren't available in certain contexts where rulesets Drawables could be used #13587

Open LumpBloom7 opened 3 years ago

LumpBloom7 commented 3 years ago

Describe the issue: Related to #11240

Certain areas of the game allow rulesets to define drawables to be used outside of DrawableRuleset context, such as ruleset icons and detailed statistics. However, these ruleset drawables don't have access to the ruleset resources, requiring workarounds in order to access the resources they require (such as creating a temporary TextureStore)

Screenshots or videos showing encountered issue: N/A

osu!lazer version: 2021.619.1

Logs: N/A

peppy commented 3 years ago

I think this is covered by https://github.com/ppy/osu/issues/11240 already, but let's leave this open tracking the larger scope I guess.