# 4.10.2 - imported mesh causing iOS build to crash

**URL:** <https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947>\
**Category:** World Creation\
**Tags:** mesh-import, crash-on-launch, unreal-engine, iOS, meshes, projectile, question\
**Created:** [January 22, 2016, 2:50pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947 "2016-01-22T14:50:44Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [January 22, 2016, 2:50pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/1 "2016-01-22T14:50:44Z")

</div>

hey folks,

I have this strange bug when building for iOS. Works pretty flawlessly overall, until I include one mesh in particular. It’s an extremely simple capsule mesh that I’m slightly scaling in a blue print which is a visual for our ammo. I have two versions of this ammo mesh. One that’s three planes crossing each other which works great but creates overdraw. Then I have another mesh which is a solid capsule mesh to remove that overdraw cost. For some reason this second mesh is causing the game to crash on my device.

So basically I have two questions - is there any way to profile a game live from a device to see what’s going on and two - are there any known limitations to importing mesh objects when they’re to be used with iOS?

FYI - this is not the only mesh I’ve imported. It’s the only one giving me a problem.

thank you in advance!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 1, 2016, 6:17pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/2 "2016-02-01T18:17:59Z")

</div>

Hey Floggins,

Could you provide me with some screenshots of your mesh, or the triangle/poly/vert count of the mesh you are experiencing issues with?

I am sure you aren’t exceeding the count, but just for your own insight we have some mesh limitations in place for mobile devices. All mesh types can have up to 65k vertices due to the lack of 32 bit index support on mobile hardware.

**Content Creation- Mobile Platforms**

[https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Content/index.html](https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Content/index.html)

If you are able to bring up the console command, there are a few console commands you could use to debug things like mesh draw count and simple stats. Try ‘stat unit’ and ‘stat scenerendering’ to get some statistics on your project.

Let me know if you have further questions.

Thanks,

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [February 1, 2016, 7:22pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/3 "2016-02-01T19:22:33Z")

</div>

Hi Andrew,

unfortunately the game never gets to that point. I get the splash screen and then it crashes before the level shows up, I imagine when it gets to the point of loading that data.

I did notice something interesting though - I decided to check in my data and do a build of the same data from my Mac to see if it would work. My guess was that Windows Unreal was just not building the asset properly for iOS. Sure enough, the build worked just fine. Curiously enough though, I created a new mesh with the same issue and same fix when built from OSX. Could this be an issue with how my FBX from Maya 2016 is being read in and built in either OS? Or is there a particular setting that needs to be set for iOS usage (that I may have set without knowing it with the other objects I have that worked)?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 1, 2016, 7:32pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/4 "2016-02-01T19:32:49Z")

</div>

Try setting your .FBX file version type to 2014 or 2015 as this is the version we use and what we have found to be most compatible. I would say, I know you are working with perforce and alternating between Mac and PC which might be causing issues in itself.

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [February 1, 2016, 7:40pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/5 "2016-02-01T19:40:01Z")

</div>

I’m still unsure why that would cause issues though. I’m not syncing the built data, only imported uassets - which I guess could be part of the issue, but shouldn’t that be a bug if it was true? I mean, Unreal is created and sold as multi-platform game dev after all.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 1, 2016, 8:34pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/6 "2016-02-01T20:34:21Z")

</div>

Do you have the crash logs and repro steps from the crash so I can investigate this issue further?

Please take a look at the **[How to Report a Bug](https://forums.unrealengine.com/showthread.php?29-How-to-report-a-bug)** post to get an idea of the information we will need and how to properly provide it to us.

Thanks,

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [February 1, 2016, 8:45pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/7 "2016-02-01T20:45:56Z")

</div>

unfortunately no, because it only crashes on the device. That’s why I was asking if there was a way to generate a log from the console.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 1, 2016, 9:10pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/8 "2016-02-01T21:10:57Z")

</div>

What kind of device are you deploying to?

Take a look at this Troubleshooting Guide below for Mobile.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [February 1, 2016, 10:05pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/9 "2016-02-01T22:05:36Z")

</div>

iPhone 6

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [February 2, 2016, 3:07am UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/10 "2016-02-02T03:07:58Z")

</div>

Hi Andrew, so it turns out that I’m already exporting using FBX 2014/2015 within Maya 2016.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 2, 2016, 3:54pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/11 "2016-02-02T15:54:26Z")

</div>

Could you provide me with the .FBX file so I can test it on my end?

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [February 3, 2016, 12:55pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/12 "2016-02-03T12:55:24Z")

</div>

there you go -

> **[Dropbox - File Deleted](https://www.dropbox.com/s/en4cozutw4ntf42/VFX_BeamMesh_01.fbx?dl=0)**
>
> Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!

btw - I imported another mesh with the same results. Build crashes on the device when built from my pc but works fine when built from my mac.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 3, 2016, 7:56pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/13 "2016-02-03T19:56:05Z")

</div>

I have looped in some other teammates to confirm this mesh causes a crash when packaged from PC to the device, since we do not have the iPhone 6 at this particular location.

Was the mesh originally imported into the project from the Mac, and was the project then synced to perforce from which you packaged and built to the device via the PC?

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [February 3, 2016, 8:14pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/14 "2016-02-03T20:14:22Z")

</div>

It was created and imported on PC. Then I checked it in p4 on that same machine. This results in the build crashing on the device. I checked in to see what would happen when building from the MAC. Synced up the project in p4 and did a build from there that worked just fine. I’m syncing builds at all. I’m building from the platform itself.

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [February 4, 2016, 4:36am UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/15 "2016-02-04T04:36:35Z")

</div>

So I decided to go back to exporting FBX 2016 on my pc with one of my problematic meshes, and this time around it worked. I’ll keep doing tests to see what’s going on and keep you posted.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 4, 2016, 2:22pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/16 "2016-02-04T14:22:14Z")

</div>

This seems to be a project specific issue that is somewhat difficult to track down. If you find new information, I would be glad to help.

---

<div class="post-metadata">

**Author:** ![Floggins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Floggins](https://forums.unrealengine.com/u/Floggins)\
**Post date:** [March 2, 2016, 3:11pm UTC](https://forums.unrealengine.com/t/4-10-2-imported-mesh-causing-ios-build-to-crash/344947/17 "2016-03-02T15:11:00Z")

</div>

Just wanted to put an update here -

So I got the problem again, and after some trial and error it seems that the solution to his has nothing to do with FBX at all and everything to do with the “saved” folder in the project. Something’s going on in there that causes assets to not build properly. It looks like it’s an error with when it builds the nav meshes. Some assets create errors (in my case - cooking errors). When I get the problem now, i delete that folder and everything works again.
