Skip to content

TYPE_CHECK self 类型检查误报 #594

@zoloypzuo

Description

@zoloypzuo

UnLua 2.3.3

LogUnLua: Error: Lua error message: [string "F:/UnrealEngine/Lyra/Content/Script/ShooterCo..."]:59: attempt to call UFunction 'RemoveMappingContext' on invalid self type. 'EnhancedInputSubsystemInterface' required but got 'EnhancedInputLocalPlayerSubsystem'.
stack traceback:
    [C]: in method 'RemoveMappingContext'
    [string "F:/UnrealEngine/Lyra/Content/Script/ShooterCo..."]:59: in function 'ShooterCore.Input.Abilities.GA_ADS.K2_OnEndAbility'

Lyra GA_ADS

EnhancedInputLocalPlayerSubsystem:AddMappingContext(BP.Class.IMC_ADS_Speed_C, 11, nil)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions