Author Topic: NGUI is not working in my target device  (Read 4344 times)

ojhygib

  • Guest
NGUI is not working in my target device
« on: March 26, 2013, 07:06:19 AM »
 I am using NGUI trial version to make a HTPC(Home theater pc).
 
 My development environment is Eclipse + Android SDK + Unity3d.
 
 in this environment, i tested the NGUI example with emulator, and Samsung Galaxy S3, it was working fine.
 
 But i tested NGUI examples in the ODROID-U2, it was stucked after first rendering
 
 the symptoms are 1) in the "NGUI Example: Interaction", the 3D action (UIDragObject) was working well, but the button was not working,
          it seems to be NO Collider in the Gameobject, but the button from widget has it. and also i checked everything is fine
                                in emulator and Samsung G3.
               
      2) the Apps to be maden with Unity3d from Google like Candle is working fine in ODROID-U2
             
   Would you let me know some clue to solve this one ?

 My guess is that ODROID-U2 has omitted some Library related openGL ES 2.0, but i don't what it is.   
 
  ODROID-U2 is my target device for HTPC and the detail product description is in the http://www.hardkernel.com/renewal_2011/main.php

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI is not working in my target device
« Reply #1 on: March 26, 2013, 02:02:08 PM »
By default, clear color for the camera has alpha of 5 out of 255. Set it back to 255.

ojhygib

  • Guest
Re: NGUI is not working in my target device
« Reply #2 on: March 27, 2013, 04:29:57 AM »
 As you let me know "clear color for the camera has alpha of 5 out of 255. Set it back to 255",

 i changed the alpha of Camera's background from 5 to 255.

 it does NOT working at all.

 i also checked the other background alpha like as button, it is not usefull to solve this problem.

 please let me know what is the problem !

ojhygib

  • Guest
Re: NGUI is not working in my target device
« Reply #3 on: March 27, 2013, 08:50:44 PM »
 i tested two things
 1), To check whether the openGL ES 2.0 lib was installed correctly in Odroid-U2,
      i had written a simple java program with  openGL ES 2.0 functions in Eclipse and Android Sdk environment.

      it is working well. so it is not openGL ES 2.0 problem.

 2), To check whether Unity3d's GUI is working,  i also made the simple three scenes including GUI buttons to navigate among scenes.

      it is also OK.

 From now on, i am trying to guess what is the somthing between NGUI ans Odroid-U2.

 one minor thing is that Odroid-U2 was setted in "Yes" (Debug) in debug column of the android device chooser.
 is it related to this probem ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI is not working in my target device
« Reply #4 on: March 27, 2013, 08:56:41 PM »
Which camera did you adjust? You need to change the color on the main camera, not the UI camera.

ojhygib

  • Guest
Re: NGUI is not working in my target device
« Reply #5 on: March 28, 2013, 03:11:52 AM »
 Yes, i modified the Main Camera's background Alpha in the NGUI Example 2 which has one main camera.