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).
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.