Unidentified error at the perfect time...

Hi all,

I have an unidentified error I could really do with some help with. Here’s the error that comes up:

Unable to convert GUI point to world ray if a camera has not been set up!
UnityEditor.DockArea:OnGUI()

This has come at the best time as I have to present a level made for an RPG game to my tutor at uni tomorrow morning. Any help resolving this issue will be greatly appreciated.

Regards,

I’m unfamiliar with this issue, but the error seems to indicate that you’re trying to perform an action before your camera’s been properly set up. Can you provide us with some more details/ code snippets?

Quit Unity and reload Unity, if that doesn’t work, right click in your assets list and reload all assets (menu option), I have seen this on a brand new scene with nothing but the camera in the scene, resolution was simply to quit the editor and go back in, this has popped up since the old 2.x days.

Thank you. It was just after I had created a new scene tbh :slight_smile: