• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by youdk · Jan 15, 2019 at 01:26 PM · crashing

Android crash on Unity 2018.2.15f

Does anyone have any idea about this crash?

We got a crash after upgrading Unity version from 2018.1.4 to 2018.2.15 when loading asset:


Crash log on Android(API target version 28):

01-14 18:17:02.516 5374-5434/? E/Unity: Could not allocate memory: System out of memory! Trying to allocate: 2478375169B with 16 alignment. MemoryLabel: String Allocation happened at: Line:303 in Memory overview

[ ALLOC_DEFAULT ] used: 130982337B | peak: 145449553B | reserved: 133294561B [ ALLOC_TEMP_JOB ] used: 204917B | peak: 0B | reserved: 1048576B [ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B [ ALLOC_GAMEOBJECT ] used: 5569444B | peak: 7496733B | reserved: 5828718B [ ALLOC_GFX ] used: 10274685B | peak: 20308373B | reserved: 10292070B [ ALLOC_PROFILER ] used: 256B | peak: 256B | reserved: 332B [ ALLOC_TEMP_THREAD ] used: 33732B | peak: 0B | reserved: 3375104B 01-14 18:17:02.614 5374-5434/? E/CRASH: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 58f0e29c


Build fingerprint: '' Revision: '0' pid: 5374, tid: 5434, name: UnityMain r0 c537e19c r1 00000000 r2 00000001 r3 00000000 r4 93b90100 r5 c537e198 r6 c537e198 r7 a1113874 r8 00800101 r9 c537e240 sl 00036858 fp 00000000 ip 80000000 sp c537e170 lr c56a4b94 pc c56a4a7c cpsr de0c4d10 backtrace:

Call stack:

core::StringStorageDefault::resize(unsigned int, bool) void StreamedBinaryRead::TransferSTLStyleArray > >(core::basic_string >&, TransferMetaFlags) void NamedObject::Transfer(StreamedBinaryRead&) void Material::Transfer(StreamedBinaryRead&) SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const*, bool, Object&) PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags) PersistentManager::ReadObjectThreaded(int, PersistentManager::LockFlags) PersistentManager::ReadObject(int, AwakeFromLoadMode) ForcePreload(AssetBundle&, dynamic_array, bool) ProcessAssetBundleEntries(AssetBundle&, std::pair > const, AssetBundle::AssetInfo> >, std::_Rb_tree_iterator > const, AssetBundle::AssetInfo> > > const&, ScriptingSystemTypeObjectPtr, dynamic_array&, bool) LoadNamedObjectFromAssetBundle(AssetBundle&, core::basic_string > const&, ScriptingSystemTypeObjectPtr) AssetBundle_CUSTOM_LoadAsset_Internal(Il2CppObject*, Il2CppString*, Il2CppObject*) vk::RenderPassSwitcher::~RenderPassSwitcher()

Can you confirm is this issue being the same issue as reported above? If yes, can you back port the solution to Unity 2018.2.XX?

This issue is already been reported here: https://issuetracker.unity3d.com/issues/unity-crashes-on-std-tree-std-tmap-traits-core-basic-string-char-core-stringstoragedefault-when-reimporting-assets

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by youdk · Jan 15, 2019 at 01:27 PM

This crash also found in iOS:


Crash log on iOS:

Crashed: Thread 0 TestApp 0x100d30f74 core::hash_set > const, int, true>, core::hash_pair > >, core::basic_string > const, int>, core::equal_pair > >, core::basic_string > const, int> >::node* core::hash_set > const, int, true>, core::hash_pair > >, core::basic_string > const, int>, core::equal_pair > >, core::basic_string > const, int> >::lookup > >(core::basic_string > const&) const (hash_set.h:636) 1 TestApp 0x100d2dcc8 MonoManager::GetScriptingClass(char const*, char const*, char const*) (hash_set.h:308) 2 TestApp 0x1008aee24 InitializeCoreScriptingClasses() (CoreScriptingClasses.cpp:25) 3 TestApp 0x1008aed98 GetCoreScriptingClassesPtr() (CoreScriptingClasses.cpp:1686) 4 TestApp 0x1008aebdc GetCoreScriptingClasses() (CoreScriptingClasses.cpp:1695) 5 TestApp 0x100d2a0b4 scripting_stack_trace_info_for(ScriptingExceptionPtr, StackTraceInfo&) (ScriptingTypes.h:69) 6 TestApp 0x100d2e204 Scripting::LogException(ScriptingExceptionPtr, int, char const*, bool) (Scripting.cpp:764) 7 TestApp 0x10295d000 unsigned long long flatbuffers::HashFnv1a(char const*) + 20955716 8 TestApp 0x10295cf10 unsigned long long flatbuffers::HashFnv1a(char const*) + 20955476 9 TestApp 0x102b02648 unsigned long long flatbuffers::HashFnv1a(char const*) + 22681740 10 TestApp 0x10033db18 RuntimeInvoker_Void_t1185182177_RuntimeObject_RuntimeObject(void ()(), MethodInfo const, void*, void*) (Il2CppInvokerTable.cpp:61738) 11 TestApp 0x1014b3c40 il2cpp::vm::Runtime::Invoke(MethodInfo const, void*, void*, Il2CppException) (Runtime.cpp:521) 12 TestApp 0x1014b48d8 il2cpp::vm::Runtime::CallUnhandledExceptionDelegate(Il2CppDomain, Il2CppDelegate*, Il2CppException*) (Runtime.cpp:458) 13 TestApp 0x1014b47f0 il2cpp::vm::Runtime::UnhandledException(Il2CppException*) (Runtime.cpp:614) 14 TestApp 0x101475a24 il2cpp::icalls::mscorlib::System::Threading::ThreadStart(void*) (Thread.cpp:169) 15 TestApp 0x101481ab0 il2cpp::os::Thread::RunWrapper(void*) (Thread.cpp:169) 16 TestApp 0x10148af1c il2cpp::os::ThreadImpl::ThreadStartWrapper(void*) (ThreadImpl.cpp:106) 17 libsystem_pthread.dylib 0x1a6d8825c _pthread_body + 128 18 libsystem_pthread.dylib 0x1a6d881bc _pthread_start + 48 19 libsystem_pthread.dylib 0x1a6d8bcf4 thread_start + 4

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by G1NurX · Apr 23, 2019 at 02:54 PM

issue-tracker is here.

https://issuetracker.unity3d.com/issues/editor-crash-when-calling-streamedbinaryread-transferstlstylearray

and someone explained this bug in Chinese in his blog. https://zhuanlan.zhihu.com/p/59394832

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

166 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to fix unity3d from crashing? 1 Answer

My project doesn't open as Unity stops responding 1 Answer

Unity won't load Project v5.5.0f3 ? any ideas for a fix? 0 Answers

Windows Mixed Reality Unity "Crash" 0 Answers

Unity crashes when I start it. Help! 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges