GlowLayer not working

Hello guys,

I am trying to make a glow layer on clicking a mesh.
I tried highlighting the edges on click on same meshes.
But its not working.

The scenario is:

  1. I write code for highlighting/glowing edges of mesh on click and save.
  2. When I click on a mesh, it wont glow.
  3. I put a space/make any change and save.
  4. Then the mesh will glow.

Any idea why this is happening ?

Please provide a playground with a repro of the issue, it is impossible to help from your description only.