Including VoiceInterface.h causes compiling to fail until you include OnlineSubsystem.h in the same file.
This is not expected because VoiceInterface.h is part of the OnlineSubsystem module which has been uncommented in the build.cs file.
Found in 4.14.0 CL# 3195953. Reproduced in 4.13.0 CL# 3172292
Result: Build fails with the following errors:
Error (active) cannot open source file "VoiceInterface.h"
Error C2061 syntax error: identifier 'OnPlayerTalkingStateChanged' CodeTestBed
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int CodeTestBed
Error C4183 'DEFINE_ONLINE_DELEGATE_TWO_PARAM': missing return type; assumed to be a member function returning 'int' CodeTestBed
Expected: Since VoiceInterface.h is included in the OnlineSubsystemModule, the project would build successfully once that module was included in the build.cs
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Networking |
---|---|
Affects Versions | 4.13, 4.14, 4.15 |
Fix Commit | 3217465 |
---|
Created | Nov 30, 2016 |
---|---|
Resolved | Dec 1, 2016 |
Updated | Jul 14, 2021 |