4.3 fails to convert 4.2 project / crashes on startup when loading project

Just a warning that your project may fail to convert to 4.3, and some related tips:

  • Make sure your project is backed up before attempting to upgrade Unity. Consider backing up your Unity editor as well.
  • If you do get a crash that does not seem to be in the known issues list or you can’t otherwise work around it, make sure to submit your project folder with the bug report and track the bug status (you will be emailed a link). If it is against your policy to let the project go “out of house”, you may be able to just submit the problem asset(s). See the editor log tip below for how to find this.
  • Hold Alt (in Windows) when launching Unity to get a project selection menu instead of auto-launching into your last project. This way you can at least explore the new 4.3 features.
  • You may still be able to work on your project by downloading a previous version of unity or reverting to your previous version of unity if you had it in 3rd party source control or manually backed up.
  • See How can I find editor log file? - Questions & Answers - Unity Discussions to find your editor log file. It may have hints so you can diagnose the problem yourself. Look for “Crash!!!” in the log.

For example:
Updating Assets/Sprites/Pencil Dragon/Materials/dragon_segment.mat - GUID: b90d1dec42f16db4e8bc80f004d47928…
done. [Time: 10.661854 ms]
Updating Assets/Materials/Player.physicMaterial - GUID: b98b7397ec8328f4bb7574e207b0a555…
done. [Time: 7.509213 ms]
Updating Assets/Materials/Transparent Orange.mat - GUID: bb9b786d05c7b3a4fb445c5406722538…
done. [Time: 8.576243 ms]
Updating Assets/Prefabs/PickupItems/Persistent/SpeedBootsPickup.prefab - GUID: bc7b6e1105544f04a920054f103f56eb…
done. [Time: 7.882448 ms]
Updating Assets/Prefabs/Cloth Rope.prefab - GUID: bd317c5e65454be40aeb5eae1ea60ff6…
Crash!!!

Now, off to try relaunching with that Cloth Rope.prefab removed…

UPDATE: and the project converts now, yay! I’d update the bug report if I could figure out how. Now, about that cloth rope…

UPDATE 2: From Unity QA “This is a known issue that is caused by having a cloth renderer together with a mesh render either in one gameobject or connected by a parent (in your case I noticed something similar in the prefab “Cloth Rope”). The project should still work with version 4.2.2.”

UPDATE 3: One trick to keep your current version of Unity around before upgrading is to simply rename the Unity folder, e.g. “Unity4.2.2”.

UPDATE 4: Changed conditional recommendation to submit crash, per Unity QA advice.

-SCC

For the curious, my bug case http://fogbugz.unity3d.com/default.asp?574956_u56en9qb3qgtocqf

Got a crash on import here too; unfortunately the Unity Bug Reporter doesn’t run either so hoping this stack trace might get picked up by Unity Support - seems the cloth renderer is exploding on an asset preview image render (!):

Receiving unhandled NULL exception
Launching bug reporter
Obtained 55 stack frames.
#0  0x00000000ac59fd in ClothRenderer::UpdateClothVerticesFromPhysics()
#1  0x00000000ac5a75 in ClothRenderer::UpdateTransformInfo()
#2  0x00000000ac5a34 in non-virtual thunk to ClothRenderer::UpdateTransformInfo()
#3  0x0000000052930a in BaseRenderer::GetWorldAABB(AABB)
#4  0x0000000058b301 in Unity::Scene::AddRenderer(Renderer*)
#5  0x000000006a4af8 in Renderer::UpdateRenderer()
#6  0x000000006a1986 in Renderer::UpdateAllRenderersInternal()
#7  0x000000005712bd in RenderManager::UpdateAllRenderers()
#8  0x0000000053350a in Camera::StandaloneRender(unsigned int, Shader*, std::string const)
#9  0x00000000d740c0 in Camera_CUSTOM_Render(ReadOnlyScriptingObjectOfType<Camera>)
#10 0x00000012aebd1d in  (wrapper managed-to-native) UnityEngine.Camera:Render () + 0x75 (0x12aebca8 0x12aebd70) [0xb40ac40 - Unity Child Domain]
#11 0x00000013062394 in  UnityEditor.GameObjectInspector:smile:oRenderPreview () + 0xa9c (0x130618f8 0x13062421) [0xb40ac40 - Unity Child Domain]
#12 0x00000012aedf24 in  UnityEditor.GameObjectInspector:RenderStaticPreview (string,UnityEngine.Object[],int,int) + 0x164 (0x12aeddc0 0x12aedf61) [0xb40ac40 - Unity Child Domain]
#13 0x00000012aa2a40 in  UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset (UnityEngine.Object,UnityEngine.Object[],string) + 0x238 (0x12aa2808 0x12aa2a8a) [0xb40ac40 - Unity Child Domain]
#14 0x00000012aa2b73 in  (wrapper runtime-invoke) <Module>:runtime_invoke_object_object_object_object (object,intptr,intptr,intptr) + 0xb3 (0x12aa2ac0 0x12aa2c2e) [0xb40ac40 - Unity Child Domain]
#15 0x000000040cd362 in mono_jit_compile_method
#16 0x0000000430a5ca in mono_runtime_invoke
#17 0x000000006db426 in mono_runtime_invoke_profiled(MonoMethod*, MonoObject*, void**, MonoException**, MonoClass*)
#18 0x0000000088f5ab in CallStaticMonoMethod(MonoMethod*, void**, MonoException**)
#19 0x0000000088f82d in CallStaticMonoMethod(char const*, char const*, void**, MonoException**)
#20 0x0000000088f87d in CallStaticMonoMethod(char const*, char const*, void**)
#21 0x00000001191eef in MonoCreateAssetPreview(Object*, std::vector<Object*, std::allocator<Object*> > const, std::string const)
#22 0x00000001191f89 in AppendAssetPreviewToMetaData(File, Object*, std::vector<Object*, std::allocator<Object*> > const, std::string const, vector_map<int, int, std::less<int>, std::allocator<std::pair<int, int> > > const, dynamic_array<AssetPreviewImageFooter, 4ul, (MemLabelIdentifier)53>, unsigned long)
#23 0x00000001191c59 in AppendAssetPreviewToMetaData(std::string const, LibraryRepresentation, std::vector<LibraryRepresentation, std::allocator<LibraryRepresentation> >, std::string const, vector_map<int, int, std::less<int>, std::allocator<std::pair<int, int> > > const)
#24 0x00000000ed826f in AssetDatabase::WriteCachedMetaDataAndPreviews(std::string const, std::string const, AssetImporter*, AssetMetaData*, Asset)
#25 0x00000000edf67f in AssetDatabase::UpdateAsset(UnityGUID const, UnityGUID const, MdFour const, int, MdFour)
#26 0x00000000f06751 in AssetInterface::ProcessAssetsImplementation(double, AssetInterface::CancelBehaviour)
#27 0x00000000f085cd in AssetInterface::StopAssetEditing(AssetInterface::CancelBehaviour)
#28 0x00000000f0a4dc in AssetInterface::ImportAssets(std::vector<UnityGUID, std::allocator<UnityGUID> > const, int)
#29 0x00000000f0a635 in AssetInterface::ImportAssetsWithMismatchingAssetImporterVersion()
#30 0x000000011f9b70 in Application::InitializeProject()
#31 0x000000013a879e in -[EditorApplication applicationDidFinishLaunching:]
#32 0x0000009422d692 in __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke
#33 0x000000972627e4 in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
#34 0x000000971443fb in _CFXNotificationPost
#35 0x0000009421bebf in -[NSNotificationCenter postNotificationName:object:userInfo:]
#36 0x000000921e07d5 in -[NSApplication _postDidFinishNotification]
#37 0x000000921e0475 in -[NSApplication _sendFinishLaunchingNotification]
#38 0x000000921dcda4 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]
#39 0x000000921dc691 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
#40 0x00000095657304 in -[NSObject performSelector:withObject:withObject:]
#41 0x0000009423c3fa in __76-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke
#42 0x0000009423bf31 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
#43 0x0000009423bd3b in _NSAppleEventManagerGenericHandler
#44 0x00000091d3cb15 in aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*)
#45 0x00000091d0bed6 in dispatchEventAndSendReply(AEDesc const*, AEDesc*)
#46 0x00000091d0bdce in aeProcessAppleEvent
#47 0x00000094f9b7c1 in AEProcessAppleEvent
#48 0x000000921d83a8 in _DPSNextEvent
#49 0x000000921d7ad0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#50 0x000000921ca35c in -[NSApplication run]
#51 0x000000921b31f8 in NSApplicationMain
#52 0x000000013bacfb in EditorMain(int, char const**)
#53 0x000000013bb0a8 in main
#54 0x00000000003895 in start
ExecutionEngineException: SIGILL
  at (wrapper managed-to-native) UnityEngine.Camera:Render ()
  at UnityEditor.GameObjectInspector.DoRenderPreview () [0x00000] in <filename unknown>:0 
  at UnityEditor.GameObjectInspector.RenderStaticPreview (System.String assetPath, UnityEngine.Object[] subAssets, Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at UnityEditor.AssetPreviewUpdater.CreatePreviewForAsset (UnityEngine.Object obj, UnityEngine.Object[] subAssets, System.String assetPath) [0x00000] in <filename unknown>:0 
 
(Filename:  Line: -1)

I can’t just remove this one asset as it is nested within the scene.

/ sigh

:neutral:

Thanks for the help s_guy.

The cloth objects in my scene were also the source of my problem (as was anything the cloth referenced for attached colliders)

Project now working :smile:

It also crached during importing for me (already sent the bug report), but i think cloth is also the problem with my project.
I’ll give an update when i try to re-import the project without the cloth in the project.

Getting the same error here, Unity just wont open my project. I do have some cloth objects, including one on my main player. I hope I can restore it after removal (EDIT: Nope, I can’t, just crashes again). Thanks for letting us know where to look.

I can also confirm that cloth was the cause of the crash. The project imported successfully and everything seems to be working.

I haven’t crashed yet, just seems stuck on “importing small assets.” – has not moved, with rainbow wheel, for an hour :confused:

Yup exactly that’s what was happening on mine; it’s hard locked so terminate the app and save yourself a bit of time staring at the icon :slight_smile:

You should be able to confirm by checking the Editor log (explained in the OP).

EDIT: I can confirm that rolling back to 4.2.2 quickly got me up and running again whilst we await the patch…

You can roll back and restore a project that was in the process of being upgraded to 4.3? How?

Thanks

I made a backup before the upgrade then restored when it went boom. No magic involved!

If you’re not using source control for this sort of thing, you’re just asking for trouble. That’s what it’s for. SVN is free. Hosting is very very cheap to a certain point too.

I wish there was a list of what assets are not ready for 4.3

I’m finding that my crashes seem to be do to some assets. Character System works fine but I’m having trouble finding what assets in my project or causing the crash. I might have to just start over and rebuild what I had.

I’m still happy and excited about 4,3 Just gotta get through these project upgrade issues and I will(-:

@Venged

Usually, these things are listed at the following location by the Unity team.
http://forum.unity3d.com/threads/183499-Known-issues-in-Unity

It’s a sticky topic in the support sub-forum. However this particular cloth issue (and probably some others) haven’t yet made it there.

See if the tip in the original post helps you work out what asset is causing the editor crash. It’ll be the last asset in the editor log before the “Crash!!!”.

Thanks!

Same, had a flag object with a cloth component.
Removed it from the project and 4.3 starts properly.

Decided to try to upgrade it again over night (always keep the backup!), but I do have 4.2.2 still, so that’ll work for now.

It’s certainly crashed, so I’ll have to do the OP method later to submit a report after figuring out where it goes bad, perhaps remove the section if it’s not important, as there are many assets in the project I haven’t used yet or won’t use at all.

I was also having this issue, found the bad asset with cloth in the editor log and removed it and now it’s fixed.

4.3 wouldn’t open my project, until I deleted a few random things. One of which, possibly involved cloth physics model. XD

Now I have an issue of massive performance drop on windows build. I think many other people are experiencing this. BIG problem missed by UT.

That’s also happening to me. The game runs fine in editor with 100+fps but when i run it from the build, it runs at 10fps±. Haven’t had the time to see if i could fix it though, but seems like many people are also having the same problem

The issue has been added to the known issues thread: http://forum.unity3d.com/threads/183499-Known-issues-in-Unity
If the workaround solves your problem, then there is no need to submit the crash report, but if it still crashes - make sure to report.