[4.24]SynthComponent fails to compile in empty project+

Tested on 2 different computers with UE4 and VS 2017 15.9.18

Make a new blank C++ project
Add a new C++ class
Select SynthComponent
Name it default…MySynthComponent

First a popup says it failed to hot reload the project module
When Compile is pressed it has a C++ compile failed

Additionally I am not able to open a project from 4.23. I get a similar error when trying to open it.

Any work around? Am I missing something? Thanks!

Error message is:

CompilerResultsLog: Error:   MySynthComponent.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Audio::IOscBase::SetFrequency(float)" (__imp_?SetFrequency@IOscBase@Audio@@QEAAXM@Z) referenced in function "public: static void __cdecl UE4Function_Private::TFunctionRefCaller<class <lambda_ba8891f19d073dee9c7d8389d62
76b26>,void __cdecl(void)>::Call(void *)" (?Call@?$TFunctionRefCaller@V<lambda_ba8891f19d073dee9c7d8389d6276b26>@@$$A6AXXZ@UE4Function_Private@@SAXPEAX@Z)
CompilerResultsLog: Error:   MySynthComponentdfdf.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl Audio::IOscBase::SetFrequency(float)" (__imp_?SetFrequency@IOscBase@Audio@@QEAAXM@Z)
CompilerResultsLog: Error:   MySynthComponent.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl Audio::FOsc::FOsc(void)" (__imp_??0FOsc@Audio@@QEAA@XZ) referenced in function "public: __cdecl UMySynthComponent::UMySynthComponent(class FObjectInitializer const &)" (??0UMySynthComponent@@QEAA@AEBVFObjectInitializer@@@Z)
CompilerResultsLog: Error:   MySynthComponentdfdf.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl Audio::FOsc::FOsc(void)" (__imp_??0FOsc@Audio@@QEAA@XZ)
CompilerResultsLog: Error:   MySynthComponent.gen.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl Audio::FOsc::FOsc(void)" (__imp_??0FOsc@Audio@@QEAA@XZ)
CompilerResultsLog: Error:   MySynthComponentdfdf.gen.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl Audio::FOsc::FOsc(void)" (__imp_??0FOsc@Audio@@QEAA@XZ)
CompilerResultsLog: Error:   MySynthComponent.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Audio::FOsc::~FOsc(void)" (__imp_??1FOsc@Audio@@UEAA@XZ) referenced in function "public: virtual __cdecl UMySynthComponent::~UMySynthComponent(void)" (??1UMySynthComponent@@UEAA@XZ)
CompilerResultsLog: Error:   MySynthComponentdfdf.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Audio::FOsc::~FOsc(void)" (__imp_??1FOsc@Audio@@UEAA@XZ)
CompilerResultsLog: Error:   MySynthComponent.gen.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Audio::FOsc::~FOsc(void)" (__imp_??1FOsc@Audio@@UEAA@XZ)
CompilerResultsLog: Error:   MySynthComponentdfdf.gen.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Audio::FOsc::~FOsc(void)" (__imp_??1FOsc@Audio@@UEAA@XZ)
CompilerResultsLog: Error:   C:\Users\Shaxon\Desktop\MyProject33\Binaries\Win64\UE4Editor-MyProject33-9842.dll : fatal error LNK1120: 3 unresolved externals

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Thanks! I have submitted the bug. In the meantime if anyone has a work around or fix and could let me know it’d be much appreciated!

Also - tried again in 4.24.1 and still getting the same errors with the SynthComponent

Here is the bug report UE-86056 - Unreal Engine Issues and Bug Tracker (UE-86056)