Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi,

Thank you for your quick reply.

I'm using Unreal Engine 5.7.4, and I'm currently using Toon Shader version 1.3.1. I also tried a few other versions just in case, but the same issue occurred in all of them.

From what I can tell, the parent material (MM_CellShader_Standard) doesn't seem to have any problems. The issue only affects the face and body materials.

As you suggested, I increased the Search Reference Depth to 5 in the Reference Viewer and also checked the Sampler Type. It is already set to Masks.

If there is any additional information, logs, or screenshots that would help you identify the issue, please let me know. I'd be happy to provide them.

Thank you again for your help!



 

Hi,

I think I have an idea of what's happening, although I'm not sure how your engine ended up in this state.

In the Reference Viewer for T_DefaultMaskTexture, I noticed it is being referenced by DefaultTexture (the redirector, not the actual texture). Redirectors are commonly created when an asset is moved, so Unreal leaves a reference behind to preserve existing links, or when an asset is deleted and its references are redirected to another asset. My guess is that the engine's DefaultTexture was somehow deleted, moved, or replaced, and its references ended up pointing to T_DefaultMaskTexture, which isn't suitable for that texture slot.

In my project, only the skin materials on my model use a diffuse/base color texture, since they're the only materials with painted color. That would explain why only those materials are rendering incorrectly.

To confirm this, could you try unchecking the Use Diffuse switch in one of the affected material instances? I'm fairly confident the compilation error will disappear if that's the cause.

For reference, the engine's DefaultTexture should look like this:



I think it's worth restoring that texture to avoid any future issues. One thing you can try is verifying your Unreal Engine installation. In the Epic Games Launcher, click the arrow next to the Launch button for your engine version and choose Verify. This will check the integrity of the engine files and should restore the original DefaultTexture if it has been modified or replaced.