Skip to main content

Troubleshooting

Look up your symptom as it is. Most of the time there is one cause. If a higher value is 0 or off, every value below it is ignored.

Installation · Conversion · Shadows · Depth effects · Outline · Face · VRChat · WARUDO · Performance · Bake and restore

The All Effects switch at the top of the inspector with a section master toggle below it

No value has any effect​

Check in order from the top.

  1. Turn on All Effects. While it is off, every section is disabled.
  2. Turn on that section's master toggle. While it is off, Quick Settings appends (Module Off).
  3. Raise that feature's higher value from the table below.
What is missingThe higher value to check first
Base tintTint Blend Strength
The whole surface is too transparent or too opaqueBase Map Opacity
Depth Rim Light · Depth ShadowMaster Width, then each module's intensity
PBR highlights and environment reflectionsSpecular Intensity
Extra texture layersSurface Stack Layer Count
Normal map layersNormal Layer Count
MatCap layersMatCap Layer Count
The shadow boundary bandBoundary Width, then Boundary Intensity
Shadow patternPattern Intensity
Face normal correctionProxy Normal Intensity
Face area maskMask Intensity. At 0 the whole material counts as face
Channel settings of the PBR packed maskUse Packed Mask
Cast shadow brightness and blendingReceive Intensity
Alpha maskIt is invisible even when on if the surface mode is Opaque (2000)

Installation​

Materials look pink (magenta)​

CauseAction
Render pipeline mismatchSwap to the matching backend shader
Below shader model 4.5Run StudioRaming > MingToon > Validate Project. PC only is supported
URP version out of rangeMatch Unity 2021.3 + URP 12.x
In this case no error message appears at all

The whole SubShader drops out, so the log stays quiet. Pink is the only signal.

Validate Project flags the Unity version​

CodeWhen it appearsMeaning
MING-ENV-UNITY-VERSION (error)The editor is neither 2021.3 nor 2022.3An unsupported stream
MING-VRC-UNITY-VERSION (warning)The VRC SDK is present but it is not 2022.3This project has no avatar upload support
MING-ENV-BUILD-TARGET (error)The build target cannot meet shader model 4.5Android, Quest, iOS, WebGL. Switch back to Windows

2022.3.22f1 is a fully supported version, so nothing is flagged. → Validate Project Codes

I switched the render pipeline and every material broke​

The switch dialog converts the project's MingToon materials to the matching backend in bulk. If you miss the dialog, you can run it again from the warning in the material inspector.

Why the switch is blockedAction
The material is contained in another assetExtract it from the sub-asset
The material is inside a read-only packageCopy it outside the package
The material is read-only or not checked outClear read-only or check it out

Materials in closed scenes and AssetBundles cannot be inspected. Open them separately and convert.

Conversion​

The look differs from the source after conversion​

Read the lossy and unsupported items in the conversion log first. Then compare mask channels and inversion, and texture Tiling and Offset. Also check that AO, surface mode, and the face material decision match the source. → Reading the Conversion Report

Conversion or baking fails​

MessageAction
No convertible material slots were foundCheck where MingToon Manager sits, then Refresh Child Renderers
The MingToon source shader was not foundThe installation is incomplete. Reimport the package
The generated shader could not be importedCheck write permission on the project folder and retry
The generated shader has a compile errorCheck that the MingToon include folder is in its original path
Multiple MingToon Managers are selectedSelect only one at a time

Shadows​

Only the overlapping areas are pure black​

Turn on Enable Unified Shadow in the Shadow Color section. Form, cast, and depth shadows collapse into one color. → Light and Shadow

It is normal for individual shadow colors to stop working after you turn it on. The values remain, so turning it off brings them back.

Cast shadows are blotchy​

LocationAction
Cloth folds and the body in generalTurn on Suppress Self Cast Shadow and set Self Shadow Caster Bias between 0.01 and 0.03
The boundary is stair-steppedTurn on Enable Projection Feather and adjust Projection Feather Radius · Projection Feather Intensity
Shimmering overallCheck the light's shadow map resolution, bias, and cascades in that order
A character shape overlaps the body in backlightTurn on Suppress Backlit Silhouette
Feathering cannot bring back information that is not there

Detail that was never in a low-resolution shadow map does not return when you soften it.

No shadow pattern is printed at all​

CauseAction
Use Shape Tile is on but the tile slot is emptyAn empty slot reads as white, and no density can cross white. Use a bundled tile
Pattern Intensity is 0Raise it
The target does not matchCheck Pattern Target
Dots do not react to tone and stay the same sizeYou loaded a binarized dot picture. A tile must be a threshold map

The character crushes to black in a dark world​

Raise Preserve Base Map Color, Minimum Final Brightness, Indirect Light Lift, and Cast Indirect Lift in that order. If it blows out to white in a bright world, lower Maximum Final Brightness.

Depth effects​

Depth Rim Light or Depth Shadow is not visible​

CauseAction
All Effects or Depth Effects is offThe inspector shows a button to turn it on
Master Width is 0Raise it
Each module's intensity is 0Raise it
The surface mode is Transparent (3000)Change it to Semi-Transparent (2499)
Camera Depth Contribution is offTurn it on
The ordinary VRChat screenAn avatar cannot force it → VRChat
URPInstall the Renderer Feature and enable Depth Texture
WARUDOInstall the Depth Bridge → Warudo

If the inspector says the depth texture is not ready, follow that guidance. If raising SSAO Radius does not widen it, you have hit the limit. The range is 0.001 to 0.05 m.

Only the inner outline disappeared​

Enable Inner Depth Edge is in the Inner Outline section. That section is inside the Screen-space Effects group.

CauseAction
Apply to Inner Outline is on and the vertex color is blackTurn the toggle off, or change Pressure Source
The surface mode is Transparent (3000)Change it to Semi-Transparent (2499)
No camera depthSee the item above

The normal outline is drawn without depth. If only the normal outline is visible, the problem is depth.

Hair shows through the cheek​

Change the surface mode to Semi-Transparent (2499). This mode blends alpha while still writing depth.

Transparent Depth Prepass is for Transparent (3000) only. Turning it on in Semi-Transparent (2499) changes nothing.

Outline​

The whole normal outline disappeared​

CauseAction
The vertex color is black and Pressure Source is VertexRedChange the pressure source or check the vertex color
Pressure Contrast is 0Pressure is ignored completely. Raise it
Color Mask is 0Return it to 15
Outline Master is offTurn it on. The inner outline uses this gate too

The outline breaks at sharp corners​

Normal Source is VertexColorTS or UV8TS on a mesh with no baked smoothed outline normals. Change it to MeshNormal. → Outline Smooth Normals UV8

I cannot paint outline thickness in the Scene view​

The inspector tells you the reason in a sentence. The action for each message is in Painting directly in the Scene view.

I painted and the result got worse​

If Pressure Source is Vertex Red and Normal Source is VertexColorTS, they overwrite the same channel. Change the pressure source to Vertex Alpha, or move the outline normals to UV8.

If other objects changed too, several renderers share the same mesh asset. Duplicate the mesh, assign it to that renderer only, and paint again.

Face​

I painted the face mask and it does not work​

If Mask Intensity is 0, the mask is ignored and the whole material counts as face. Raise it above 0. The mask priority is texture, vertex paint, proxy, then whole material. → Face shading

There is no shadow on the face at all​

If Depth Availability is Force Off, Depth Shadow is never drawn. The automatic face correction removes projected shadows from the face. Turning on Projected Shadow When Depth Off on the Face material falls back to projected shadows when depth is absent.

VRChat​

I uploaded and optimization does not seem to have run​

  1. Check that the Unity version is 2022.3.22f1. The VRChat hook does not compile on 2021.3.
  2. Check that the Console contains [MingToon] VRChat build hook compiled and registered.
  3. Check that Optimize On Build / Upload (Applies To Everything) is on in the Optimize tab of MingToon Manager.
  4. Open StudioRaming/MingToonOptimizeReport.txt next to the project folder.

→ Checking that it ran

I can see depth effects but others cannot​

That is the default. Depth effects are visible only to you and your friends. Turning on Show depth effects to non-friends in the Get Started tab of Manager shows them to everyone. In exchange, the load on the other person grows.

Not appearing in mirrors is also intended. It stops a mirror from using someone else's silhouette as a shadow. → How far depth effects are guaranteed

WARUDO​

Every depth effect is empty in WARUDO​

The Depth Bridge is not installed. Check the Playground path, the .cs extension, and the installed log. → WARUDO Depth Bridge

If only the main screen is correct and the Spout or NDI output differs, check that camera's depth enabled for camera= log. No log means the camera was not processed.

Performance​

The inspector is heavy while I work​

That is normal. The authoring shader compiles and keeps every feature and the maximum layer count at once. Because of that, you do not wait for a compile each time you turn a feature on. The trade-off is that inside the Unity editor the same material costs about twice the GPU time of the built result (measured). Do not judge avatar weight from editor frame rate or profiler numbers. Lightening is applied only at build time.

People say my avatar is too heavy​

Turning every depth effect off also drops the depth light from the build automatically. That is the lightest path. → VRChat depth light

Bake and restore​

The restore button on a baked material is disabled​

Check that the bake Manifest is still there. The GUID of the original authoring material must also be alive. Also check that the Renderer hierarchy and material slots are unchanged since the bake. → Manual Bake and Restore

A feature I turned on after baking does not work​

Features that were off at bake time and were not found as preservation targets are removed from the code. Mark values you will turn on later from a script with Keep Editable At Bake.

If this still does not solve it​

Post the following in the bug report channel of the official Discord server.

  1. Unity version and target platform (VRChat PC / WARUDO / general Unity)
  2. Render pipeline (BRP / URP 12.x)
  3. MingToon version
  4. The full Console log
  5. Steps to reproduce