Open andy840119 opened 2 years ago
And notice that it will only caused in the local. Because it will be packed into single dll in the release build.
Not a big deal, just annoying.
Not really sure will it be a good idea to place something like FakeRuleset
in this repo?
Anyway, the FakeRuleset
will not be found in the release build, i guess?
See RulesetStore
in the osu.game
try
{
LoadedAssemblies[assembly] = assembly.GetTypes().First(t => t.IsPublic && t.IsSubclassOf(typeof(Ruleset)));
}
catch (Exception e)
{
Logger.Error(e, $"Failed to add ruleset {assembly}");
}
It's caused by the dll name start with
osu.Game.Rulesets
. See theRulesetStore
in the osu.game.Here's the log: