Hub 2.0 Project will not open

This morning the Hub updated itself to 2.0 and i am not able to open my project anymore.
Left it yesterday evening without any compile errors (last thing i did was a iOS build). Unity Editor says that it has stopped working and i need to file a bug report. It seems to get this bug when compiling scripts at startup.

I am on Unity 2019.1.2f1
MacOS

This is from the Editor.log

Receiving unhandled NULL exception
Obtained 36 stack frames.
#0  0x0000010f22b351 in SortByExecutionOrder(SavedObject const&, SavedObject const&)
#1  0x0000010f23b31d in void std::__1::__stable_sort<bool (*&)(SavedObject const&, SavedObject const&), SavedObject*>(SavedObject*, SavedObject*, bool (*&)(SavedObject const&, SavedObject const&), std::__1::iterator_traits<SavedObject*>::difference_type, std::__1::iterator_traits<SavedObject*>::value_type*, long)
#2  0x0000010f22acc1 in MonoManager::EndReloadAssembly(DomainReloadingData&, dynamic_bitset)
#3  0x0000010f229808 in MonoManager::ReloadAssembly()
#4  0x0000010cf268ae in ReloadAllUsedAssemblies()
#5  0x0000010cf33ee3 in HandleCompileStatus(CompileStatus, ScriptCompileFlags, bool)
#6  0x0000010cf33dca in CompileScriptsWait(ScriptCompileFlags, EditorScriptCompilationOptions, BuildTargetPlatformGroup, BuildTargetPlatform, bool)
#7  0x0000010cf28148 in CompileDirtyScriptsForEditorSync(core::basic_string<char, core::StringStorageDefault<char> > const&, ScriptCompileFlags, BuildTargetPlatformGroup, BuildTargetPlatform, bool)
#8  0x0000010cf283b1 in CompileScriptsForEditorSync(ScriptCompileFlags, bool)
#9  0x0000010cf2add1 in LoadMonoAssembliesAndRecompileIfNecessary(bool)
#10 0x0000010d5cf86e in Application::InitializeProject()
#11 0x00000110303aec in -[EditorApplication applicationDidFinishLaunching:]
#12 0x007fff4b59aaf6 in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
#13 0x007fff4b59aa70 in ___CFXRegistrationPost_block_invoke
#14 0x007fff4b59a9da in _CFXRegistrationPost
#15 0x007fff4b5a2e88 in ___CFXNotificationPost_block_invoke
#16 0x007fff4b50b8d4 in -[_CFXNotificationRegistrar find:object:observer:enumerator:]
#17 0x007fff4b50ac87 in _CFXNotificationPost
#18 0x007fff4d783217 in -[NSNotificationCenter postNotificationName:object:userInfo:]
#19 0x007fff48bc481c in -[NSApplication _postDidFinishNotification]
#20 0x007fff48bc416f in -[NSApplication _sendFinishLaunchingNotification]
#21 0x007fff48bc22c3 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]
#22 0x007fff48bc1f13 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
#23 0x007fff4d7ccd6e in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
#24 0x007fff4d7ccbeb in _NSAppleEventManagerGenericHandler
#25 0x007fff4c758397 in aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*)
#26 0x007fff4c757c29 in dispatchEventAndSendReply(AEDesc const*, AEDesc*)
#27 0x007fff4c757b01 in aeProcessAppleEvent
#28 0x007fff4a82cec7 in AEProcessAppleEvent
#29 0x007fff48bbe2f2 in _DPSNextEvent
#30 0x007fff48bbcd93 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
#31 0x007fff48bb6eb0 in -[NSApplication run]
#32 0x007fff48ba63f0 in NSApplicationMain
#33 0x000001103431dc in EditorMain(int, char const**)
#34 0x000001103434a9 in main
#35 0x007fff779b03d5 in start
Launching bug reporter

This problem might not be tied to the Hub 2.0, but this is the only thing that changed since yesterday.
BTW - I am not a big fan of auto updates. Is there a way to disable that “feature”.

Ok - i found the problem. Unity crashed at compiling INK (a plugin). There was a "
using UnityEditor.Build.Reporting;" missing because of the new
IPreprocessBuildWithReport in 2019.1.

But i am working on 2019.1.2 for days now - and there was never any issue (and i have not modified the INK folder).

Again, please consider updates to ANY product you release to be optional. I am getting flashbacks to the Win10 days where every Wednesday something stopped working.

1 Like

I’m also seeing similar spurious crashes during assembly compilation (2019.1.11f1 win64):

========== OUTPUTTING STACK TRACE ==================

0x00007FF7C87345B7 (unity) SortByExecutionOrder
0x00007FF7C871C2E7 (unity) std::_Insertion_sort_unchecked<SavedObject * __ptr64,bool (__cdecl*)(SavedObject const & __ptr64,SavedObject const & __ptr64)>
0x00007FF7C871CDD0 (unity) std::stable_sort<SavedObject * __ptr64,bool (__cdecl*)(SavedObject const & __ptr64,SavedObject const & __ptr64)>
0x00007FF7C8725406 (unity) MonoManager::EndReloadAssembly
0x00007FF7C87306E2 (unity) MonoManager::ReloadAssembly
0x00007FF7C6A19DF7 (unity) LoadDomainAndUserAssemblies
0x00007FF7C6A116E7 (unity) CompileCustomScriptAssembliesAndLoadAssembliesIfNecessary
0x00007FF7C6A11F4B (unity) CompileScriptsForEditorSync
0x00007FF7C6A1A351 (unity) LoadMonoAssembliesAndRecompileIfNecessary
0x00007FF7C6F79B38 (unity) Application::InitializeProject
0x00007FF7C724DAFA (unity) WinMain
0x00007FF7C9B9653E (unity) __scrt_common_main_seh
0x00007FFC28DB7974 (KERNEL32) BaseThreadInitThunk
0x00007FFC2AE4A271 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

It’s happening a lot with using -executeMethod without batch mode (as batch mode somehow is totally broken in 2019.1) but I haven’t seen it happen yet in interactive mode.

Hi,

Thank you for posting your issue. Unfortunately the auto-update cannot be disabled. We only support the latest Hub and would rather fix issues going forward than supporting older Hubs. That said I don’t think the correlation with your issue is valid. This seems to be very Editor-specific. You may have more luck in a more appropriate section of the Forums.

Cheers,