Error Flood - !isNormalized (dir)

I downloaded Unity Free, and it seems within 2 minutes I managed to break it, fun.

Anyway, the Scene tab “preview” window remains grey, where there should be an overview of the demo island.

It seems I zoomed in too close or something and broke the camera, now I just get the same error spam appearing:

!isNormalized (dir)
  UnityEngine.Camera:ScreenPointToRay(Vector3)

There is one for each SetCamera(), DrawCamera(), ClearCamera().

Creating a new project, closing/restarting Unity don’t resolve anything.

Any ideas? Bare in mind I haven’t even found my way around yet.

Not even a possible solution? No configs I could try clearing out or anything?

This usually occurs during a quaternion operation where the vector you supply is zero. In this case, it is probably the direction vector of the ray that is set to zero, and therefore has no meaningful direction.

But it’s rendering Unity completely useless. The camera wont work on ANY project, not even if I create new blank project.

this happened to me just recently as well.

From reading other posts I’ve found that this camera error occurs if you’re zoomed too far away from the scene in the 3d view.

Heres how I got around it:

  1. Load up Unity
  2. Click on the ‘Window’ button on the top bar
  3. Select ‘Layouts’
  4. Click ‘Revert Factory Settings…’
  5. Click ‘continue’.

Hopefully that should reset the scene and you can go about using Unity again.