Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - yangchongze00

Pages: [1]
1
NGUI 3 Support / Re: Exception Java Failed error
« on: August 10, 2015, 04:46:08 PM »
I think the first part, you should change it to

  1.  
  2. #if UNITY_FLASH
  3.                     string[] temp_1 = new string[newSize];
  4.                     for (int b = 0, bmax = mLanguages.Length; b < bmax; ++b) temp_1[b] = mLanguages[b];
  5.                     mLanguages = temp_1;
  6. #else
  7.                     System.Array.Resize(ref mLanguages, newSize); // <-- this is the old line that's there now
  8. #endif
  9.  
  10.  


or it still makes some error

2
NGUI 3 Support / Re: Exception Java Failed error
« on: August 05, 2015, 06:07:54 PM »
Is there any way I can solve this problem ?

3
NGUI 3 Support / Re: Exception Java Failed error
« on: August 05, 2015, 01:43:37 PM »
I upload NGUI to latest, but I still have the problem below.

C:\Users\Chongze\Documents\BextrAAAMatchingInUnity4\Temp\StagingArea\Data\ConvertedDotNetCode\global\Localization.as(221): col: 16 Error: Call to a possibly undefined method CLIArray_Resize$1_TArrayRef_Int32 through a reference with static type Class.


C:\Users\Chongze\Documents\BextrAAAMatchingInUnity4\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIKeyBinding.as(106): col: 34 Warning: Class used where a Boolean value was expected.  The expression will be type coerced to Boolean.


C:\Users\Chongze\Documents\BextrAAAMatchingInUnity4\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIKeyBinding.as(107): col: 35 Warning: Class used where a Boolean value was expected.  The expression will be type coerced to Boolean.


Error building Player: Exception: java Failed:
Loading configuration file C:\Program Files (x86)\Unity4\Editor\Data\PlaybackEngines\flashsupport\BuildTools\flex\frameworks\flex-config.xml

C:\Users\Chongze\Documents\BextrAAAMatchingInUnity4\Temp\StagingArea\Data\ConvertedDotNetCode\global\Localization.as(221): col: 16 Error: Call to a possibly undefined method CLIArray_Resize$1_TArrayRef_Int32 through a reference with static type Class.

                  CLIArray.CLIArray_Resize$1_TArrayRef_Int32(new ByRef((function(): CLIObjectArray {
                           ^

C:\Users\Chongze\Documents\BextrAAAMatchingInUnity4\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIKeyBinding.as(106): col: 34 Warning: Class used where a Boolean value was expected.  The expression will be type coerced to Boolean.

         var $flag: Boolean = UICamera.UICamera$GetKeyDown$(this.UIKeyBinding$keyCode$);
                                       ^

C:\Users\Chongze\Documents\BextrAAAMatchingInUnity4\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIKeyBinding.as(107): col: 35 Warning: Class used where a Boolean value was expected.  The expression will be type coerced to Boolean.

         var $flag2: Boolean = UICamera.UICamera$GetKeyUp$(this.UIKeyBinding$keyCode$);
                                        ^



4
NGUI 3 Support / Exception Java Failed error
« on: August 04, 2015, 07:42:57 PM »
I got error when I want to build my game out as flash, so is like this:


C:\Users\Chongze\Documents\BextrAAAMatchingInUnity4\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(102): col: 17 Error: Call to a possibly undefined method op_Inequality through a reference with static type Class.


Error building Player: Exception: java Failed:
Loading configuration file C:\Program Files (x86)\Unity4\Editor\Data\PlaybackEngines\flashsupport\BuildTools\flex\frameworks\flex-config.xml

C:\Users\Chongze\Documents\BextrAAAMatchingInUnity4\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(102): col: 17 Error: Call to a possibly undefined method op_Inequality through a reference with static type Class.

         if (Function.op_Inequality(this.UIWidget$mOnRender$, $value)) {
                      ^
Any ideas I can solve this problem?

Pages: [1]