MelonLoader

MelonLoader

242 Downloads

[Bug]: BONEWORKS OnSceneWasLoaded being unexpectedly called

HerpDerpinstine opened this issue ยท 0 comments

commented

OnSceneWasLoaded gets called while in a Loading Screen resulting in the error below.

[15:01:13.461] [Custom_Maps] [ERROR] System.NullReferenceException: Object reference not set to an instance of an object

  at CustomMaps.CustomMaps.OnSceneWasLoaded (System.Int32 buildIndex, System.String sceneName) [0x00005] in <aae81561c5984e49ab049ae33835dc15>:0 

  at MelonLoader.MelonEvent`2+<>c__DisplayClass1_0[T1,T2].<Invoke>b__0 (MelonLoader.LemonAction`2[T1,T2] x) [0x00000] in <6425afb6ac6a429aaf770255d2f7de57>:0 

  at MelonLoader.MelonEventBase`1[T].Invoke (System.Action`1[T] delegateInvoker) [0x00018] in <6425afb6ac6a429aaf770255d2f7de57>:0 
[15:01:13.463] [Custom_Player_Models] [ERROR] System.NullReferenceException: Object reference not set to an instance of an object

  at PlayerModels.PlayerModels.OnSceneWasLoaded (System.Int32 level, System.String sceneName) [0x0002b] in <2a288187a0f74c968cbf145e8510d760>:0 

  at MelonLoader.MelonEvent`2+<>c__DisplayClass1_0[T1,T2].<Invoke>b__0 (MelonLoader.LemonAction`2[T1,T2] x) [0x00000] in <6425afb6ac6a429aaf770255d2f7de57>:0 

  at MelonLoader.MelonEventBase`1[T].Invoke (System.Action`1[T] delegateInvoker) [0x00018] in <6425afb6ac6a429aaf770255d2f7de57>:0