| Previous | Next |
| MILEFFECTSERR_UNKNOWNPROPERTY | MILEFFECTSERR_NOINPUTSOURCEATTACHED |
MILEFFECTSERR_EFFECTNOTPARTOFGROUP
MILEFFECTSERR_EFFECTNOTPARTOFGROUP belongs to MIL effect graph ownership and membership. An operation expected an effect to belong to a particular group, but the effect is outside that group.
Start with the returning API
An effect instance has identity and graph ownership. Group membership, insertion, and reuse are not value-copy operations: adding the same live node twice or attaching it to another graph changes ownership semantics even if the effect parameters are identical. Reconstruct the graph by object identity, not by display names or serialized settings.
group membership and ownership at the moment of the operation.
Reproduce without destructive cleanup
Create fresh effect instances for each graph and log every add, remove, group, and dispose operation. Then test deliberate duplicate insertion as a negative control so cleanup code cannot silently mask ownership mistakes.
- build the group explicitly, add the effect once, and run the same operation before removal.
- Rebuild the smallest graph containing only the implicated node and one known input.
- Log ownership changes and graph generation numbers.
- Validate the graph before allocating large intermediate resources.
Evidence to preserve
- Effect instance and owning graph or group identity
- Connector, input, child, listener, property, or transform involved
- Calculated input and output bounds
- Construction sequence and first method returning the HRESULT
Limits of this code
This differs from EFFECTINMORETHANONEGRAPH, which detects conflicting ownership across graphs. Do not catch the HRESULT and continue rendering with a partially connected graph; later failures can obscure the invariant that was first violated.
Technical references
Looking for a different code? Search another status or error code.
