Search Unity

Question Main camera angle not reflecting inside .apk after building it on Android

Discussion in 'General Discussion' started by vedangwartikar18, Feb 4, 2023.

  1. vedangwartikar18

    vedangwartikar18

    Joined:
    Jan 25, 2023
    Posts:
    1
    When I'm changing the Main Camera angle on Unity, it is not reflected in the .apk file after building the project for the Android platform. I'm new to Unity and I'm not sure if there's any option to ensure that the project settings are reflected correctly on other platforms.

    Here is my Scene view,
    upload_2023-2-4_1-52-51.png

    Game View:
    upload_2023-2-4_1-52-55.png

    The View I can see inside the .apk file (this is the default camera angle)
    upload_2023-2-4_1-53-2.png
     
  2. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,566
    You're building an Cardboard VR application or something similar.

    This sort of application will take over control of your camera and move it based on sensor data.

    In your scenario either find camera movement controller and disable it, or try moving origin of AR rig. This is usually stored somewher under XR Rig.

    it is also possible that you actually have two cameras in your scene and not one. You can locate all cameras in the scene by searching hierarchy with t:Camera.
     
    angrypenguin and Ryiah like this.