Mysterious entity added to the scene #8094
Unanswered
dolfancole
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I ran into a very puzzling issue where a "mysterious" entity was added to the scene and attempts to remove it cause unexpected results in the display. Additionally, the issue only presented itself when running my app on a physical device versus Android Studio's emulator.
Background - I create a scene, add a light entity and a GLB asset. When viewing the scene, the asset appears multiple times on a device, but only once on an emulator (which is desired and expected). If I add other assets, the physical device renders what appears to be mirrored instances of the same scene (again, none of this happens in the emulator). When looking at the entity ids contained within the scene (using scene.entities), an additional entity id shows up on the device for some reason that does not show up on the emulator. And it was never explicitly added. The only entities that were added consist of the entity for the light and those that make up the GLB asset. I have no idea what the other entity id is or what it refers to.
Question - Why is there an additional entity id when displaying on a device versus the emulator? I do not have any other entities that have been explicitly added to the scene. Does Filament add some default or some other entity without explicitly adding it by the app, and which somehow only occurs when using a physical device versus an emulator?
Any guidance on this would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions