Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Ante · Mar 28, 2012 at 05:57 AM · cameraeditornan

Editor camera broken? "transform.position assign attempt for 'SceneCamera' is not valid."

"transform.position assign attempt for 'SceneCamera' is not valid. Input position is { NaN, NaN, NaN }. UnityEditor.DockArea:OnGUI()"

I've been getting this error in every scene in every project, even empty ones, and I have uninstalled Unity and reinstalled it, which didn't help. I honestly don't know where to go from here. I cannot move my camera in the editor. I can only rotate it. I really don't know what else to say. Does anybody have any idea how to fix this?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
11
Best Answer

Answer by Ante · Mar 28, 2012 at 06:09 AM

Seems like changing the editor layout fixed it. Weird, but whatever works!

Comment
Add comment · Show 9 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Florian5000 · May 23, 2012 at 07:30 PM 0
Share

same here, same solution. Thanks for the hint :)

avatar image jorjdboss · May 25, 2013 at 05:40 AM 0
Share

This works perfectly. I even reverted to my previous layout which had the problem. But would be great if someone knows what caused to problem and if its an editor only bug. If its not, this might also happen on other devices.

avatar image sickle · May 20, 2014 at 02:22 AM 0
Share

I can confirm that changing layout ( any layout settings from wide to tall ) wont work in my case

avatar image jorjdboss sickle · May 20, 2014 at 08:44 AM 0
Share

Did you try a custom saved layout?

avatar image savantedroid sickle · Apr 21, 2018 at 12:26 PM 1
Share

You can close the scene view and open it again. It worked for me.

avatar image OJ3D · Jul 21, 2016 at 10:16 PM 0
Share

Can I please confirm that this totally works. O$$anonymous$$FG! After nearly losing my $$anonymous$$d for the last couple of hours (months of work) I found this answer. Thanks alot. The only thing I did last was shut my laptop screen. Guess it's always worth taking the time to close out of project.

avatar image Lemux · Feb 04, 2018 at 02:00 PM 0
Share

Great it actually works!

Show more comments
avatar image
0

Answer by johnbent · Jul 20, 2018 at 02:03 PM

Changing the layout didn't work in my case, but closing and reopening the Scene window fixed it.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image johnbent · Jul 20, 2018 at 02:11 PM 0
Share

The error was caused by my trying to edit a box collider with negative dimensions.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Editor's Camera Clipping Plane 12 Answers

Notification of Game/Camera resize, in Editor. 0 Answers

Any idea how to use PreviewRenderUtility ? 3 Answers

Draw Camera Frustum 2 Answers

Is there a way to tint the outline of the camera in the Editor? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges