NuggoDEV/CountersPlus

Not working in 1.27

Closed this issue · 11 comments

Mod seems to not be working in 1.27

I got these errors in 1.27

[CRITICAL @ 21:39:08 | UnityEngine] MissingMethodException: System.Collections.Generic.IEnumerable`1<!!0> IReadonlyBeatmapData.GetBeatmapDataItems<!0>()
[CRITICAL @ 21:39:08 | UnityEngine] CountersPlus.Counters.NoteCountProcessors.NoteCountProcessor.get_Data () (at <6206b70ef8824806a1171d2381c2672d>:0)
[CRITICAL @ 21:39:08 | UnityEngine] CountersPlus.Counters.NoteCountProcessors.NoteCountProcessor.get_NoteCount () (at <6206b70ef8824806a1171d2381c2672d>:0)
[CRITICAL @ 21:39:08 | UnityEngine] CountersPlus.Counters.NotesLeftCounter.CounterInit () (at <6206b70ef8824806a1171d2381c2672d>:0)
[CRITICAL @ 21:39:08 | UnityEngine] CountersPlus.Counters.Event_Broadcasters.CounterEventBroadcaster.Initialize () (at <6206b70ef8824806a1171d2381c2672d>:0)
[CRITICAL @ 21:39:08 | UnityEngine] Zenject.InitializableManager.Initialize () (at <34fd6cc1ee2d4d3d8f9c65e77cc80832>:0)
[CRITICAL @ 21:39:08 | UnityEngine] Rethrow as ZenjectException: Error occurred while initializing IInitializable with type 'CounterEventBroadcaster'
[CRITICAL @ 21:39:08 | UnityEngine] Zenject.InitializableManager.Initialize () (at <34fd6cc1ee2d4d3d8f9c65e77cc80832>:0)
[CRITICAL @ 21:39:08 | UnityEngine] Zenject.MonoKernel.Initialize () (at <34fd6cc1ee2d4d3d8f9c65e77cc80832>:0)
[CRITICAL @ 21:39:08 | UnityEngine] Zenject.MonoKernel.Start () (at <34fd6cc1ee2d4d3d8f9c65e77cc80832>:0)

It seems like if you reset the config file, then it will start working, at least it did for me.

Friend did following to get the mod working for me.


Downloaded the Counters+ repo from GitHub, opened it in Visual Studio, pointed the dependencies to the 1.27 version of them (Plugins-folder). If Heck is missing, download it from the Beatmods website, and toss it into the plugins folder, compile, and it should work

I think only the "Notes Left" counter is broken.

Fix is here: rakkyo150@1c0a84e

I think only the "Notes Left" counter is broken.

Fix is here: rakkyo150@1c0a84e

Thanks, yes that worked for me, I was able to clone and Build this repo with this fix to add the 0 to GetBeatmapDataItems(0). I verified it works in Beat Saber 1.27.0.

It just stays on a black screen whenever i go in to configuration

It just stays on a black screen whenever i go in to configuration

FR my screen goes black when i try to change my config

Still no worky even after the new release

would appreciate more than that

console log? description? anything?

works great now. Thank you for the update.

It just stays on a black screen whenever i go in to configuration

FR my screen goes black when i try to change my config

Still no worky even after the new release

I had a similar issue for a while and finally looked at the log to try to figure it out. In my case, it was an incompatibility with BeatLeaderModifiers, a mod made for a BL event that I just forgot to get rid of after the event ended. Once I removed that mod, then the Counters+ config menu was able to open normally again.