Get SFM ↗
Home / SFM Compile Errors & Fixes
04 / TROUBLESHOOT

SFM Compile Errors & Fixes

Diagnose missing textures, source files and failed builds.

Computer diagnostics screen with a warning symbol and repair tools

Identify whether a problem belongs to the compiler, game search paths, model data, materials or movie export before changing your project.

Read the first error

A final failure message may hide a missing input earlier in the log. Read from the beginning, note the first error, and change one variable at a time. Keep the full log for comparison.

Cannot find SMD or DMX

Compare the QC filename with the exported file, including its extension. Check relative paths and confirm that your compiler can reach the source directory.

Purple and black checkerboard

Verify that the expected VMT exists in the correct materials folder, that its base texture points to a valid VTF, and that the exported mesh material name matches the VMT filename.

Model not visible

Check the model browser search paths and ensure all companion files are present. Verify that the compiler targets the original Source Filmmaker branch rather than a different Source game.

Broken bones or animation

Check that the mesh and animation share compatible skeleton definitions. Inspect weights and test an idle sequence before adding complex motion.

Crash during export

Save a copy of the session, try a short frame range at lower resolution and isolate problematic assets. Image sequences may make it easier to resume or recover partial output.

Capture the entire build log

Copy the compiler log into a text file, including the game configuration and the command being executed. Locate the first meaningful error rather than the generic failure at the end. Note whether the issue is a missing input file, syntax error, geometry problem or failed output write. Preserve the last successful build and use a separate copy of the QC for experiments.

Check file paths and extensions

Windows may hide known extensions, so a file named prop.qc.txt can look like prop.qc. Enable file extensions in the file browser and compare the QC references with the actual names. If the mesh is stored in a subfolder, confirm the relative path is correct for the compiler working directory and QC setup. Avoid invalid characters and test a short, simple project path if the tool struggles with long paths.

Separate a model load error from a material error

If a model appears as an error placeholder, check its MDL location and associated VVD and VTX files, then confirm the target engine branch. If the mesh is visible but covered in a checkerboard, investigate VMT and VTF paths instead. Recompiling unchanged geometry will not repair a missing VTF. Test with one known working material to isolate the cause.

Diagnose rigging and sequence failures

A model that deforms unexpectedly may have incorrect weights, mismatched bones or a different reference pose across exports. Open the source project and test a small movement of one bone. Export a fresh reference and matching idle. If the simple sequence works, add other animation files individually and compare the results.

When the compiler succeeds but SFM does not update

Verify timestamps on the output files and make sure the viewer is reading the directory you actually built into. Duplicate names in different search paths can cause an older model to load. Try a new uniquely named output model. Restart or refresh the relevant browser when necessary, and use a clean session to avoid cached assets.

Handle rendering and memory problems separately

Save a backup, close unnecessary applications, and test a small frame range at a lower resolution. If the crash occurs at one particular frame, inspect objects and effects visible at that point. Test a fresh scene with the same asset. A successful simple render narrows the problem to the original scene rather than the whole installation.

SymptomFirst checkNext action
Cannot open source fileActual filenameCorrect QC path
Unknown QC commandTarget branchRemove or revise unsupported command
Error modelMDL and companionsVerify search paths and rebuild
Checkerboard textureVMT and VTFCheck material path and shader
Distorted bonesRig consistencyExport matching reference and idle
Movie export stopsSpecific frame / formatTest short image sequence

Frequently asked questions

Should I delete all SFM files?

No. Back up first and verify the specific issue. Steam file verification may help with stock files.

Are all compiler warnings fatal?

No, but investigate them individually before treating the model as finished.

Can a compiled model still be broken?

Yes. A build can succeed even when material paths or animation behavior are incorrect.

References and next steps

Material troubleshooting · Rendering troubleshooting · Compiler reference.