qe201020335 / HRCounter

A Beat Saber custom counter that displays your heart rate in game.
MIT License
38 stars 5 forks source link

HRCounter not showing up in game #40

Closed brianmartinm closed 1 year ago

brianmartinm commented 1 year ago

installed all requirements off MA and counters+ off github and can edit position of counter in counters+ config, but can't see ingame for whatever reason tried changing position, reinstalling mod, changing counter position, and even tried the session id with the link in it as well and none worked logs: 2023.01.29.11.57.36.log 2023.01.29.11.50.55.log.gz _latest.log

config: { "ModEnable": true, "LogHR": false, "DataSource": "HypeRate", "PulsoidToken": "NotSet", "HypeRateSessionID": "728F", "PulsoidWidgetID": "NotSet", "FitbitWebSocket": "ws://localhost:8080/", "FeedLink": "NotSet", "NoBloom": true, "Colorize": true, "HideDuringReplay": true, "HRLow": 120, "HRHigh": 180, "LowColor": "#00FF00", "MidColor": "#FFFF00", "HighColor": "#FF0000", "PauseHR": 200, "AutoPause": false, "IgnoreCountersPlus": false, "DebugSpam": false, "StaticCounterPosition": { "x": 0.0, "y": 1.2, "z": 7.0 } }

qe201020335 commented 1 year ago

Looks like there is no BeatLeader but and it is still trying to check whether we are in BeatLeader replay

[DEBUG @ 11:54:23 | IPA/LibraryLoader] Resolving library BeatLeader, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null
[DEBUG @ 11:54:23 | IPA/LibraryLoader] Looking for file BeatLeader.dll
[CRITICAL @ 11:54:23 | IPA/LibraryLoader] No library BeatLeader, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null found
[DEBUG @ 11:54:23 | IPA/LibraryLoader] Resolving library BeatLeader, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null
[DEBUG @ 11:54:23 | IPA/LibraryLoader] Looking for file BeatLeader.dll
[CRITICAL @ 11:54:23 | IPA/LibraryLoader] No library BeatLeader, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null found
[CRITICAL @ 11:54:23 | UnityEngine] FileNotFoundException: Could not load file or assembly 'BeatLeader, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
[CRITICAL @ 11:54:23 | UnityEngine] HRCounter.HRCounter.CounterInit () (at <8af9e0db08fd4729ad060a443e35aa4f>:0)
[CRITICAL @ 11:54:23 | UnityEngine] CountersPlus.Counters.Event_Broadcasters.CounterEventBroadcaster.Initialize () (at <6206b70ef8824806a1171d2381c2672d>:0)
[CRITICAL @ 11:54:23 | UnityEngine] Zenject.InitializableManager.Initialize () (at <34fd6cc1ee2d4d3d8f9c65e77cc80832>:0)
[CRITICAL @ 11:54:23 | UnityEngine] Rethrow as ZenjectException: Error occurred while initializing IInitializable with type 'CounterEventBroadcaster'
[CRITICAL @ 11:54:23 | UnityEngine] Zenject.InitializableManager.Initialize () (at <34fd6cc1ee2d4d3d8f9c65e77cc80832>:0)
[CRITICAL @ 11:54:23 | UnityEngine] Zenject.MonoKernel.Initialize () (at <34fd6cc1ee2d4d3d8f9c65e77cc80832>:0)
[CRITICAL @ 11:54:23 | UnityEngine] Zenject.MonoKernel.Start () (at <34fd6cc1ee2d4d3d8f9c65e77cc80832>:0)

Are you using the latest version of the mod? I should have already fixed this issue.

I will also try to reproduce this myself. Thank you for reporting

brianmartinm commented 1 year ago

i am using the latest release listed on github the one from october 17 with a hotfix for beatleader

qe201020335 commented 1 year ago

Yeah I just got a repro as well. My bad, I will fix it asap 😞

brianmartinm commented 1 year ago

alright, thank you!

qe201020335 commented 1 year ago

Debug.zip Here is a quick fix you can try it out

brianmartinm commented 1 year ago

just tried it, works perfect! thank you.