Banane9/NeosSessionTabOverhaul

"Field is inaccessible from method" Exception

Nytra opened this issue · 3 comments

Nytra commented

Happens when launching Neos and switching to the Session Users tab

Exception:
System.FieldAccessException: Field `FrooxEngine.SessionUserController:_cachedUserName' is inaccessible from method `SessionTabOverhaul.SessionUserControllerPatches:CreatePrefix (FrooxEngine.SessionUserController&,FrooxEngine.User,FrooxEngine.UIX.UIBuilder)'

  at (wrapper dynamic-method) FrooxEngine.SessionUserController.FrooxEngine.SessionUserController.Create_Patch1(FrooxEngine.User,FrooxEngine.UIX.UIBuilder)
  at FrooxEngine.SessionControlDialog+<>c.<OnCommonUpdate>b__75_0 (FrooxEngine.User user, FrooxEngine.UIX.UIBuilder ui) [0x00000] in <a6ff441fca7c4a97bc5b9dca720b524b>:0 
  at FrooxEngine.SessionControlDialog.UpdateUserControls[T] (System.Collections.Generic.List`1[T] users, System.Func`3[T1,T2,TResult] createNew, System.Collections.Generic.Dictionary`2[TKey,TValue] current) [0x00079] in <a6ff441fca7c4a97bc5b9dca720b524b>:0 
  at (wrapper dynamic-method) FrooxEngine.SessionControlDialog.FrooxEngine.SessionControlDialog.OnCommonUpdate_Patch1(FrooxEngine.SessionControlDialog)
  at FrooxEngine.ComponentBase`1[C].InternalRunUpdate () [0x0001f] in <a6ff441fca7c4a97bc5b9dca720b524b>:0 
  at FrooxEngine.UpdateManager.RunUpdates () [0x0007c] in <a6ff441fca7c4a97bc5b9dca720b524b>:0 

Please try without FriendLinkSessionList (which is also superfluous with this mod)

Okay, fixed this in a new upload of the release, was missing an "allow unsafe" flag for the release build 😩