Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Locking orientation to Landscape makes appear virtual buttons

Discussion in 'Windows' started by tiz777, Jan 1, 2015.

  1. tiz777

    tiz777

    Joined:
    Jan 20, 2010
    Posts:
    93
    First of all: Happy and Prosperous New Year to all of you :)

    Here my first problem of the year:
    When building an app for Windows Phone using Universal 8.1 SDK, and setting the orientation in Visual Studio to Landscape (or Landscape-flipped) makes appear 3 partial buttons at the bottom of the screen (right side of the image).

    wp_ss_20141223_0001[1].png

    That also happens by locking the orientation via script.

    [EDIT]
    And also happen even if rotation is not locked! That means these buttons always appear in landscape mode.
    [/EDIT]

    I'm using Unity 4.6.1 with VS13 Express Up4.


    Any idea how to remove them?

    Many thanks in advance!
     
    Last edited: Jan 1, 2015
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Hi,

    what kind of device is this happening on? Does it happen on an empty project?
     
  3. tiz777

    tiz777

    Joined:
    Jan 20, 2010
    Posts:
    93
    Hi!

    I'm using a Lumia 625, and yes it also happens on an empty project.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Does this only happen during splashscreen?
     
  5. tiz777

    tiz777

    Joined:
    Jan 20, 2010
    Posts:
    93
    No, they're always visible.

    Just a little further info: if rotation lock is disabled, they will rotate and disappear when put the device in portrait mode (and reappear when put again in landscape mode).
     
  6. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,627
    What are those buttons? Is that something Unity puts or the OS?
    You can check by creating a simple XAML project without Unity at all and see if those buttons are still there.
     
  7. tiz777

    tiz777

    Joined:
    Jan 20, 2010
    Posts:
    93
    Aha!

    They are also present on a simple XAML project!

    I know it's not your competence at this point, but do you have any tips for that?
     
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    No idea - maybe check the emulator? I've never seen anything like this before - maybe it's device specific?
     
  9. tiz777

    tiz777

    Joined:
    Jan 20, 2010
    Posts:
    93
    Have to install Windows 8 Pro to run the emulator and check, and at the moment have just one device to test it...

    I directly ask to a Microsoft guy, and as soon as I found a solution I'll put it here ;) Thank you!
     
  10. tiz777

    tiz777

    Joined:
    Jan 20, 2010
    Posts:
    93
    Not a definitive answer, but I can say that for sure it's related to the phone.
    I didn't noticed before, but in fact those 3 lines are present in all applications (i.e. camera, settings, ...)
    The only related article I've found is this, but unfortunately since now without a solution.