Random iOS Crash in Unity 2018.4.20f1 LTS
This a big project a card game that was made years ago in unity.
I have updated it to Unity 2018.4.20f1 this week and one of our testers found a odd crash. After playing a while the game crashed and this is the stack:
Looks like is something related to particles? Device iPhone 7 iOS Version 13.3.1
I need some help with it, i dont know what to do. Thank you
Thread 0#0 0x0000000101c8ad28 in bool UnityDefaultAllocator::AllocationPage<(RequestType)0>(void const*) const () #1 0x0000000101c8a798 in UnityDefaultAllocator::RegisterAllocation(void const*) () #2 0x0000000101c8a798 in UnityDefaultAllocator::RegisterAllocation(void const*) () #3 0x0000000101c8a6f0 in UnityDefaultAllocator::Allocate(unsigned long, int) () #4 0x00000001018c3124 in MemoryManager::Allocate(unsigned long, unsigned long, MemLabelId, AllocateOptions, char const*, int) () #5 0x0000000101559ccc in MinMaxCurve::GetWritableCurve() () #6 0x0000000101593688 in MinMaxCurve::Reset(ParticleSystemCurveMode, float) () #7 0x00000001015a9ff8 in SizeBySpeedModule::Reset() () #8 0x00000001015a9f54 in SizeBySpeedModule::SizeBySpeedModule(MemLabelId) () #9 0x00000001015956b8 in ParticleSystemModules::ParticleSystemModules(MemLabelId) () #10 0x0000000101586528 in ParticleSystem::ParticleSystem(MemLabelId, ObjectCreationMode) () #11 0x00000001018cd6f8 in Object::Produce(Unity::Type const*, Unity::Type const*, int, MemLabelId, ObjectCreationMode) () #12 0x0000000101aece74 in PersistentManager::ProduceObject(SerializedFile&, SerializedObjectIdentifier, int, ObjectCreation... () #13 0x0000000101aecd78 in PersistentManager::CreateThreadActivationQueueEntry(SerializedFile&, SerializedObjectIdentifier, ... () #14 0x0000000101aeb48c in PersistentManager::PreallocateObjectThreaded(int, PersistentManager::LockFlags) () #15 0x0000000101ac4d98 in TransferPPtrToMonoObjectUnChecked(int, TransferInstructionFlags) () #16 0x0000000101acec40 in void Transfer_UnityEngineObject (SerializationCommandArguments const&, ... () #17 0x0000000101accd20 in void ExecuteSerializationCommands(dynamic_array co... () #18 0x0000000101accc64 in void TransferScriptingObject(StreamedBinaryRead&, ScriptingObjectPtr, Scripti... () #19 0x0000000101aec46c in SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const* , bool, Object&) () #20 0x0000000101aed634 in PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, Serializ... () #21 0x0000000101aec764 in PersistentManager::LoadRemainingPreallocatedObjects(PersistentManager::LockFlags) () #22 0x0000000101aec58c in PersistentManager::LoadAndIntegrateAllPreallocatedObjects(PersistentManager::LockFlags) () #23 0x0000000101aec9e8 in PersistentManager::ReadObject(int, AwakeFromLoadMode) () #24 0x0000000101a85a5c in Resources_Bindings::Load(char const*, ScriptingSystemTypeObjectPtr, ScriptingExceptionPtr*) () #25 0x0000000101b01398 in Resources_CUSTOM_Load(Il2CppString*, Il2CppObject*) () #26 (null) in GamePlay_U3COnUIMessageChangeHandlerU3Eb_ 72_6_m0E6C737FEF191CE9DA60C7929E7900E5A604B7AB () #27 (null) in GamePlay_Update_mE6474985BEB9E8BA25D2AAAFF3E772FB2E607690 () #28 0x0000000100496030 in RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017(void ()(), MethodInfo const, ... at /Applications/Projects/TarneebUnity/bin/tarneeb/Classes/Native/Il2CppInvokerTable.cpp:37288 #29 0x000000010214727c in il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void*, Il2CppException) () #30 0x0000000101ab63e4 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExc... () #31 0x0000000101abead0 in ScriptingInvocation::Invoke(ScriptingExceptionPtr, bool) () #32 0x0000000101ac7f5c in MonoBehaviour::CallUpdateMethod(int) () #33 0x00000001019573f0 in void BaseBehaviourManager::CommonUpdate() () #34 0x0000000101a22a24 in ExecutePlayerLoop(NativePlayerLoopSystem*) () #35 0x0000000101a22a58 in ExecutePlayerLoop(NativePlayerLoopSystem*) () #36 0x0000000101a22c30 in PlayerLoop() () #37 (null) in UnityPlayerLoopImpl(bool) () #38 (null) in UnityRepaint () #39 (null) in -[UnityAppController(Rendering) repaintDisplayLink] () #40 (null) in CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) () #41 (null) in IODispatchCalloutFromCFMessage () #42 (null) in CFMachPortPerform () #43 (null) in CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION () #44 (null) in CFRunLoopDoSource1 () #45 (null) in _CFRunLoopRun () #46 (null) in CFRunLoopRunSpecific () #47 (null) in GSEventRunModal () #48 (null) in UIApplicationMain () #49 0x000000010037aa80 in main at /Applications/Projects/TarneebUnity/bin/tarneeb/Classes/main.mm:41 #50 (null) in start ()
Answer by gooses2 · Jul 22, 2020 at 12:10 PM
@andrefbr21 Did you find a fix? I'm getting the same issue. I'm on 2018.4.21f and had hundreds of Crash reports for this.