# Apex not working on multiple materials since 4.8

**URL:** <https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506>\
**Category:** Rendering\
**Tags:** APEX, UE4-10, apex-clothing, unreal-engine, UE4, question\
**Created:** [August 21, 2015, 7:06pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506 "2015-08-21T19:06:26Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![DylanBrady](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DylanBrady](https://forums.unrealengine.com/u/DylanBrady)\
**Post date:** [August 21, 2015, 7:06pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/1 "2015-08-21T19:06:26Z")

</div>

Hi, we have had APEX working before updating to 4.8, but afterwards we are getting an issue with skeletal meshes that have multiple materials. We have even reimported the same mesh and it has this problem though the source asset is exactly the same as what worked in 4.7.

 ![55203-maxview.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/9/709a360ae083796df8976573f2ab442cbea6b244.jpeg)

 ![55204-ue4view.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/2/4b20efc0f9e99982ca2eb09cd75139c13726ff15.jpeg)

The issue is essentially that any meshes with multiple materials applied will only render the first material ID (submesh 0)

Any other materials will not appear.  
This happens on our simple test case shown above, as well as the asset we discovered this issue (a cloak)

I have looked for solutions but cant find anything about it recently.

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [September 25, 2015, 9:58pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/2 "2015-09-25T21:58:27Z")

</div>

I’ve bumped into this problem today. I need to have a transparent peace of cloth collide with an opaque one. So, I need to do a single mesh, but with two shaders. And it happens the same that’s happening to you.

Epic, has this been fixed in 4.9? I can’t test yet because of a plugin that’s only working on 4.8 so far.

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [September 30, 2015, 1:34am UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/3 "2015-09-30T01:34:35Z")

</div>

The plugin was updated for 4.9 and I tested the multi-material cloth. Still not working.

---

<div class="post-metadata">

**Author:** ![DylanBrady](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DylanBrady](https://forums.unrealengine.com/u/DylanBrady)\
**Post date:** [October 15, 2015, 10:26pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/4 "2015-10-15T22:26:16Z")

</div>

Ive now tried setting up cloth in maya 2014, and 2012, max 2014, aswell as setting up cloth in the proprietary clothing tool nvidia puts out.  
it all has the same result. every material ID becides the first one doesnt render ingame.

Can we get anyone to look at this? I can upload my test asset if that helps.

---

<div class="post-metadata">

**Author:** ![DylanBrady](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DylanBrady](https://forums.unrealengine.com/u/DylanBrady)\
**Post date:** [October 18, 2015, 11:30pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/5 "2015-10-18T23:30:26Z")

</div>

Ok sorry to keep bumping this but I have created a simple test asset that is giving me twofold issues. here is a picutre.  
[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/0/e5034b90436cc755e7ce86613705ab3042ed2f68.jpeg) ](https://dl.dropboxusercontent.com/s/wi3yctvswj4kit6/image.JPG?dl=0)

Could someone try importing these assets on their end and setting up cloth on it? heres is a dropbox link

> **[Apex\_Test.rar](https://www.dropbox.com/s/bh9coandodk416q/Apex_Test.rar?dl=0)**
>
> Shared with Dropbox

Edit: as you will note in that picture theres also some stretched vertices that seem to be related to this issue [Apex Cloth from Maya turns into a stretched cone downwards when put in game? - World Creation - Unreal Engine Forums](https://answers.unrealengine.com/questions/298645/apex-cloth-from-maya-turns-into-a-stretched-cone-d.html)  
the person in that situation fixed the problem by using maya 2012 however as I said that didnt affect my issue.

---

<div class="post-metadata">

**Author:** ![DylanBrady](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DylanBrady](https://forums.unrealengine.com/u/DylanBrady)\
**Post date:** [October 26, 2015, 3:10pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/6 "2015-10-26T15:10:47Z")

</div>

> **[Multiple Materials on Apex Destructible Mesh?](https://forums.unrealengine.com/questions/25131/multiple-materials-on-apex-destructible-mesh.html)**
>
> In Physx Lab I have two materials applied to the destructible mesh, but when I export the asset and import into UE4 it only has one material slot. Is it possible to import an Apex Destructible Mesh from Physx Lab with multiple materials on it?

Found this issue where the answer seems to be that its a known bug and is being worked on?

---

<div class="post-metadata">

**Author:** ![DylanBrady](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DylanBrady](https://forums.unrealengine.com/u/DylanBrady)\
**Post date:** [November 12, 2015, 3:49pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/7 "2015-11-12T15:49:00Z")

</div>

updating to say I tried out two of my old test assets and made a new one to test in 4.10 and had the exact same result. so This isn’t addressed yet

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [November 12, 2015, 11:20pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/8 "2015-11-12T23:20:33Z")

</div>

Hi Dylan,

Sorry this one seems to have been overlooked apparently. If you ever find yourself with something like this where it worked in a specific version and then didn’t in the next, this would be considered a regression unless there was a specific change that was meant to do that, which is usually detailed in the release notes. In that event, make sure to post it in the bug reports section of AnswerHub and we can make sure a tech is assigned to verify and submit a ticket.

I was able to reproduce this and confirm that it was working in 4.7. I have submitted UE-23300 for this to be investigated.

Once there is an update to the ticket and any relevant information to pass along I’ll post back here.

Thank you!

Tim

---

<div class="post-metadata">

**Author:** ![Kartiks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kartiks](https://forums.unrealengine.com/u/Kartiks)\
**Post date:** [November 24, 2015, 8:27pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/9 "2015-11-24T20:27:08Z")

</div>

Hi Tim. We have verified the change that broke APEX for us is CL 2493547.

There is some discussion about the change here [https://answers.unrealengine.com/questions/174392/apex-cloth-crash-on-set-clothing-selection.html](https://answers.unrealengine.com/questions/174392/apex-cloth-crash-on-set-clothing-selection.html)  
We don’t get the crash mentioned in that thread so we reverted 2493547. We are on 4.9.2

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [November 24, 2015, 8:31pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/10 "2015-11-24T20:31:27Z")

</div>

Will this reversion be on 4.10.1? I’m on a project full of workarounds because of this bug. I’d really appreciate to have it solved on the next hotfix.

Thanks, Kartiks!

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [November 24, 2015, 9:28pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/11 "2015-11-24T21:28:32Z")

</div>

It’s very timely that you posted.

I just finished syncing the build that has this fixed. However, I cannot guarantee this will be pushed out in any HotFixes. That is left up to the developers who integrated the change and how significant a change it is. Some changes cannot be merged as a hotfix unfortunately.

At the moment, my best guess would be that it will be rolled into 4.11 at the earliest.

---

<div class="post-metadata">

**Author:** ![Kartiks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kartiks](https://forums.unrealengine.com/u/Kartiks)\
**Post date:** [November 24, 2015, 9:45pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/12 "2015-11-24T21:45:50Z")

</div>

I spoke too soon. Reverting 2493547 does not help.

Tim could you provide the CL that fixes this? We can integrate it manually

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [November 24, 2015, 10:19pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/13 "2015-11-24T22:19:07Z")

</div>

Hi Kartiks,

The CL is 2766528.

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [March 31, 2016, 6:37pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/14 "2016-03-31T18:37:33Z")

</div>

In 4.11 release notes:

**Bugfix: Cloth was not rendering correctly when cloth assigned to multiple materials**

Would this be this thread’s solution?! 😃  
I’m asking because we had to use a workaround for months on a project and this would solve it for good.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [March 31, 2016, 6:55pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/15 "2016-03-31T18:55:39Z")

</div>

That’s the bug that was fixed with CL-2766528 reported with this post.

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [April 1, 2016, 11:06pm UTC](https://forums.unrealengine.com/t/apex-not-working-on-multiple-materials-since-4-8/329506/16 "2016-04-01T23:06:58Z")

</div>

Awesome! Thanks, guys!
