I lost more evenings to dependency problems than to bad seeds.
The graph looked correct. The nodes were in the right order. The prompt was locked. The seed was fixed. And then ComfyUI refused to load the model, or loaded the wrong one, or loaded it in a way that silently changed behavior. Each time the root cause was the same class of problem: a dependency that was missing, mismatched, or only half-updated.
This post documents the three specific dependency errors that broke my Wan2.2 setup hardest, how they presented, how I finally diagnosed them, and the checks I now run before I trust any new environment. All of this happened on the same used RTX 3090 workbench I use for everything else, after Nora’s bedtime, with the usual limited window for testing.
If you can’t reproduce it, it’s not a workflow. The environment is part of the workflow.
Error 1: The Custom Node That Was Almost Right

What It Looked Like
The workflow loaded without red nodes. The model names appeared in the dropdowns. When I queued the run, sampling started and then failed with a cryptic tensor or dtype error deep in the stack, or produced output that was clearly wrong in a way no prompt change could fix.
What Was Actually Wrong
A custom node package I relied on for Wan2.2 support was present, but it was the wrong version relative to the ComfyUI core and the model files I had installed. The node registered itself correctly enough to appear in the UI. It did not implement the exact interface the rest of the graph expected.
How I Found It
I created a clean ComfyUI install, installed only the minimum required custom nodes at pinned versions, and brought the workflow over. The error disappeared. Diffing the working and broken environments showed the version skew.
What I Do Now
Pin custom node versions in a requirements or lock file when the tool allows it.
Record the exact commit or release of every critical custom node in the workflow notes.
When a graph behaves differently on two machines, compare custom node versions before comparing prompts.
Error 2: The Model File That Was Not the Model File
What It Looked Like
The loader node accepted the path. The run started. VRAM climbed. The output was either garbage or a degraded version of what I expected. Sometimes the failure was silent: the graph completed, but the motion and detail characteristics were off in a way that felt like a different model.
What Was Actually Wrong
I had multiple Wan2.2-related files in the models directory with similar names. The loader was picking up a different file than the one I thought I had selected—either an older variant, a quantized copy I had tested earlier, or a partial download that still had the right extension.
How I Found It
I started recording full filenames and, where practical, hashes in the run notes. I also cleared the models directory down to a known-good set and reintroduced files one at a time. The behavior changed as soon as the wrong file was the one being resolved.
What I Do Now
Use explicit full paths or carefully managed filenames that make collisions obvious.
Prefer loader nodes that display the exact resolved path.
Keep a short manifest of the model files that belong to the current baseline package.
When in doubt, test with a freshly downloaded copy from a known source and compare.
Error 3: The Half-Updated Environment
What It Looked Like
Everything worked on Monday. On Thursday, after I updated ComfyUI or a single custom node “to fix something else,” the same workflow began failing at load or producing different temporal behavior. No prompt had changed. No seed had changed. The hardware was the same.
What Was Actually Wrong
An update had changed a dependency deeper in the stack—sometimes a shared library, sometimes a node that other nodes relied on—without updating the rest of the environment to a compatible set. The result was a mixed state that no longer matched the conditions under which the baseline had been validated.
How I Found It
I began treating the entire ComfyUI directory as a versioned environment. When something broke after an update, I rolled back to the previous known-good state and reapplied changes one at a time. The failure tracked with a specific update every time.
What I Do Now
Snapshot or note the ComfyUI version / commit together with the custom node versions.
Avoid updating “just one thing” when I am in the middle of a controlled experiment series.
When I do update, I re-run the baseline package and the known hard seeds before trusting any new results.
Keep a short changelog of environment changes alongside the workflow notes.
The Common Pattern
All three errors shared the same underlying trait: the UI made the system look ready when the underlying dependencies were not actually consistent. ComfyUI is flexible by design. That flexibility is powerful. It also means the difference between a working stack and a broken one can be invisible until you measure.
Practical Environment Checklist I Use
Before I start a serious test session I verify:
ComfyUI version or commit matches the one recorded for the baseline.
Critical custom nodes are at the pinned versions.
Model files match the filenames (and hashes when I have them) in the baseline notes.
No extra experimental nodes are loaded that were not present in the original validation.
A short cold run of the baseline seed still produces the expected behavior.
This checklist takes a few minutes. It has saved multiple evenings.

What Changed in My Practice
I stopped treating the environment as disposable. The workflow JSON is only half of the deliverable. The other half is the exact set of dependencies that make that JSON behave the same way on another day or another machine.
I also stopped updating libraries in the middle of a measurement series. If I need a new node capability, I finish the current comparison first, then create a new environment snapshot and re-validate the baseline.
Closing
The three dependency errors that broke my setup were not exotic. They were ordinary version skew, file ambiguity, and partial updates. Each one cost real testing time because they produced failures that looked like model problems or prompt problems.
Once I started recording the environment with the same care I record seeds and sampler settings, the same failures became quick to detect and quick to reverse.
Run the test. Save the settings. Show the failure.
The settings are part of the result.