This question was created in reference to: [Pose Search DDC [Content removed]
Just wanted to report in that we are still seeing occasional hangs when creating new PSD files with the plugin, even after applying the referenced patches in the previous thread. Resaving the files that the cooker hangs on seems to fix the issue. So, it looks like the initial creation of the files is still bugged somewhere. It’s entirely possible this is fixed in newer versions, but wanted to bring this up in case it needed more attention. I think we have plans to update to 5.6 or 5.7 towards EOY so hopefully it’ll go away completely at that point 
Hi, I don’t think that we’ve made many further changes in this area so it’s quite possible that the issue you’re seeing will still be present in later versions. Just to double-check, you have all of the changes that are shelved in 44769485?
I’d like to see if I can get a repro on what you’re seeing. So I have a few questions on your workflow:
- Is this only happening with newly created PSD assets?
- Are you using Branch In notifies to add assets to the PSDs or just adding them directly?
- When are you performing the re-save, is that immediately after you create the PSDs or do you have some process that does this before cooking?
- Can you share any log entries that you have from when the cook hangs?
Hi, sorry for the delay getting back to you on this. We’re finishing up work on the 5.7 release so I was pulled onto other tasks this week.
Going back to the previous CLs, I would recommend integrating all of 44769485, not just the scoped transaction that was added to UPoseSearchDatabase::PreSaveRoot. The reason being that, although the scoped transaction should, in theory, mean that the tasks are cancelled correctly, the previous implementation of UPoseSearchDatabase::SynchronizeWithExternalDependencies was modifying the database every time it was saved, which opened up many more possibilities for something to go wrong. That shelf is against the 5.5 release, so it should integrate cleanly.
Have you seen the issue happening again recently? I tried to get a repro with a newly created PSD, but I haven’t had any luck so far, unfortunately.
Hello again!
It was “just the change to add the scoped transaction to PreSaveRoot”, as we weren’t able to get any of the CLs mentioned in that thread to apply cleanly to 5.5 on their own.
I’ll have to ask the people creating the assets about how they are doing that. I just noticed on Monday that we had cook validation builds hanging again after someone had submitted new PSD assets on Thursday and Friday, and the log messages
LogCook: Warning: Cooker has been blocked from saving the current packages for 16321 seconds.
LogCook: Display: 2 packages in the savequeue:
LogCook: Display: /Game/…/PSD_xxx_yyy
were all referring to some number of the new files added. I opened the editor, loaded and resaved the entire directory that contained the new PSD assets, submitted, and we haven’t had a failure in the 4 days since.