Skip to content

用PlayerController Possess新的角色时,新角色上的InputComponent无法正常ReplaceInputs,导致新角色无法响应input输入 #553

@610789338

Description

@610789338

bool FLuaEnv::TryReplaceInputs(UObject* Object)
{
...
// 此时服务器的RemoteRole已经是ROLE_AutonomousProxy,但还未同步到客户端,导致这个判断不过
if (!Actor || Actor->GetLocalRole() < ROLE_AutonomousProxy)
return false;
...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions