Skip to content
On this page

Troubleshooting

Sometimes things might not work out the way it's supposed to. When this happens we recommend the following processes to help you (and us) figure out what the problem might be.

Visualizing intermediate flattened textures

If you experience issues with material baking we recommend you to visualize the intermediate textures generated during the material flattening process. You can do this by using the following console command:

MaterialBaking.SaveIntermediateTextures = 1

The textures are then outputted to "ProjectDir/Intermediate/MaterialBaking". If these look weird, eg having black spots, the problem lies in the Unreal Engine's flattening methods. It might be that you are using a non-supported material node.

TIP

If the intermediate textures have black parts we recommend you to look into the Material Proxy Replace node.

Material Proxy Replace details

The Material Proxy Replace node is a material node that can be used when you want to use a different or simplified material for material flattening purposes.

Material Proxy Replace node
Material Proxy Replace node

It functions such that it uses the "Realtime" input at runtime, and the “MaterialProxy” input during the generation process.

Exporting scene and pipeline

If you are experiencing issues and need to get in contact with support, we recommend you to export debugging information. This will help us find the problem faster. You allow export of debug information by going to Project Settings → Plugins → Simplygon Plugin and checking the "Debug" checkbox, see figure 1.

Figure 1: Setting for enabling debug.
Figure 1: Setting for enabling debug.

Once this is done (and you've restarted the editor), you'll find export functions in both the LOD Recipe editor and the Stand-In Outliner. If you want to export debug information for the built-in interfaces, see Always export debug information below.

LOD Recipe export

You export the LOD Recipe debug data by clicking the "Export All" button in the toolbar, see figure 2.

Figure 2: Export option in LOD Recipe.
Figure 2: Export option in LOD Recipe.

This will export one sgScene file per mesh that is assigned to this LOD Recipe and one pipeline. If it's only one of the meshes that is problematic it's enough to send us the sgScene that corresponds to that mesh together with the pipeline.

Stand-In export

There are two ways to export debug information for Stand-Ins. These are highlighted in yellow and in blue in figure 3.

Figure 3: Export options for Stand-Ins.
Figure 3: Export options for Stand-Ins.

Always export debug information

It's possible to always export debug information whenever you run a Simplygon process. To enable this, go into the Project Settings → Plugins → Simplygon Plugin and check "Export Pipeline and Scene". You can optionally change where the files will be saved by changing the "Debug Path".

Figure 4: Settings for always outputting debug information.
Figure 4: Settings for always outputting debug information.

After a restart of the editor, you'll get debug information saved in your chosen folder whenever a Simplygon process is run.