m1el / BeatSaber-SliceVisualizer

Visualizing how your cuts are offset from the perfect slice
MIT License
23 stars 11 forks source link

Purple Visualizer #22

Open slamsyk opened 3 years ago

slamsyk commented 3 years ago

hey.

I found a bug were the visualizer only shows the blocks purple when i hit them.

I have tried to remove all files (that i know of) that has anything to do with the mod like the .dll file in the Plugins folder and the .json file in the UserData folder. Then i reinstall the mod but the same output/results.

Also the previous versions of the mod for Beat Saber 1.14.0 dosent work for me either.

Hope this can help you out for the plugin, and if need more context or info DM me on Discord slamsyk#4843

Additional info.

[image for ref]

OculusScreenshot1617031914 OculusScreenshot1617031931

[log if needed] _latest.log

RafaelSchridi commented 3 years ago

image Same issue here

m1el commented 3 years ago

Hello Rafael. I'm still trying to fix this. Not being able to reproduce locally is an issue here. Sorry for the inconvenience,

m1el commented 3 years ago

@slamsyk, @RafaelSchridi

Could you please verify that the latest release fixes this problem for you?

https://github.com/m1el/BeatSaber-SliceVisualizer/releases/download/0.1.4/SliceVisualizer-0.1.4-bs1.13.4-3d37eb1.zip

RafaelSchridi commented 3 years ago

Sadly that doesn't fix it, but I've found a workaround/what's causing it. There is something happening with the environment override.

This video shows what I'm talking about: https://streamable.com/p1nzo0

I did notice an error in log for SliceVisualizer

[INFO @ 18:43:33 | SliceVisualizer/NsvAssetLoader] Successfully loaded sprite SliceVisualizer.Assets.RRect.png, w=256, h=256
[INFO @ 18:43:33 | SliceVisualizer/NsvAssetLoader] Successfully loaded sprite SliceVisualizer.Assets.Circle.png, w=64, h=64
[INFO @ 18:43:33 | SliceVisualizer/NsvAssetLoader] Successfully loaded sprite SliceVisualizer.Assets.Arrow.png, w=240, h=78
[INFO @ 18:43:33 | SliceVisualizer/NsvAssetLoader] Successfully loaded sprite SliceVisualizer.Assets.White.png, w=1, h=1
[ERROR @ 18:43:55 | SliceVisualizer/NsvAssetLoader] Trying to get GameUISprite before it was loaded. This should not happen.

And in NsvController

[INFO @ 21:30:31] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:30:31]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:30:31]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:33:06] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:33:06]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:33:06]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:36:29] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:36:29]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:36:29]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:39:20] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:39:20]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:39:20]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:41:59] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:41:59]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:41:59]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:44:08] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:44:08]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:44:08]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:46:33] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:46:33]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:46:33]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:49:06] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:49:06]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:49:06]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:52:05] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:52:05]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:52:05]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:54:52] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:54:52]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:54:52]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:55:04] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:55:04]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:55:04]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:57:10] Cannot create checkbox: System.NullReferenceException: Object reference not set to an instance of an object
[INFO @ 21:57:10]   at SliceVisualizer.Core.NsvController.CreateCheckbox () [0x0000a] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
[INFO @ 21:57:10]   at SliceVisualizer.Core.NsvController.Initialize () [0x000e1] in <648d7743ac3447e9943e96a6f6c8fa94>:0 
MrAlexEsisteGia commented 3 years ago

same for me here, latest release

Loloppe commented 1 year ago

Same issue here, this seems to be related with Environment Overwrite. I always use BTS environment. Maybe unrelated, but I also use the OverrideEnvironmentFix plugin: https://github.com/rfcaps/OverrideEnvironmentFix/releases/tag/v1.1.1

I can fix the issue for an entire play session by turning off my environment overwrite, starting a map (that ain't BTS? idk why) and then I can set back my environment overwrite and SliceVisualizer will work fine.

I found this early in my log: [SliceVisualizer/NsvAssetLoader] Trying to get GameUISprite before it was loaded. This should not happen.

Edit: I removed OverrideEnvironmentFix, turned on my Overwrite manually to BTS and still got the issue anyway, so you can ignore that part, it doesn't have anything to do with that plugin.