You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In HoudiniEngineScheduler.cpp, in FHoudiniEngineScheduler::TaskInstantiateAsset and FHoudiniEngineScheduler::TaskCookAsset, in the while(true) we start by getting the status of the cook with:
int Status = HAPI_STATE_STARTING_COOK;
HOUDINI_CHECK_ERROR_GET(&Result, FHoudiniApi::GetStatus(FHoudiniEngine::Get().GetSession(), HAPI_STATUS_COOK_STATE, &Status));
if we loose the session being in those while true, the Result is set to HAPI_RESULT_FAILURE, but the Status is not updated and remains to HAPI_STATE_STARTING_COOK. However, the only break conditions of the while(true) are checking the Status so we end up looping indefinitely. I suggest a final check is added to the Status to ensure it's not HAPI_RESULT_FAILURE or to always update the Status in FHoudiniApi::GetStatus.
The text was updated successfully, but these errors were encountered:
In HoudiniEngineScheduler.cpp, in FHoudiniEngineScheduler::TaskInstantiateAsset and FHoudiniEngineScheduler::TaskCookAsset, in the while(true) we start by getting the status of the cook with:
int Status = HAPI_STATE_STARTING_COOK;
HOUDINI_CHECK_ERROR_GET(&Result, FHoudiniApi::GetStatus(FHoudiniEngine::Get().GetSession(), HAPI_STATUS_COOK_STATE, &Status));
if we loose the session being in those while true, the Result is set to HAPI_RESULT_FAILURE, but the Status is not updated and remains to HAPI_STATE_STARTING_COOK. However, the only break conditions of the while(true) are checking the Status so we end up looping indefinitely. I suggest a final check is added to the Status to ensure it's not HAPI_RESULT_FAILURE or to always update the Status in FHoudiniApi::GetStatus.
The text was updated successfully, but these errors were encountered: