# Unreal crashes when trying to reopen project after importing a vray-scene with some meshes having more than 8 supported mapchannels.

**URL:** <https://forums.chaos.com/t/unreal-crashes-when-trying-to-reopen-project-after-importing-a-vray-scene-with-some-meshes-having-more-than-8-supported-mapchannels/98102>\
**Category:** V-Ray for Unreal :: Issues\
**Created:** [April 17, 2020, 9:54am UTC](https://forums.chaos.com/t/unreal-crashes-when-trying-to-reopen-project-after-importing-a-vray-scene-with-some-meshes-having-more-than-8-supported-mapchannels/98102 "2020-04-17T09:54:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert1977](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@Robert1977](https://forums.chaos.com/u/Robert1977)\
**Post date:** [April 17, 2020, 9:54am UTC](https://forums.chaos.com/t/unreal-crashes-when-trying-to-reopen-project-after-importing-a-vray-scene-with-some-meshes-having-more-than-8-supported-mapchannels/98102/1 "2020-04-17T09:54:53Z")

</div>

When importing the mesh of a galley into unreal, 3 meshes give the following error message:

mesh … has more than the supported 8 map channels.

The scene works fine, but when I close and save it and try to reopen it, it crashes, so I have to delete the content in the folder and then reopen the project.  
The mesh has a vraymaterial with just mapchannel 1 and 3 occupied, but I assume there might be a map channel in the mesh somewhere that is not used.

Edit: Unfortunatelity the meshes throwing the error are not the issue. Something else seems to be wrong, not sure what it is.

Thank you. Really impressive this plugin.

Robert

---

<div class="post-metadata">

**Author:** ![Robert1977](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@Robert1977](https://forums.chaos.com/u/Robert1977)\
**Post date:** [April 17, 2020, 10:07am UTC](https://forums.chaos.com/t/unreal-crashes-when-trying-to-reopen-project-after-importing-a-vray-scene-with-some-meshes-having-more-than-8-supported-mapchannels/98102/2 "2020-04-17T10:07:52Z")

</div>

![screenshot.PNG](https://europe1.discourse-cdn.com/chaosprd/original/3X/2/3/23123d11079a43d5498615a59c060f780739fc3c.png)  
Screenshot from log window after importing.

---

<div class="post-metadata">

**Author:** ![Alexander.Atanasov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/alexander.atanasov/32/2528_2.png) [@Alexander.Atanasov](https://forums.chaos.com/u/Alexander.Atanasov)\
**Post date:** [April 21, 2020, 6:42am UTC](https://forums.chaos.com/t/unreal-crashes-when-trying-to-reopen-project-after-importing-a-vray-scene-with-some-meshes-having-more-than-8-supported-mapchannels/98102/3 "2020-04-21T06:42:04Z")

</div>

Hi Robert

I cannot seem to reproduce the issue on my end. Can you please send the content of _ **PROJECT\_NAME/Saved/Crashes** _ and **_PROJECT\_NAME/Saved/_** _ **Logs** _ folders, **KernelBase.dll** and **ntdll.dll** located in _ **C:\Windows\System32** _ and/or Test project/scene that reproduces the problem.

Best regards,  
Alexander

---

<div class="post-metadata">

**Author:** ![Robert1977](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@Robert1977](https://forums.chaos.com/u/Robert1977)\
**Post date:** [April 22, 2020, 1:36pm UTC](https://forums.chaos.com/t/unreal-crashes-when-trying-to-reopen-project-after-importing-a-vray-scene-with-some-meshes-having-more-than-8-supported-mapchannels/98102/4 "2020-04-22T13:36:39Z")

</div>

I have solved this. The issue were hidden faces on the edit-mesh-modifier on some objects in Max. The faces were hidden by us accidentally or by a former script. The objects were properly imported into Unreal, but on next opening, Unreal crashed.  
I have implemented a small script that unhides all hidden faces with the meshop.functions.  
I will try to put the information that you requested, together and send it to you.

This is the line of code for maxscript to fix the issue prior export:

for o in $ do meshop.setHiddenFaces o #{}
