Skip to content

AvatarManager.getAvatar( avatarID ) causes a crash when called #784

Open
@daleglass

Description

@daleglass

Open scripting console, enter:

AvatarManager.getAvatar(MyAvatar.sessionUUID)

Triggers an assertion:

overte/libraries/avatars/src/ScriptAvatarData.cpp:25: bool avatarDataFromScriptValue(const ScriptValue&, ScriptAvatarData*&): Assertion `false' failed.

Which is here:

bool avatarDataFromScriptValue(const ScriptValue& object, ScriptAvatarData*& out) {
    // This is not implemented because there are no slots/properties that take an AvatarSharedPointer from a script
    assert(false);
    out = nullptr;
    return false;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv8Bugs related to the new V8 scripting engine

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions