lucoiso / UEAzSpeech

This plugin integrates Azure Speech Cognitive Services in Unreal Engine.
https://forums.unrealengine.com/t/free-azspeech-plugin-async-text-to-voice-and-voice-to-text-with-microsoft-azure/495394
MIT License
178 stars 41 forks source link

Under Windows 11,a UE5.1.1 project using AzSpeech plugin restart with error: "Async Task: Missing Function" #214

Closed YangQuGithub closed 11 months ago

YangQuGithub commented 12 months ago

I create a Third Person C++ project. In Project Settings, I set the parameters of this AzSpeech plugin including Subscription Key, Region ID. Candidate Language, Voice. In the BP_ThirdPersonCharacte blueprint editor, I used TextToSoundWaveWithDefaultOptions function. It worked well -- The computer speaker can speak the voice of input text. When I restart my project, the blueprint editor reports the following error:

BaseAsyncTask: Missing function TextToSoundWave_DefaultOptions from class Unknown Class for async task Async Task: Missing Function

Who can help me to solve this problem? Thanks.

YangQuGithub commented 11 months ago

I solved this problem by myself。It the problem of the plugin loading time。I changed the content of File AzSpeech.uplugin in ...\Epic Games\UE_5.1\Engine\Plugins\Marketplace\AzSpeech\ folder as following: { "Name": "AzSpeechEditor", "Type": "Editor", "LoadingPhase": "PreDefault", "PlatformAllowList": [ "Win64", "Mac", "Linux" ] }

I only changed one line: from "LoadingPhase": "Default", to "LoadingPhase": "PreDefault",

Thanks for the great jobs of the plugin authors.