BepInEx
BepInEx copied to clipboard
Mods are broken when using beta
What happened?
my mods break when using beta, i cant even get onto a server
BepInEx Distribution
3rd party distribution
Log outputs
[Error : Unity Log] InvalidOperationException: Collection was modified; enumeration operation may not execute.
Stack trace:
System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () (at <4b234520e36749be9cf6b053d911690f>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNext () (at <4b234520e36749be9cf6b053d911690f>:0)
REPO_ServerList.REPO_ServerList.RefreshLobbies () (at <5d393b2cc79b41afb612aa0d2a7479bf>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <4b234520e36749be9cf6b053d911690f>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <70dfc3d6a20943b0ba4061b9aa5ea205>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <70dfc3d6a20943b0ba4061b9aa5ea205>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <70dfc3d6a20943b0ba4061b9aa5ea205>:0)
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983378073
[Info : Unity Log] Steam: Region: sa
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983224538
[Info : Unity Log] Steam: Region: eu
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983043560
[Info : Unity Log] Steam: Region: eu
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983044103
[Info : Unity Log] Steam: Region: eu
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983305367
[Info : Unity Log] Steam: Region: eu
[Info : Unity Log] [TryToJoinInLobby]SteamId lobby: 109775241983305367
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983157240
[Info : Unity Log] Steam: Region: eu
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983305367
[Info : Unity Log] Steam: Region: eu
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983159735
[Info : Unity Log] Steam: Region: eu
[Info : REPOLib] Adding items.
[Info : Unity Log] Changed level to: Level - Lobby Menu
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983306924
[Info : Unity Log] Steam: Region: eu
[Info : Unity Log] Steam: Lobby entered with ID: 109775241983378073
[Info : Unity Log] Steam: Region: sa
[Error : Unity Log] NullReferenceException
Stack trace:
REPO_ServerList.REPO_ServerList.RefreshLobbies () (at <5d393b2cc79b41afb612aa0d2a7479bf>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <4b234520e36749be9cf6b053d911690f>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <70dfc3d6a20943b0ba4061b9aa5ea205>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <70dfc3d6a20943b0ba4061b9aa5ea205>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <70dfc3d6a20943b0ba4061b9aa5ea205>:0)
[Info : Unity Log] PunVoiceClientLogic Awake
[Info : Unity Log] Already in lobby on Network Connect. Connecting to region: sa
[Info : Unity Log] Sending Steam Auth Ticket...
[Info : Unity Log] Getting Steam Auth Ticket...
[Info : Unity Log] Connected to Master Server
[Info : Unity Log] I am not the owner.
[Error : Unity Log] MissingFieldException: Field not found: NetworkConnect .NetworkConnect.instance Due to: Could not find field in class
Stack trace:
(wrapper dynamic-method) NetworkConnect.DMD<NetworkConnect::TryJoiningRoom>(NetworkConnect)
NetworkConnect.OnConnectedToMaster () (at <d39024620a0145f3a74d9bc6b16c1e19>:0)
Photon.Realtime.ConnectionCallbacksContainer.OnConnectedToMaster () (at <43c520f332fe497d80b53e920035389b>:0)
Photon.Realtime.LoadBalancingClient.OnOperationResponse (ExitGames.Client.Photon.OperationResponse operationResponse) (at <43c520f332fe497d80b53e920035389b>:0)
ExitGames.Client.Photon.PeerBase.DeserializeMessageAndCallback (ExitGames.Client.Photon.StreamBuffer stream) (at <e9022947cebe4530a3e53bb5813b85f4>:0)
ExitGames.Client.Photon.EnetPeer.DispatchIncomingCommands () (at <e9022947cebe4530a3e53bb5813b85f4>:0)
ExitGames.Client.Photon.PhotonPeer.DispatchIncomingCommands () (at <e9022947cebe4530a3e53bb5813b85f4>:0)
Photon.Pun.PhotonHandler.Dispatch () (at <ff249545c46c47b8b35ec4cdc6f2f0ba>:0)
Rethrow as AggregateException: Caught 1 exception(s) in methods called by DispatchIncomingCommands(). Rethrowing first only (see above). (Field not found: NetworkConnect .NetworkConnect.instance Due to: Could not find field in class)
Photon.Pun.PhotonHandler.Dispatch () (at <ff249545c46c47b8b35ec4cdc6f2f0ba>:0)
Photon.Pun.PhotonHandler.FixedUpdate () (at <ff249545c46c47b8b35ec4cdc6f2f0ba>:0)
Environment
- OS: Windows 11
- BepInEx: Idk
- Game: R.E.P.O