Игроки при подключении вылетают с сервак, вот ошибка:
IndexOutOfRangeException: Index was outside the bounds of the array. UnityEngineInternal.WebRequestUtils.MakeInitialUrl (System.String targetUrl, System.String localUrl) (at <8200a3e93f824d45ae72f244b6cfc50f>:0) UnityEngine.Networking.UnityWebRequest.set_url (System.String value) (at <8200a3e93f824d45ae72f244b6cfc50f>:0) UnityEngine.Networking.UnityWebRequest..ctor (System.String url, System.String method, UnityEngine.Networking.DownloadHandler downloadHandler, UnityEngine.Networking.UploadHandler uploadHandler) (at <8200a3e93f824d45ae72f244b6cfc50f>:0) UnityEngine.Networking.UnityWebRequest.Get (System.String uri) (at <8200a3e93f824d45ae72f244b6cfc50f>:0) UnityEngine.WWW..ctor (System.String url) (at <e4c5d39db1054ca39b33b604c0b17180>:0) CommunityEntity+<LoadTextureFromWWW>c__Iterator0.MoveNext () (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e62018e11c0a49d48c08c9fbcfd3623f>:0) UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator) CommunityEntity:CreateComponents(GameObject, Object) CommunityEntity:AddUI(RPCMessage) CommunityEntity:OnRpcMessage(BasePlayer, UInt32, Message) BaseEntity:CL_RPCMessage(UInt32, UInt64, Message) Client:OnRPCMessage(Message) Client:OnNetworkMessage(Message) Facepunch.Network.Raknet.Client:HandleMessage() Facepunch.Network.Raknet.Client:Cycle() Client:Update() Version: 27252
Как решить?
IndexOutOfRangeException: Index was outside the bounds of the array. UnityEngineInternal.WebRequestUtils.MakeInitialUrl (System.String targetUrl, System.String localUrl) (at <8200a3e93f824d45ae72f244b6cfc50f>:0) UnityEngine.Networking.UnityWebRequest.set_url (System.String value) (at <8200a3e93f824d45ae72f244b6cfc50f>:0) UnityEngine.Networking.UnityWebRequest..ctor (System.String url, System.String method, UnityEngine.Networking.DownloadHandler downloadHandler, UnityEngine.Networking.UploadHandler uploadHandler) (at <8200a3e93f824d45ae72f244b6cfc50f>:0) UnityEngine.Networking.UnityWebRequest.Get (System.String uri) (at <8200a3e93f824d45ae72f244b6cfc50f>:0) UnityEngine.WWW..ctor (System.String url) (at <e4c5d39db1054ca39b33b604c0b17180>:0) CommunityEntity+<LoadTextureFromWWW>c__Iterator0.MoveNext () (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e62018e11c0a49d48c08c9fbcfd3623f>:0) UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator) CommunityEntity:CreateComponents(GameObject, Object) CommunityEntity:AddUI(RPCMessage) CommunityEntity:OnRpcMessage(BasePlayer, UInt32, Message) BaseEntity:CL_RPCMessage(UInt32, UInt64, Message) Client:OnRPCMessage(Message) Client:OnNetworkMessage(Message) Facepunch.Network.Raknet.Client:HandleMessage() Facepunch.Network.Raknet.Client:Cycle() Client:Update() Version: 27252
Как решить?