Cloud build failed for ios/android since minor version upgrade to 2020.3.9

Hi, we upgraded our 2020LTS from .7 to .9 yesterday as it contains a crucial physics bugfix we urgently need for production. But unfortunately since then the cloud builds are all failing for android and ios while local builds still work.

Stack trace

6955: [Unity] Obtained 42 stack frames.
6956: [Unity] #0 0x000001096bab72 in typeinfo name for MemoryFile
6957: [Unity] #1 0x00000104fe12d5 in SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&)
6958: [Unity] #2 0x00000104f8ffb6 in PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)
6959: [Unity] #3 0x00000104f8f431 in PersistentManager::ReadObjectThreaded(int, PersistentManager::LockFlags)
6960: [Unity] #4 0x00000104f8d300 in PersistentManager::ReadObject(int, AwakeFromLoadMode)
6961: [Unity] #5 0x000001033e0aa1 in PPtr::hushed:perator Object*() const
6962: [Unity] #6 0x00000106954be2 in NativeFormatImporter::EndImport(dynamic_array<Object*, 0ul>&)
6963: [Unity] #7 0x00000106893e06 in ImportToObjects(core::basic_string<char, core::StringStorageDefault > const&, core::hash_map<AssetDatabase::ImporterID, ImporterInfo, core::hashAssetDatabase::ImporterID, std::__1::equal_toAssetDatabase::ImporterID > const&, dynamic_array<PostprocessorInfo, 0ul> const&, AssetResolveTracker const&, ImportAssetInputs const&, ImportAssetOutputs&, IImportProgress*)
6964: [Unity] #8 0x00000106892b4c in ImportAsset(core::hash_map<AssetDatabase::ImporterID, ImporterInfo, core::hashAssetDatabase::ImporterID, std::__1::equal_toAssetDatabase::ImporterID > const&, dynamic_array<PostprocessorInfo, 0ul> const&, AssetResolveTracker const&, ImportAssetInputs const&, ImportAssetOutputs&, IImportProgress*)
6965: [Unity] #9 0x000001067e5ef3 in AssetImportWorker::Import(AssetResolver&, WorkerImportPayload const&, WorkerImportResponse&, IImportProgress*, bool*)
6966: [Unity] #10 0x000001067d0735 in AssetImportManager::ImportInProcess(AssetResolver&, ArtifactKey const&, AssetImportParameters const&, AssetDatabase::ArtifactID&, IImportProgress*, core::hash_set<core::basic_string<char, core::StringStorageDefault >, core::hash<core::basic_string<char, core::StringStorageDefault > >, std::__1::equal_to<core::basic_string<char, core::StringStorageDefault > > >&, CrashedAssetImportsDatabase&)
6967: [Unity] #11 0x000001067ce535 in AssetImportManager::Import(core::hash_map<AssetDatabase::ImporterID, ImporterInfo, core::hashAssetDatabase::ImporterID, std::__1::equal_toAssetDatabase::ImporterID > const&, dynamic_array<PostprocessorInfo, 0ul> const&, AssetResolver&, CategorizedAssets&, IImportProgress*, core::hash_set<UnityGUID, core::hash, std::__1::equal_to > const&, LoadedImportedAssetsSnapshot const*, core::hash_set<core::basic_string<char, core::StringStorageDefault >, core::hash<core::basic_string<char, core::StringStorageDefault > >, std::__1::equal_to<core::basic_string<char, core::StringStorageDefault > > >&, CrashedAssetImportsDatabase&, bool)
6968: [Unity] #12 0x00000106877d19 in RefreshInternalV2(AssetDatabase::UpdateAssetOptions, ScanFilter const&, InternalRefreshFlagsV2)
6969: [Unity] #13 0x0000010684cf04 in StopAssetImportingV2(AssetDatabase::UpdateAssetOptions, InternalRefreshFlagsV2, ScanFilter const*)
6970: [Unity] #14 0x0000010684d557 in RefreshV2(AssetDatabase::UpdateAssetOptions)
6971: [Unity] #15 0x0000010679e496 in AssetDatabase::Refresh(AssetDatabase::UpdateAssetOptions)
6972: [Unity] #16 0x00000105b53810 in Application::InitializeProject()
6973: [Unity] #17 0x00000107d692ad in -[EditorApplication applicationDidFinishLaunching:]
6974: [Unity] #18 0x007fff2dfc02c9 in CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER
6975: [Unity] #19 0x007fff2dfc025d in ___CFXRegistrationPost1_block_invoke
6976: [Unity] #20 0x007fff2dfc01d2 in _CFXRegistrationPost1
6977: [Unity] #21 0x007fff2dfbfe3e in ___CFXNotificationPost_block_invoke
6978: [Unity] #22 0x007fff2df9002c in -[_CFXNotificationRegistrar find:hushed:bject:hushed:bserver:enumerator:]
6979: [Unity] #23 0x007fff2df8f3f5 in _CFXNotificationPost
6980: [Unity] #24 0x007fff3062d786 in -[NSNotificationCenter postNotificationName:hushed:bject:userInfo:]
6981: [Unity] #25 0x007fff2b236ce3 in -[NSApplication _postDidFinishNotification]
6982: [Unity] #26 0x007fff2b236a22 in -[NSApplication _sendFinishLaunchingNotification]
6983: [Unity] #27 0x007fff2b233ae3 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]
6984: [Unity] #28 0x007fff2b233728 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
6985: [Unity] #29 0x007fff30658a26 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
6986: [Unity] #30 0x007fff30658890 in _NSAppleEventManagerGenericHandler
6987: [Unity] #31 0x007fff2f35f203 in _AppleEventsCheckInAppWithBlock
6988: [Unity] #32 0x007fff2f35e929 in _AppleEventsCheckInAppWithBlock
6989: [Unity] #33 0x007fff2f356bd7 in aeProcessAppleEvent
6990: [Unity] #34 0x007fff2cbf77fa in AEProcessAppleEvent
6991: [Unity] #35 0x007fff2b22dac1 in _DPSNextEvent
6992: [Unity] #36 0x007fff2b22c070 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
6993: [Unity] #37 0x007fff2b21dd7e in -[NSApplication run]
6994: [Unity] #38 0x007fff2b1efb86 in NSApplicationMain
6995: [Unity] #39 0x00000107da4079 in EditorMain(int, char const**)
6996: [Unity] #40 0x00000107da42a9 in main
6997: [Unity] #41 0x007fff680bacc9 in start
6998: Unity ran in ‘508.321696’ seconds
6999: ! Unity player export failed!

Any idea? Thanks in advance

Best,
Felix

Please file a support ticket and we will be able to help. :slight_smile:

1 Like

Hi @Justin-Unity ,

thanks for your reply. I filed a support ticket on the Unity Cloud Build dashboard.

Thanks in advance

1 Like

Hi, for anyone running into the same issue. I was able to fix it by recreating our PhysicsMaterials. I can’t explain why this only caused issues on non local builds but somehow they “corrupted” during the minor upgrade.

Our own webgl build pipeline running on linux pointed at PhysicsMaterial::Reset in the stacktrace.