Unreal getting crash with Octane while using Metahumans

Forums: Unreal getting crash with Octane while using Metahumans
Sub forum for bug reports

Moderator: ChrisHekman

Unreal getting crash with Octane while using Metahumans

Postby jitendra » Wed Jun 29, 2022 4:12 am

jitendra Wed Jun 29, 2022 4:12 am
I have Unreal Engine 5.0.2 and UE-MetaHumans 5.0 Plugin and Sample Project.

The moment I am loading Octane (latest version OctaneStudio0_53_UE5_0) it is generating error while loading the scene and textures.

LoginId:7c1b41da4486edc3542ab698d1685416
EpicAccountId:18d5f77a62ce4ec48a168866af27b389

Assertion failed: Index >= 0 && Index < CurrentScopeChunks->Num() [File:D:\GIT\UnrealPlugin\OctaneUnreal\Plugins\OctanePlugin\Source\OctanePlugin\Private\Octane\Objects\MaterialTranslator\OSLMaterialTranslator.h] [Line: 1291] Index -1/401, Platform=0

UnrealEditor_OctanePlugin


Please help.
Jitendra
Best Regards, Jitendra
jitendra
Licensed Customer
Licensed Customer
 
Posts: 140
Joined: Sat Oct 16, 2010 6:09 am

Re: Unreal getting crash with Octane while using Metahumans

Postby hoseinbash » Sat Jul 02, 2022 1:09 pm

hoseinbash Sat Jul 02, 2022 1:09 pm
open up your scene, and get rid of the metahuman in your level outliner (simply delete the metahuman from your level before you let octane load itself)
then go and open the blueprint of your metahuman and delete all the hair objects (including hair, brows, lashes and peachfuzz)
compile and save, and then drag your MH in the scene and let Octane load everything, you won't face a crash probably.

the problem is, I assume, with the OSL translator of the custom metahuman hair materials, which it cannot properly translate.
a workaround is to create instances of the material named "hairDefaultMaterial" and then assign it to all hair components in your metahuman blueprint.
hoseinbash
 
Posts: 3
Joined: Thu Mar 11, 2021 10:57 am

Re: Unreal getting crash with Octane while using Metahumans

Postby jitendra » Mon Jul 04, 2022 1:46 am

jitendra Mon Jul 04, 2022 1:46 am
Thank you. I will try and will post the results here.
Best Regards, Jitendra
jitendra
Licensed Customer
Licensed Customer
 
Posts: 140
Joined: Sat Oct 16, 2010 6:09 am

Re: Unreal getting crash with Octane while using Metahumans

Postby ChrisHekman » Mon Jul 04, 2022 11:20 am

ChrisHekman Mon Jul 04, 2022 11:20 am
Thanks for the report. Ill check out the crash in the sampleproject.

While we are getting close to supporting all the sub-elements for metahumans, they are still not fully supported yet. This crash should not be happening though.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Unreal getting crash with Octane while using Metahumans

Postby jitendra » Mon Jul 04, 2022 1:32 pm

jitendra Mon Jul 04, 2022 1:32 pm
Thank you ChrisHekman.
We look forward to having it fixed.
Best Regards, Jitendra
jitendra
Licensed Customer
Licensed Customer
 
Posts: 140
Joined: Sat Oct 16, 2010 6:09 am

Re: Unreal getting crash with Octane while using Metahumans

Postby ChrisHekman » Tue Jul 12, 2022 1:43 pm

ChrisHekman Tue Jul 12, 2022 1:43 pm
This crash has been fixed, and will be part of the next build.

However, the underlying material (MI_Hair1) that causes the crash will not convert properly to Octane.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Unreal getting crash with Octane while using Metahumans

Postby jitendra » Wed Jul 13, 2022 7:24 am

jitendra Wed Jul 13, 2022 7:24 am
I have checked with updated version [OctaneStudio0_54_UE5_0]

But still facing same crashing issue.


I have changed all hair materials to material instance of "hairDefaultMaterial" and load octane viewport. This time it didn't crashed but the face skin material was changed to default black material and eyes are not present in viewport. Attaching screenshot of that, too.

LoginId:7c1b41da4486edc3542ab698d1685416
EpicAccountId:d530f5d93bf64670825e41756863451d

Assertion failed: Index >= 0 && Index < CurrentScopeChunks->Num() [File:D:\GIT\UnrealPlugin\OctaneUnreal\Plugins\OctanePlugin\Source\OctanePlugin\Private\Octane\Objects\MaterialTranslator\OSLMaterialTranslator.h] [Line: 1334] Index -1/401, Platform=0

UnrealEditor_OctanePlugin
dcomp
Attachments
Compared.png
Best Regards, Jitendra
jitendra
Licensed Customer
Licensed Customer
 
Posts: 140
Joined: Sat Oct 16, 2010 6:09 am

Re: Unreal getting crash with Octane while using Metahumans

Postby ChrisHekman » Wed Jul 13, 2022 8:56 am

ChrisHekman Wed Jul 13, 2022 8:56 am
jitendra wrote:I have checked with updated version [OctaneStudio0_54_UE5_0]

But still facing same crashing issue.


I have changed all hair materials to material instance of "hairDefaultMaterial" and load octane viewport. This time it didn't crashed but the face skin material was changed to default black material and eyes are not present in viewport. Attaching screenshot of that, too.

LoginId:7c1b41da4486edc3542ab698d1685416
EpicAccountId:d530f5d93bf64670825e41756863451d

Assertion failed: Index >= 0 && Index < CurrentScopeChunks->Num() [File:D:\GIT\UnrealPlugin\OctaneUnreal\Plugins\OctanePlugin\Source\OctanePlugin\Private\Octane\Objects\MaterialTranslator\OSLMaterialTranslator.h] [Line: 1334] Index -1/401, Platform=0

UnrealEditor_OctanePlugin
dcomp



Sorry, I meant the next build, as in the upcomming build we will be releasing shortly.

Metahuman materials use a couple of material nodes we dont support yet - which break the skin material.
And the eyes have a thing layer material on top of that that is also not supported yet, which causes the eyes to become black.
We are working on supporting these.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Unreal getting crash with Octane while using Metahumans

Postby jitendra » Sat Jul 23, 2022 6:38 am

jitendra Sat Jul 23, 2022 6:38 am
Downloaded the latest update [OctaneStudio0_55_UE5_0].

It is great to see that there is no crashing issue.

Still problem with face skin material and eye material of Metahumans.

Is there any way to fix this face skin and Eye material problem in current version[OctaneStudio0_55_UE5_0]?
Best Regards, Jitendra
jitendra
Licensed Customer
Licensed Customer
 
Posts: 140
Joined: Sat Oct 16, 2010 6:09 am

Re: Unreal getting crash with Octane while using Metahumans

Postby ChrisHekman » Sat Jul 23, 2022 8:34 pm

ChrisHekman Sat Jul 23, 2022 8:34 pm
jitendra wrote:Downloaded the latest update [OctaneStudio0_55_UE5_0].

It is great to see that there is no crashing issue.

Still problem with face skin material and eye material of Metahumans.

Is there any way to fix this face skin and Eye material problem in current version[OctaneStudio0_55_UE5_0]?


You will need to replace the Custom Nodes that failed to convert in the skin and eye material. You should be able to see which nodes dont work in the unreal logs.
Atleast a couple of the Custom Nodes dont work.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm
Next

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 1 guest

Thu Apr 18, 2024 1:44 pm [ UTC ]