EOS Voice Chat Implementation - OnlineVoiceInterface.h Include Error
Engine Version: UE 5.5 Platform: Windows
The Issue
I’m trying to implement EOS Voice Chat in my project, but I’m having issues with including the OnlineVoiceInterface.h
. The compiler cannot find the file despite having all the necessary dependencies in my Build.cs.
My Setup
Here’s my current Build.cs:
Public Dependency Module Names:
"Core",
"CoreUObject",
"Engine",
"InputCore",
"NetCore",
"AudioMixer",
"AIModule",
"PhysicsCore",
"OnlineSubsystem",
"OnlineSubsystemUtils",
"Steamworks",
"OnlineSubsystemSteam",
"AudioCaptureCore",
"AudioMixer",
"OnlineSubsystemEOS",
"EOSVoiceChat",
"Voice"
I’m trying to use this include: include “Interfaces/OnlineVoiceInterface.h”
What I’ve Tried
- Added Voice module to dependencies
- Added various include paths in Build.cs
- Tried different include paths like:
- include “Online/OnlineVoiceInterface.h”
- include “OnlineSubsystem/Public/Interfaces/OnlineVoiceInterface.h”
- include “VoiceInterface.h”
- Cleaned and rebuilt the project
- Deleted Intermediate folder and regenerated project files
.ini File
[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
[OnlineSubsystem]
DefaultPlatformService=Steam
VoiceChatName=EOS
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
SteamAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
bVACEnabled=0
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
[OnlineSubsystemEOS]
bEnabled=true
[OnlineSubsystemEOS.EOSSettings]
CacheDir=EOSCache
DefaultArtifactName=PRIVATE
TickBudgetInMilliseconds=0
bEnableOverlay=false
bEnableSocialOverlay=false
bShouldEnforceBeingLaunchedByEGS=false
bUseEAS=true
bUseSanctions=false
bMirrorStatsToEOS=false
bMirrorAchievementsToEOS=false
TitleStorageReadChunkLength=0
+Artifacts=PRIVATE
Error Message
Cannot find file ‘OnlineVoiceInterface.h’ in search paths: C:\Program Files\Epic Games\UE_5.5\Engine\Source\Runtime\Engine\Classes\Interfaces [other search paths…]
EOS Voice Chat plugin is enabled in the project settings. Any help or guidance would be greatly appreciated!