Light Gizmo and GizmoManager are not appearing on the light in my react project

I am following this youtube to learn about the different lights in babylon. So I followed this video (https://youtu.be/dniiZ3El2nw?list=PLym1B0rdkvqhuCNSXzxw6ofEkrpYI70P4&t=694) and implementing the same code as video. In this video he is using the light gizmo and gizmoManager for showing gizmo around the light in the scene. I did the same but I am not able to see the gizmos

But when i am doing the same in the playground it is working perfectly fine

cc @Cedric

Hi @tron_2077 it will be difficult to debug without a PG :slight_smile:
Can you please try again to repro in a PG?

Hi @Cedric .
Here is the PG https://playground.babylonjs.com/?BabylonToolkit#4U4QH9#106
In PG it works fine but not when i use it in my react project

As said previously, without a repro, it will be difficult to help.
Did you try to add a layer ? Babylon.js docs

Ok, let me organize the my code first and format it. Then I will share the repo with you otherwise the current code is so clustered that you can’t understand it.

Will this be okay with you Sir??:slightly_smiling_face::slightly_smiling_face:

Sure, let’s try that way :slight_smile:

1 Like

Here is the repo of the project. This link will direct you to the code in which i was having problem

I don’t see anything weird in your code.
Can you test with spector.js and see if there is the drawcalls?

Maybe the gizmo is not visible for a dumb reason :slight_smile:

what could be dumb reason, Any idea :upside_down_face::upside_down_face:
Screenshot from 2024-09-26 16-05-20
Screenshot from 2024-09-26 16-05-31

I want light gizmo :face_holding_back_tears::face_holding_back_tears:

Do you see any errors in the console?

nope Sir. Do not get errors :smiling_face_with_tear::smiling_face_with_tear: