ShapeUpgrade_UnifySameDomain class, "StdFail_NotDone : BRep_API: command not done" exception will be thrown.

Hello. I am using the ShapeUpgrade_UnifySameDomain class to modify the model. When processing using the following "shape.brep", the exception "StdFail_NotDone : BRep_API: command not done" is raised in the build function. Is there any way to avoid this phenomenon? Best Regards.


try {
  ShapeUpgrade_UnifySameDomain unif( shape, Standard_True, Standard_True, Standard_True );
} catch ( const Standard_Failure& theFailure ) {
  // exception StdFail_NotDone : BRep_API: command not done


Opencascade: V7.5.3
OS: Windows 10 Pro 64bit
CPU: Intel(R) Core(TM) i7-8550U
Memory: 16GB