Unity 4.5.3f3 on Mac crashes when loading assets

Hello,

I have quite the showstopper bug here =) It happens every time I try to load my Unity project and results in the crash that is pasted below. I have taken the following measures with no effect:

  1. Restarted the machine
  2. Removed Unity completely (from /Applicatons/and from /Users//Library/Preferences/ and /Users/Shared/)
  3. Reinstalled Unity
  4. Checked out a clean copy of my project from git that works for all other developers
  5. Tried to open the clean project
  6. Tried deleting the files it is importing when the crash happens
    → Always crashes

I have already submitted the bug but any help is appreciated!

BR,

Andreas Wedenberg

CRASH REPORT SENT TO UNITY:

Process: Unity [982]

Path: /Applications/Unity/Unity.app/Contents/MacOS/Unity

Identifier: com.unity3d.UnityEditor4.x

Version: Unity version 4.5.3f3 (4.5.3f3)

Code Type: X86 (Native)

Parent Process: sh [980]

Responsible: Unity [982]

User ID: 501

Date/Time: 2014-09-02 16:37:44.851 +0300

OS Version: Mac OS X 10.9.4 (13E28)

Report Version: 11

Anonymous UUID: 7C60256D-0B2A-D406-C40A-735D155038C7

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGABRT)

Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

VM Regions Near 0:

→ __PAGEZERO 0000000000000000-0000000000001000 [ 4K] —/— SM=NUL /Applications/Unity/Unity.app/Contents/MacOS/Unity

__TEXT 0000000000001000-000000000208a000 [ 32.5M] r-x/rwx SM=COW /Applications/Unity/Unity.app/Contents/MacOS/Unity

Application Specific Information:

abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0 libsystem_kernel.dylib 0x98118952 __pthread_kill + 10

1 libsystem_pthread.dylib 0x92874167 pthread_kill + 101

2 libsystem_c.dylib 0x9a62629c abort + 155

3 libmono.0.dylib 0x043e64f6 mono_handle_native_sigsegv + 881

4 libmono.0.dylib 0x0441fdca 0x4362000 + 777674

5 libsystem_platform.dylib 0x91edfdeb _sigtramp + 43

6 ??? 0xffffffff 0 + 4294967295

7 libsystem_c.dylib 0x9a62629c abort + 155

8 com.unity3d.UnityEditor4.x 0x016a4935 LaunchBugReporter(BugReportMode) + 1157

9 com.unity3d.UnityEditor4.x 0x0095df45 HandleSignal(int, __siginfo*, void*) + 53

10 libmono.0.dylib 0x0441f9aa mono_chain_signal + 76

11 libmono.0.dylib 0x0436a9a2 mono_sigsegv_signal_handler + 234

12 libsystem_platform.dylib 0x91edfdeb _sigtramp + 43

13 ??? 0xffffffff 0 + 4294967295

14 com.unity3d.UnityEditor4.x 0x0057de16 ImageFilters::Blit(Texture*, RenderTexture*) + 102

15 com.unity3d.UnityEditor4.x 0x00efe4c1 Graphics_CUSTOM_Blit(ReadOnlyScriptingObjectOfType, ReadOnlyScriptingObjectOfType) + 65

16 ??? 0x27195ab8 0 + 655973048

17 ??? 0x254a3451 0 + 625620049

18 ??? 0x15de7498 0 + 366900376

19 ??? 0x15de75bb 0 + 366900667

20 libmono.0.dylib 0x0436c801 0x4362000 + 43009

21 libmono.0.dylib 0x0449f733 mono_runtime_invoke + 133

22 com.unity3d.UnityEditor4.x 0x007419ac mono_runtime_invoke_profiled(MonoMethod*, MonoObject*, void**, MonoException**, MonoClass*) + 188

23 com.unity3d.UnityEditor4.x 0x00975054 CallStaticMonoMethod(char const*, char const*, void**, MonoException**) + 68

24 com.unity3d.UnityEditor4.x 0x00974ffd CallStaticMonoMethod(char const*, char const*, void**) + 45

25 com.unity3d.UnityEditor4.x 0x01442ca7 MonoCreateAssetPreview(Object*, std::vector<Object*, std::allocator<Object*> > const&, std::string const&) + 151

26 com.unity3d.UnityEditor4.x 0x014429b7 AppendAssetPreviewToMetaData(File&, Object*, std::vector<Object*, std::allocator<Object*> > const&, std::string const&, vector_map<int, int, std::less, std::allocator<std::pair<int, int> > > const&, dynamic_array<AssetPreviewImageFooter, 4ul>&, unsigned long&) + 119

27 com.unity3d.UnityEditor4.x 0x01442742 AppendAssetPreviewToMetaData(std::string const&, LibraryRepresentation&, std::vector<LibraryRepresentation, std::allocator >&, std::string const&, vector_map<int, int, std::less, std::allocator<std::pair<int, int> > > const&) + 370

28 com.unity3d.UnityEditor4.x 0x010f070a AssetDatabase::WriteCachedMetaDataAndPreviews(std::string const&, std::string const&, AssetImporter*, AssetMetaData*, Asset&) + 1514

29 com.unity3d.UnityEditor4.x 0x010ef42e AssetDatabase::UpdateAsset(UnityGUID const&, UnityGUID const&, MdFour const&, int, MdFour, AssetImportingTimerStats*) + 10174

30 com.unity3d.UnityEditor4.x 0x0111dbc1 AssetInterface::ProcessAssetsImplementation(double&, AssetInterface::CancelBehaviour) + 881

31 com.unity3d.UnityEditor4.x 0x0111cf42 AssetInterface::StopAssetEditing(AssetInterface::CancelBehaviour) + 274

32 com.unity3d.UnityEditor4.x 0x0112232e AssetInterface::Refresh(int) + 13614

33 com.unity3d.UnityEditor4.x 0x00f56ab0 AssetDatabase_CUSTOM_Refresh(int) + 48

34 ??? 0x15d5a75c 0 + 366323548

35 ??? 0x15d5a6f6 0 + 366323446

36 ??? 0x15d48bbb 0 + 366250939

37 ??? 0x115a3518 0 + 291124504

38 libmono.0.dylib 0x0436c801 0x4362000 + 43009

39 libmono.0.dylib 0x0449f733 mono_runtime_invoke + 133

40 libmono.0.dylib 0x0449fcf6 mono_runtime_class_init_full + 1214

41 libmono.0.dylib 0x0449f834 mono_runtime_class_init + 31

42 libmono.0.dylib 0x0445fbd5 0x4362000 + 1039317

43 ??? 0x15aec1bc 0 + 363774396

44 ??? 0x15aec156 0 + 363774294

45 ??? 0x15aeb2af 0 + 363770543

46 ??? 0x15a15fd8 0 + 362897368

47 ??? 0x15aeb091 0 + 363770001

48 libmono.0.dylib 0x0436c801 0x4362000 + 43009

49 libmono.0.dylib 0x0449f733 mono_runtime_invoke + 133

50 com.unity3d.UnityEditor4.x 0x00742999 scripting_method_invoke(ScriptingMethod*, MonoObject*, ScriptingArguments&, MonoException**) + 265

51 com.unity3d.UnityEditor4.x 0x00974d1d ScriptingInvocation::Invoke(MonoException**, bool) + 77

52 com.unity3d.UnityEditor4.x 0x00974cc0 ScriptingInvocation::Invoke(MonoException**) + 32

53 com.unity3d.UnityEditor4.x 0x00974bfe ScriptingInvocation::Invoke() + 30

54 com.unity3d.UnityEditor4.x 0x0095bbd1 MonoManager::SetupLoadedEditorAssemblies() + 593

55 com.unity3d.UnityEditor4.x 0x0095cd35 MonoManager::EndReloadAssembly(DomainReloadingData const&, dynamic_bitset) + 1541

56 com.unity3d.UnityEditor4.x 0x0095bc70 MonoManager::ReloadAssembly() + 96

57 com.unity3d.UnityEditor4.x 0x0120f5f8 LoadDomainAndAssemblies() + 104

58 com.unity3d.UnityEditor4.x 0x01211c71 LoadMonoAssembliesOrRecompile() + 9457

59 com.unity3d.UnityEditor4.x 0x014b54f2 Application::InitializeProject() + 7410

60 com.unity3d.UnityEditor4.x 0x016ab401 -[EditorApplication applicationDidFinishLaunching:] + 561

61 com.apple.Foundation 0x9b35a732 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke + 49

62 com.apple.CoreFoundation 0x964cd5a4 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 20

63 com.apple.CoreFoundation 0x963af04b _CFXNotificationPost + 3435

64 com.apple.Foundation 0x9b34921f -[NSNotificationCenter postNotificationName:object:userInfo:] + 92

65 com.apple.AppKit 0x92ff4575 -[NSApplication _postDidFinishNotification] + 367

66 com.apple.AppKit 0x92ff4215 -[NSApplication _sendFinishLaunchingNotification] + 239

67 com.apple.AppKit 0x92ff0b44 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 840

68 com.apple.AppKit 0x92ff0431 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 277

69 libobjc.A.dylib 0x9189b304 -[NSObject performSelector:withObject:withObject:] + 77

70 com.apple.Foundation 0x9b36947a __76-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke + 121

71 com.apple.Foundation 0x9b368fb1 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 430

72 com.apple.Foundation 0x9b368dbb _NSAppleEventManagerGenericHandler + 218

73 com.apple.AE 0x9b255b15 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*)

Do you have the bug number handy and what are your repro steps?

I downloaded the newest version of Unity nightly which resolved the problem. Cheers!

1 Like