Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Apex Cloth Crash on set Clothing selection

The crash is 100% reproducible when setting the cloth on the material, after importing the .apx file into the mesh.

The apex file is one that uses a custom lower resolution physical mesh that is different than the graphical mesh. This is something that is built into Apex but I haven't gotten this to work in UE 4.6 from either 3dsmax or Maya.

Could someone attempt to reproduce this with my test files?

Rar contains, fbx mesh and apex cloth files. Apex and FBX files

Assertion failed: EndTotalIndex <= MapSize [k\UnrealEd\Private\ApexClothingUtils.cpp] [Line: 271]

KERNELBASE.dll!UnknownFunction (0x000007fefcb8940d) + 0 bytes [UnknownFile:0] UE4Editor-Core.dll!UnknownFunction (0x000007fec7970534) + 0 bytes [UnknownFile:0] UE4Editor-UnrealEd.dll!UnknownFunction (0x000007fec2a03654) + 0 bytes [UnknownFile:0] UE4Editor-Persona.dll!UnknownFunction (0x000007feb56c3361) + 0 bytes [UnknownFile:0] UE4Editor-Slate.dll!UnknownFunction (0x000007fec44bc691) + 0 bytes [UnknownFile:0] USER32.dll!UnknownFunction (0x0000000076b69bd1) + 0 bytes [UnknownFile:0] UE4Editor-Core.dll!UnknownFunction (0x000007fec796c566) + 0 bytes [UnknownFile:0] UE4Editor.exe!UnknownFunction (0x000000013f5bb3aa) + 0 bytes [UnknownFile:0] kernel32.dll!UnknownFunction (0x0000000076c659ed) + 0 bytes [UnknownFile:0] ntdll.dll!UnknownFunction (0x0000000076d9c541) + 0 bytes [UnknownFile:0]

Product Version: Not Selected
more ▼

asked Feb 17 '15 at 09:14 PM in Bug Reports

avatar image

5 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Randall,

I'm able to reproduce the crash with this particular file, but I've not been able to reproduce this from scratch.

I'm using 3Ds Max 2013 with PXL DCC Plugin for 3.3.2.

I was able to take your mesh, skin it, and add a new painted cloth material exported as APB instead of APX with no issue.

There may be some corruption with the APX file that is causing the issue, but I cannot test since it will only crash.

Can you try exporting the scene as a apb?

You can see my entire process with the DCC plugin in Max here: https://forums.unrealengine.com/showthread.php?56777-Photons-Be-Free-Mini-tutorials-and-other-curiosities&p=212061&viewfull=1#post212061

Let me know.


more ▼

answered Feb 19 '15 at 07:56 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 879

avatar image RandallHess Feb 19 '15 at 09:06 PM

Hi Tim, I've done the same process with Maya and 3dsmax and I tried .apb and .apx with the same crash result.

I think you are missing the main step here. If you have a high res graphical mesh you may not want to simulate all of those vertices. So you instead use a "custom" physical mesh. What I did was take a simple plane, position it to the same location as the cloth mesh and skin it to the same bones. In the tool 3dsmax or Maya, where it says "Physical" mesh you can replace it by selecting "Custom" and choosing the plane mesh. It will now simulate using the custom mesh as a guide and only simulating the vertices on that mesh while binding the graphical cloth mesh to it.

http://screencast.com/t/fumDlVsKh I have linked to a screen capture of me creating this example. Try this and see what happens on your end. Thanks!

avatar image RandallHess Feb 23 '15 at 04:30 PM

Just an update here.

It seems that the officially released Apex plugins for Maya 2015 and 3dsmax 2015 are not fully compatible with the current Apex version in Unreal. I've had interaction with someone at Nvidia/Apex and they supplied me with plugins that seem to be compatible so far with the Apex version in UE 4.6.

UE 4.6 is using Apex version 1.3.1 - APEX_ClothingGPUPROFILE_x64.dll

The plugins in Maya 2015 - Apex 1.3.2 The plugsin in 3dsmax 2015 - Apex 1.3.2

The plugins I now have for both are running Apex 1.3.1 similar to that of UE. I will report back and confirm that the crashes are gone and things are working properly.

avatar image Tim Hobson ♦♦ STAFF Feb 23 '15 at 05:20 PM

I've not had a chance to go through your capture yet. I will get a chance this week to take a better look.

PhysX and APEX are currently at 3.3.1 and 1.3.1 as you point out for 4.6 and 4.7.

PhysX and APEX 3.3.3 and 1.3.3 are in the process of being integrated. Last I talked to Ori this was going to be in the master branch (available on GitHub as 4.8) very shortly.

I use the DCC Plugins for 3.3.2/1.3.2 for Max 2013 with no issues importing assets into UE4.

I'll update once I've had the chance to dig into the clothing issue and attempted to replicate your video. (Thanks for posting that by the way!)

avatar image Tim Hobson ♦♦ STAFF Feb 24 '15 at 04:54 PM

Hi Randall,

I've been able to use the same setup as you and get the crash. I've submitted a ticket for this issues with UE-10674.

Thanks for reporting and one a fix has been submitted I will update the post here with any relevant information.


avatar image Tim Hobson ♦♦ STAFF Apr 16 '15 at 07:28 PM

Hi Randall,

I wanted to update you that this has been fixed with CL-2493547.

This will be integrated available when 4.8 releases.

Thank you!


avatar image RandallHess Apr 16 '15 at 07:32 PM

Hi Tim,

If you could mention what has been fixed that might be helpful. What Apex version will be in the 4.8 update and are you familiar with which version of the currently public tools will be compatible?


avatar image Tim Hobson ♦♦ STAFF Apr 16 '15 at 07:45 PM
  1. will have PhysX 3.3.3 and APEX 1.3.3.

This is the notes from the developer who fixed this:

" Add zeroed vert mapping for verts outside of the real sim verts mapping."

This is the extent of what I know regarding this report. I'm not familiar with any plans from NV to release an update to their dcc plugins or when that would be.

avatar image RandallHess Apr 16 '15 at 08:39 PM

Gotcha, thx!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question