Skip to content

Single-prop value not parsed when using utils.entity.setComponentProperty #4018

@3DataWill

Description

@3DataWill

Description: AFRAME.utils.entity.setComponentProperty seems to be bypassing the property's parser for single property components. I found this when using aframe-state-component to set a gltf-model value. The result is the asset element ID is passed into the THREE loader instead of the asset's src url (because of the hash the loader humurously ends up requesting the page's HTML and trying to parse a gltf from that)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions