I’m giving the Audio2Face tool a shot and I’ve run into a unhandled exception when using the “Blendshape Weights USD” button in the “Batch Audio Process” window.
I’ve got my blue guy (male_bs_46) following the grey guy (male) perfectly fine. Also, if I use the “EXPORT AS USD SkelAnimation” button, to just export the current sound file, it seems to work fine. Or, at least the export finishes without throwing an exception.
However, when I use the batch export button, it moves through the first animation frame by frame, and then throws an unhandled exception upon completion of the animation.
log from console follows:
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] Exception when async '<function Exporter._run_export_batch_audio_blendshape_weights_usd_async at 0x00000225A6F134C8>'
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils]
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] Error in 'pxrInternal_v0_20__pxrReserved__::UsdStage::_IsValidPathForCreatingPrim' at line 3258 in file C:\b\w\ca6c508eae419cf8\USD\pxr\usd\usd\stage.cpp : 'Path must be an absolute path: <>'
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] Traceback (most recent call last):
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] File "c:\users\brad\appdata\local\ov\pkg\audio2face-2022.1.1\exts\omni.audio2face.common\omni\audio2face\common\scripts\utils.py", line 31, in wrapper
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] return await func(*args, **kwargs)
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] File "c:\users\brad\appdata\local\ov\pkg\audio2face-2022.1.1\exts\omni.audio2face.exporter\omni\audio2face\exporter\scripts\exporter.py", line 2227, in _run_export_batch_audio_blendshape_weights_usd_async
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] skelAnim = stage_out.DefinePrim("/World/anim_{}".format(skelAnim_prim_name), "SkelAnimation")
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] pxr.Tf.ErrorException:
2022-10-11 17:37:05 [Error] [omni.audio2face.common.scripts.utils] Error in 'pxrInternal_v0_20__pxrReserved__::UsdStage::_IsValidPathForCreatingPrim' at line 3258 in file C:\b\w\ca6c508eae419cf8\USD\pxr\usd\usd\stage.cpp : 'Path must be an absolute path: <>'
I took a look at line 2227 in exporter.py and didn’t notice anything particularly out of order. I compared with line 1764 which is the comparable part of the single take export (which does work), hoping to find an obvious discrepancy. Nothing jumped out immediately. But I’m unfamiliar with this code.
I did want to hook up a debugger. But unfortunately, opening the extension in VSCode via the extension manager doesn’t really allow me to set a breakpoint and attach the debugger. That empty ‘<>’ in the exception message coming from cpp is suspect. But I don’t have the source code or the debugger working so… dunno.
Thoughts? Help? Known bug? Seems similar to: Problems in Batch Processing Blendshapes in .USD format - #2 by siyuen