ppy / osu

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

Stuck on osu!direct screen #12301

Open andy840119 opened 5 years ago

andy840119 commented 5 years ago

Call stack :

   at osu.Game.Overlays.Direct.DirectPanel.<>c__DisplayClass26_0.<GetDifficultyIcons>b__1(BeatmapInfo b)
   at System.Collections.Generic.List`1.FindAll(Predicate`1 match)
   at osu.Game.Overlays.Direct.DirectPanel.GetDifficultyIcons(OsuColour colours)
   at osu.Game.Overlays.Direct.DirectGridPanel.load(OsuColour colours)
--- End of stack trace from previous location where exception was thrown ---
   at osu.Framework.Platform.GameHost.UpdateFrame() in C:\projects\osu-framework-a4n7e\osu.Framework\Platform\GameHost.cs:line 306
   at osu.Framework.Threading.GameThread.ProcessFrame() in C:\projects\osu-framework-a4n7e\osu.Framework\Threading\GameThread.cs:line 140
   at osu.Framework.Threading.GameThread.runWork() in C:\projects\osu-framework-a4n7e\osu.Framework\Threading\GameThread.cs:line 110
--- End of stack trace from previous location where exception was thrown ---
   at osu.Framework.Threading.ScheduledDelegate.RunTask() in C:\projects\osu-framework-a4n7e\osu.Framework\Threading\Scheduler.cs:line 321
   at osu.Framework.Threading.Scheduler.Update() in C:\projects\osu-framework-a4n7e\osu.Framework\Threading\Scheduler.cs:line 160
   at osu.Framework.Threading.GameThread.ProcessFrame() in C:\projects\osu-framework-a4n7e\osu.Framework\Threading\GameThread.cs:line 136
   at osu.Framework.Platform.GameHost.<Run>b__113_1(Object <p0>, FrameEventArgs <p1>) in C:\projects\osu-framework-a4n7e\osu.Framework\Platform\GameHost.cs:line 553
   at osuTK.GameWindow.RaiseUpdateFrame(Stopwatch watch, Double elapsed, Double& timestamp)
   at osuTK.GameWindow.DispatchUpdateFrame(Stopwatch watch)
   at osuTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at osu.Framework.Platform.GameHost.Run(Game game) in C:\projects\osu-framework-a4n7e\osu.Framework\Platform\GameHost.cs:line 556
   at osu.Game.Rulesets.Pippidon.Tests.VisualTestRunner.Main(String[] args) in F:\Github\ppy\osu-templates\templates\ruleset-scrolling-example\osu.Game.Rulesets.Pippidon.Tests\VisualTestRunner.cs:line 18

. I guess it's because missing other ruleset's dll resource.

frenzibyte commented 5 years ago

Not sure if it's something we should take care of, afaik the game test is added to see how your ruleset would be played for a normal user, not checking osu!direct.

peppy commented 5 years ago

We should probably refine tests to not run from the main menu (they should be limited to song select or similar).