Sirspam / Nya

A BeatSaber mod for displaying nya-tastic images from various web APIs
MIT License
26 stars 12 forks source link

1.22 not work #8

Closed nanikit closed 2 years ago

nanikit commented 2 years ago

I don't know whether this is main cause.

I can't see UI at all.

[CRITICAL @ 06:51:05 | UnityEngine] NullReferenceException: Object reference not set to an instance of an object
[CRITICAL @ 06:51:05 | UnityEngine] Nya.Utils.UIUtils+<>c.<ButtonUnderlineClick>b__3_2 () (at <df31b15da346470a9b6065f6d82c53ba>:0)
[CRITICAL @ 06:51:05 | UnityEngine] System.Threading.Tasks.Task`1[TResult].InnerInvoke () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] System.Threading.Tasks.Task.Execute () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 06:51:05 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] Nya.Utils.UIUtils+<ButtonUnderlineClick>d__3.MoveNext () (at <df31b15da346470a9b6065f6d82c53ba>:0)
[CRITICAL @ 06:51:05 | UnityEngine] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 06:51:05 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
[CRITICAL @ 06:51:05 | UnityEngine] UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <451019b49f1347529b43a32c5de769af>:0)
[CRITICAL @ 06:51:05 | UnityEngine] UnityEngine.UnitySynchronizationContext:ExecuteTasks()
Sirspam commented 2 years ago

Could you send the full log?

Sirspam commented 2 years ago

Also just off of a whim, try this version

Nya-0.4.0-bs1.21.0-58b01b0.zip

nanikit commented 2 years ago

https://pastebin.com/nwfbkAhs

I used the above attached version.

I could see mod settings page, but button didn't work.

Sirspam commented 2 years ago

Could you be more specific on your issue?

Which button isn't working? If you're referring to Nya's reset floating screen button in BSML's mod settings, that won't visually do anything unless you've got Nya as a floating screen in the menu.

nanikit commented 2 years ago

Then I just can't see the floating screen.

Sirspam commented 2 years ago

You mustn't have it enabled then. By default Nya will be in the gameplay setup view, the left panel when selecting a song. Refer to Nya's Readme on how to access it's settings

nanikit commented 2 years ago

Is it expected screen? What should I do?

bs11

bs22

bs33

Sirspam commented 2 years ago

From the bottom image, on the left panel select the Mods tab, Nya should be there

image

nanikit commented 2 years ago

I found. Thanks.