Author Topic: Weird display on certain android devices  (Read 4135 times)

xikky

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 46
    • View Profile
Weird display on certain android devices
« on: July 16, 2013, 01:07:00 AM »
A friend of mine installed a prototype version of my game to find out that the GUI in Main menu, which is built with NGUI, looks weird. I have attached two images to display how it is supposed to look and how it is looking on my friend's device. I will be available to send over details about device and android later as I don't know them yet.

Further more, when he hits play, a new scene is loaded in which I have an NGUI camera to show GUIs in-game and another camera (tk2d) to show game objects. In this scene, NGUI display looks ok on his device.

Any suggestions on this pls?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Weird display on certain android devices
« Reply #1 on: July 16, 2013, 10:34:16 AM »
All kinds of weird shit happens when you don't clear your screen.

Check your camera's clear settings. At least one camera needs to clear skybox/color -- and it must be the first camera to be drawn.

xikky

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 46
    • View Profile
Re: Weird display on certain android devices
« Reply #2 on: July 16, 2013, 02:12:54 PM »
The NGUI camera in my main menu (the only camera) clear setting was set to depth only. I changed it to clear color. Don't know the difference yet but I will post back the result.