Version: Blender Exporter v2.3.1
Frequency: Consistently
Severity: High
This is similar to the following thread, but seems to be a different issue. Enough to warrant a separate thread.
When opening a Blender file with lights for 2020, if the 2024 plugin is already enabled, all lights from all collections, visibility checked or unchecked, parented or not, get pulled into the root hierarchy of the Blender project.
The same goes for if you open a 2020 project, swap to the 2024 Blender exporter, and use the convert option on the top toolbar.
This isn’t a huge deal for single objects with a few lights, but I have multiple Blender projects containing multiple models. I also usually keep a hidden “DEV” collection with my model broken apart, lights rigged, etc.
Since it will pull from all collections, all lights in my Blender project get pulled into the root, even from those hidden collections.
My temporary work-around is to use a script that bulk renames all of the lights based on their parented part. Then at least I know what goes where.
It would be nice if at minimum it would ignore moving lights out of hidden collections.