# Xcode 6.1.1 + Unreal 4.2.1 + Crashes Constantly

**URL:** <https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754>\
**Category:** Platform & Builds\
**Tags:** getting-started-with, unreal-engine, crash, question\
**Created:** [February 22, 2015, 11:26pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754 "2015-02-22T23:26:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon62191538](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon62191538](https://forums.unrealengine.com/u/anon62191538)\
**Post date:** [February 22, 2015, 11:26pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/1 "2015-02-22T23:26:06Z")

</div>

Hey guys,

I’ve recently installed Unreal Engine 4.2.1 on my OSX partition and am trying to get a project going. However, something seems to be amiss. I can compile and launch editor from XCode, but if I try to save, or import (those are only actions I’ve tried so far) Unreal Editor engines.

Here’s a partial piece of output log:

```
Will attempt to recover by breaking constraint 
<NSAutoresizingMaskLayoutConstraint:0x608000480140 h=-&- v=-&- V:[FI_TListView:0x118d50680]-(17)-| (Names: '|':NSClipView:0x12e7042b0 )>

Set NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens. And/or, break on objc_exception_throw to catch this in debugger.
[2015.02.22-23.22.20:714][90]LogFactory: FactoryCreateBinary: StaticMesh with FbxFactory (0 0 /Users/fryedrycestyle/Documents/ship.fbx)
[2015.02.22-23.22.20:749][90]LogFbx: ItemName: GlobalSettings, ItemCount : 1
[2015.02.22-23.22.20:749][90]LogFbx: ItemName: Geometry, ItemCount : 1
[2015.02.22-23.22.20:750][90]LogFbx: ItemName: Model, ItemCount : 1
[2015.02.22-23.22.20:750][90]LogFbx: ItemName: Material, ItemCount : 1
/Users/build/BuildFarm/build_++depot+UE4-Releases+4.2/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLViewport.cpp(201): Assertion failed: PlatformOpenGLCurrentContext(OpenGLRHI->PlatformDevice) == CONTEXT_Shared

```

This particular one is from when I try to import an fbx.

I also noticed this:

> UE4Editor-Core.dylib`FDebug::AssertFailed(char const\*, char const\*, int, wchar\_t const\*, …):

What could be causing this, and what have people done in past to solve it? Also apologies if something like this has been posted already. -.-

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [February 23, 2015, 7:59pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/2 "2015-02-23T19:59:21Z")

</div>

Hey fryedrycestyle,

I’m going to start looking into this, but you’re using an awfully old version of engine at this point, and anything I find will likely already be fixed in a newer version. Have you attempted using 4.6.1? 4.7.0 should be out soon as well, so you can look into 4.7 Preview 8 if you’re interested. Both of those should run substantially better and have many fewer issues than 4.2.1 when running on Yosemite (10.10).

---

<div class="post-metadata">

**Author:** ![anon62191538](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon62191538](https://forums.unrealengine.com/u/anon62191538)\
**Post date:** [February 23, 2015, 8:07pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/3 "2015-02-23T20:07:23Z")

</div>

Yeah, I was hoping to upgrade but I actually don’t have $20 at moment to resubscribe at moment, but I’ll try and see if I can get some money on my card to get a newer version. Failing that though, it would be awesome if there’s a fix!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [February 23, 2015, 8:09pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/4 "2015-02-23T20:09:35Z")

</div>

Ah, that’s totally understandable. In that case, let me look into it today/tomorrow and see if I can find a workaround for you so you don’t have to upgrade until you’re ready. I’ll let you know what I find!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [February 23, 2015, 11:33pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/5 "2015-02-23T23:33:19Z")

</div>

Okay, I installed 4.2.1 from Launcher and started a new C++ blank project. It compiled and ran without any issue. Saving map didn’t cause a crash, nor did importing an FBX. I played around in editor for a bit, adding things to level, etc, saving every couple seconds, and still didn’t crash.

So let’s take a look at your logs. Can you and attach logs folder from project? You can find them here:

~Library/Logs/Unreal Engine/[YourProjectName]Editor

Library is hidden by default. To access it, open a Finder window and open Go drop-down menu. Hold down Option key, and Library should appear.

Any other details you can provide that might help me reproduce it would be great. Thanks!

---

<div class="post-metadata">

**Author:** ![anon62191538](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon62191538](https://forums.unrealengine.com/u/anon62191538)\
**Post date:** [February 24, 2015, 2:55am UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/6 "2015-02-24T02:55:10Z")

</div>

Okay, see attached. link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [February 25, 2015, 8:04pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/7 "2015-02-25T20:04:16Z")

</div>

Hey fryedrycestyle,

There should be a .log file in location I specified. What you attached looks truncated, so I’m not sure if it’s missing what I need to see.

My suspicion, though, is that it didn’t install correctly. Have you attempted redownloading/rebuilding? Does it work if you use binary version through Launcher?

I send you a PM on forums as well. Please check that and if it helps, we’ll close out this issue. Thanks!

---

<div class="post-metadata">

**Author:** ![anon62191538](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon62191538](https://forums.unrealengine.com/u/anon62191538)\
**Post date:** [February 25, 2015, 8:09pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/8 "2015-02-25T20:09:47Z")

</div>

Okay so I’ll try reinstalling and see what happens, I just checked my forums pm and didn’t see anything so I assume you haven’t sent it yet? Either way I’ll check again later, and report back once I’ve reinstalled engine! Thanks again!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [February 25, 2015, 8:12pm UTC](https://forums.unrealengine.com/t/xcode-6-1-1-unreal-4-2-1-crashes-constantly/307754/9 "2015-02-25T20:12:07Z")

</div>

Yep, sorry… just sent =)
