So I've created a script for a weapon and when started playing the actual game it says that Display 1 No cameras rendering

alt text

Forgot to mention this only happens when I use an effect to recreate the muzzle flash when its not assigned it does not show the error

The screenshot shows that there is no camera on the stage. Moreover, she disappeared not at the start of the game, but after the shot. It means that in the code of the shot there was a Destroying camera.

Are you destroying the hit object? If so, could Ray get into the camera (perhaps the player self-destructed along with the camera)?
_
The complete shooting code and the player’s character parameters may help in solving the problem.