• 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

Camera.main

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Baschti-aus-s asked

Main camera field of view (FOV) angles in inspector doesn't match to actual used FOV of the main camera

May 28, '20 in Help Room

0 Replies

0 Votes

avatar image

x37h4nx answered

No Y-Axis rotation FPS Controller

Apr 20, '18 multiplayer·camera rotate·mouselook·fps controller·camera.main

2 Replies

0 Votes

avatar image

Bunny83 answered

re-entering on the opposite side?

Jan 7, '20 unity 5·unity 2d·camera viewport·camera.main

1 Reply

0 Votes

avatar image

TreyH answered

2D shooting script fixed camera

Feb 12, '16 in Help Room

2 Replies

0 Votes

avatar image

gregzo answered

I'm having some trouble understanding how to switch cameras

Jul 29, '13 camera·camera.main

1 Reply

0 Votes

avatar image

Jawad92 commented

How do turn on the iPhone mCamera Torch/flash permanently on launch in Unity3d? - JS or CS

Sep 19, '18 in Help Room

0 Replies

0 Votes

avatar image

ComicGirl commented

transform.translate Help for Camera Movement

Jan 3, '18 transform.translate·camera.main

1 Reply

0 Votes

avatar image

rutter edited

Camera.main, Camera.allCameras, IndexOutOfBound exception

Sep 15, '14 c#·camera.main

1 Reply

0 Votes

avatar image

dovster1 asked

Fix Camera Moving Out Of Screen

Feb 26, '19 in Help Room

0 Replies

0 Votes

avatar image

colkern published

MainCamera just showing Skybox, when switching to Android

Jul 28, '15 android·camera·rendering·graphics·camera.main

0 Replies

0 Votes

avatar image

tomasguija published

Problem with transform.position on unity 3D,Transform.position not working as expected unity3D

Apr 20, '20 3d·transform.position·camera.main

0 Replies

0 Votes

avatar image

Matthewj866 commented

Why does nothing happen on the game screen when i press play??

May 23, '17 in Help Room

0 Replies

0 Votes

avatar image

Play Creatively published

NullReferenceException to Camera.main.transform.position

Sep 20, '15 in Help Room

0 Replies

0 Votes

avatar image

Draedis asked

Main camera not rendering in GearVR

Jul 14, '18 in Help Room

0 Replies

0 Votes

avatar image

Vashar23 published

Switching from a cinematic cycle to the player camera

Dec 5, '16 c#·unity 5·camera·cameras·camera.main

0 Replies

0 Votes

avatar image

patrick13 published

Conversion position of camera active in coordinates GPS

Sep 21, '14 gps·camera.main

0 Replies

0 Votes

avatar image

unity_Prjfyl1ixkgbNg published

Timeline animation working in editor but not in Build version.

Apr 22, '20 2d·camera-movement·2d animation·timeline·camera.main

0 Replies

0 Votes

avatar image

Dave-Carlile commented

How do I add a property to my main camera and access it elsewhere?

Jun 7, '15 camera·raycast·public variable·camera.main

1 Reply

0 Votes

avatar image

Ruri-Dev commented

I have a main camera and another camera but in the game view i see the camera not main camera why ?

May 9, '17 camera·cameras·scene view·game view·camera.main

1 Reply

0 Votes

avatar image

ctrSciGuy commented

My main (and only) camera keeps disabling at startup.

Jul 22, '15 camera.main

0 Replies

0 Votes

avatar image

Draedis answered

Unity 5 c# - Cannot change between multiple cameras

Apr 11, '16 in Help Room

1 Reply

0 Votes

avatar image

ShedHead published

Unity JavaScript - Camera.main.tranform.forward? (NOOB) Closed

Aug 29, '16 camera.main

0 Replies

0 Votes

avatar image

GrimExp answered

need a little help with my code camera rotation

Aug 13, '18 charactercontroller·camera rotate·camera-look·camera rotation·camera.main

1 Reply

0 Votes

avatar image

Mufas asked

Problems using Camera.main.ScreenToViewportPoint(Input.mousePosition) as it gives the wrong position

Mar 22, '20 in Help Room

0 Replies

0 Votes

avatar image

ShedHead edited

(Google VR) How do I use Camera.main.transform.forward in Unity JavaScript (not C#) Closed

Aug 29, '16 in Help Room

0 Replies

0 Votes

avatar image

Chocolade answered

How can i play Animation clip using Animator on other camera then Main Camera ?

May 7, '17 in Help Room

1 Reply

0 Votes

avatar image

thomasmking1990 asked

I can a render all these huge objects?

Aug 16, '19 in Help Room

0 Replies

0 Votes

avatar image

Joyman published

Change cam location on same scene by a behaviour

Feb 20, '14 camera.main

0 Replies

0 Votes

avatar image

Landern edited

(Google VR) How do I use Camera.main.transform.forward in Unity JavaScript

Aug 30, '16 in Help Room

0 Replies

0 Votes

avatar image

aardappel156 answered

Camera Follow (Not Exact)

Jan 10, '19 camera·camera-movement·camera follow·cameras·camera.main

1 Reply

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • 4
  • ›

Followers

avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

camera camera-movement c# cameras camera follow camera-look camera rotate unity 5 camera viewport mouse-look mouseposition main camera raycast scripting problem instantiate vr position parent 2d game viewport camera-scrolling android transform.position beginner ui


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