Weird shadow from a spotlight

How can this happen? Is this a bug or can this be rectified somehow?

Increase the distance for the shadows on the settings to the right for the light. (It’s to do with distance from the camera IIRC. It doesn’t render/calculate the shadow if it is beyond the distance from the camera for optimisation).

https://developer.playcanvas.com/en/api/pc.LightComponent.html#shadowDistance

Thanks for your reply.
But I cannot find shadowDistance anywhere in the editor. However, if I increase the outer cone angle of the lightsource, the shadow becomes normal.

Edit: Oh wait, you are using a spot light, not a directional :thinking: