Audio2Face Emotions in Streaming LiveLink Error

Version:2023.1.1
Unreal Version:5.2

When I run Audio2Face in either GUI or Headless Server mode, when trying to stream via LiveLink to Unreal Engine, everything works but the Emotion Streaming and the following Error appears:

2023-08-07 17:58:44 [69,786ms] [Error] [omni.graph.core.plugin] /World/audio2face/StreamLivelink: Assertion raised in compute - 'AudioPlayerStreamingInstance' object has no attribute 'get_range_end'
  File "c:\users\roman\appdata\local\ov\pkg\audio2face-2023.1.1\exts\omni.audio2face.exporter\omni\audio2face\exporter\ogn\python\nodes\StreamLivelinkNode.py", line 73, in compute
    audio_success = StreamLivelinkNode.send_audio(db)
  File "c:\users\roman\appdata\local\ov\pkg\audio2face-2023.1.1\exts\omni.audio2face.exporter\omni\audio2face\exporter\ogn\python\nodes\StreamLivelinkNode.py", line 114, in send_audio
    if a2f_player.get_current_time() > player.get_range_end() - 0.001:

I run on a 4090 but with all the stuff thats loaded and running im close to max memory.

Important to note, it did work before this just happened and stayed.

Another error:

[2982.636s] [ext: audio2face_headless-2023.0.0] startup
2023-08-07 18:47:17 [2,982,562ms] [Error] [omni.graph.core.plugin] /World/audio2face/CoreFullface: Assertion raised in compute - Instance of type A2FCoreFullfaceInstance does not exist: /World/audio2face/CoreFullface
  File "c:\users\roman\appdata\local\ov\pkg\audio2face-2023.1.1\exts\omni.audio2face.core\omni\audio2face\core\ogn\python\nodes\A2FCoreFullfaceInstanceNode.py", line 33, in compute
    instance = get_ext().core_fullface_manager().get_instance(node_name)
  File "c:/users/roman/appdata/local/ov/pkg/audio2face-2023.1.1/exts/omni.audio2face.common/omni/audio2face/common/scripts/instance_manager.py", line 167, in get_instance
    raise ValueError("Instance of type {} does not exist: {}".format(self.get_type_name(), name))

Another Note:

I just changed some values in the emotion settings and the error did not appear!

Thanks for reporting this issue. We’ve created a ticket and our team will get this resolved.

@R0MAN thanks for reporting the error.

We can reproduce the first error and will fix that.

Can you please give some detail on how to reproduce the second error? I mean this one.

[2982.636s] [ext: audio2face_headless-2023.0.0] startup
2023-08-07 18:47:17 [2,982,562ms] [Error] [omni.graph.core.plugin] /World/audio2face/CoreFullface: Assertion raised in compute - Instance of type A2FCoreFullfaceInstance does not exist: /World/audio2face/CoreFullface
  File "c:\users\roman\appdata\local\ov\pkg\audio2face-2023.1.1\exts\omni.audio2face.core\omni\audio2face\core\ogn\python\nodes\A2FCoreFullfaceInstanceNode.py", line 33, in compute
    instance = get_ext().core_fullface_manager().get_instance(node_name)
  File "c:/users/roman/appdata/local/ov/pkg/audio2face-2023.1.1/exts/omni.audio2face.common/omni/audio2face/common/scripts/instance_manager.py", line 167, in get_instance
    raise ValueError("Instance of type {} does not exist: {}".format(self.get_type_name(), name))

Could you please tell me when this bug will be fixed, or if you can describe how to fix it?

Hi @findfm932 This has been fixed internally and will be released in the next version of Audio2Face. Thanks for your patience.