Skip to content

ThreeJS Editor spotlight loses target on GLTF export #22515

@phillip-mcnallen-tfs

Description

@phillip-mcnallen-tfs

I think this may be a regression because I seem to remember this not always being an issue but when you open r132 editor and add a spotlight it will add to scene like this:
image

After exporting as .glb and importing the file you just exported, it will load in like this:
image

It seems to me that the position and other parameters are still accurate, though the direction of the spotlight is totally lost.

In the past I remember SpotLight having a nameless "target" child under it after adding it to the scene. This does not occur anymore:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions