The below line of code does NOT produce an error. BUT it causes the physics system to not work properly while the game is running. Collisions between other game objects stop working properly, which have nothing to do with the light object.
this.energyBlastLight = this.scene.lights.addLight(this.x, this.y, 500, 0x037EFC, 5 );
this.scene.physics.world.enable(this.energyBlastLight) // <----- THIS LINE
The below line of code does NOT produce an error. BUT it causes the physics system to not work properly while the game is running. Collisions between other game objects stop working properly, which have nothing to do with the light object.