Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Only On IOS: Reached end of array after 0 elements, when 4294967296 elements were expected #65

Open
rayss1 opened this issue Sep 14, 2024 · 1 comment

Comments

@rayss1
Copy link

rayss1 commented Sep 14, 2024

error statck below:
Reached end of array after 3 elements, when 4294967299 elements were expected.
Sirenix.Serialization.DictionaryFormatter2:DeserializeImplementation(Dictionary2&, IDataReader)
Sirenix.Serialization.BaseFormatter1:Deserialize(IDataReader) Sirenix.Serialization.AnySerializer:ReadValueWeak(IDataReader) Sirenix.Serialization.UnitySerializationUtility:DeserializeUnityObject(Object, IDataReader) Sirenix.Serialization.UnitySerializationUtility:DeserializeUnityObject(Object, Byte[]&, List1&, DataFormat, DeserializationContext)
Sirenix.Serialization.UnitySerializationUtility:DeserializeUnityObject(Object, SerializationData&, DeserializationContext, Boolean, List1) Sirenix.OdinInspector.SerializedMonoBehaviour:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() UnityEngine.Object:Instantiate(T) YIUIFramework.YIUILoadHelper:LoadAssetInstantiate(String, String) YIUIFramework.YIUIFactory:Create(UIBindVo, Transform) YIUIFramework.YIUIFactory:Instantiate(Transform) Wepie.DesertSafari.GamingPeripheralSystem.TipPanel:OnShowTip(String) Wepie.Core.EventCenter.OneParamHandler1:Invoke(Object)
Wepie.DesertSafari.Network.<>c__DisplayClass11_0:b__0(Boolean, Hashtable)
Wepie.Network.d__24:MoveNext()
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1:TrySetResult(TResult)
Cysharp.Threading.Tasks.DelayFramePromise:MoveNext()
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore()

@oddgames-david
Copy link

Turn on resilient mode in the debug context and use OnDeserialized attribute to fix up any null variables that didn't deserialize properly for the class you are struggling with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants