Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Rareden's avatar
Rareden
Honored Guest
7 years ago

Lipsync, Cannot construct component, could not find its template

Hi
Im using the OVR Lipsync plugin and it works fine in the editor but when using it in a packaged game it crashs on startup with 
     Export 1446 /Game/Blueprints/Player/BP_AvatarBase.Default__BP_AvatarBase_C:LipSync
    [2019.12.06-08.53.49:571][  0]LogStreaming: Error:     Linker is ../../../Helios/Content/Blueprints/Player/BP_AvatarBase.uasset
    [2019.12.06-08.53.49:571][  0]LogStreaming: Error:         Dep S_BEFORE_S Export     2    /Game/Blueprints/Player/BP_AvatarBase.Default__BP_AvatarBase_C     (class BP_AvatarBase_C)
    [2019.12.06-08.53.49:571][  0]LogStreaming: Error:         Dep C_BEFORE_S Import     8   /Script/Helios.Default__AvatarCharacter
    [2019.12.06-08.53.49:571][  0]LogStreaming: Error:         Dep S_BEFORE_C Import   113   /Script/OVRLipSync.OVRLipSyncActorComponent
    [2019.12.06-08.53.49:571][  0]LogStreaming: Error:         Dep S_BEFORE_C Import   406   /Script/Helios.Default__AvatarCharacter:LipSync
    [2019.12.06-08.53.49:571][  0]LogStreaming: Error:         Dep C_BEFORE_C Export     2    /Game/Blueprints/Player/BP_AvatarBase.Default__BP_AvatarBase_C     (class BP_AvatarBase_C)
    [2019.12.06-08.53.49:571][  0]LogStreaming: Error: Missing Dependency, request for /Script/Helios.Default__AvatarCharacter:LipSync but it hasn't been created yet.
    [2019.12.06-08.53.49:571][  0]LogStreaming: Error: Cannot construct LipSync in ../../../Helios/Content/Blueprints/Player/BP_AvatarBase.uasset because we could not find its template /Script/Helios.Default__AvatarCharacter:LipSync

The plugin module loads in the startup log but it seems it cant find the required script when constructing the object.
Ive tried it as a BP component and as a C++ one created with.
LipSync = CreateDefaultSubobject<UOVRLipSyncActorComponent>(TEXT("LipSync"));

Anyone have any ideas on this?