Usage of a type or method not supported by Unity Flash.
* Details: Return type of unsupported type System.Reflection.PropertyInfo
* Source: D:\Unity Projects\SWF Test\Assets\Plugins\NGUI\Internal\NGUITools.cs(?H815 at line : 0
Usage of a type or method not supported by Unity Flash.
* Details: Invokes an unsupported method System.Object System.Reflection.PropertyInfo::GetValue(System.Object,System.Object[]) on type System.Reflection.PropertyInfo
* Source: D:\Unity Projects\SWF Test\Assets\Plugins\NGUI\Internal\NGUITools.cs(?H839 at line : 0
Usage of a type or method not supported by Unity Flash.
* Details: Invokes an unsupported method System.Void System.Reflection.PropertyInfo::SetValue(System.Object,System.Object,System.Object[]) on type System.Reflection.PropertyInfo
* Source: D:\Unity Projects\SWF Test\Assets\Plugins\NGUI\Internal\NGUITools.cs(?H844 at line : 0
Error building Player: Exception: Validation step FlashDotNetAPIValidationRule Failed!
D:\Unity Projects\SWF Test\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(277): col: 43 Error: Access of possibly undefined property depth through a reference with static type global:UIWidget.
D:\Unity Projects\SWF Test\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(277): col: 54 Error: Access of possibly undefined property depth through a reference with static type global:UIWidget.
D:\Unity Projects\SWF Test\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIFont.as(454): col: 17 Error: Call to a possibly undefined method Object_Equals_Object_Object through a reference with static type Class.
Error building Player: Exception: java Failed:
Loading configuration file D:\Unity\Editor\Data\PlaybackEngines\flashsupport\BuildTools\flex\frameworks\flex-config.xml
D:\Unity Projects\SWF Test\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(277): col: 43 Error: Access of possibly undefined property depth through a reference with static type global:UIWidget.
return Int32Operations.CompareTo($w2.depth, $w1.depth);
^
D:\Unity Projects\SWF Test\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(277): col: 54 Error: Access of possibly undefined property depth through a reference with static type global:UIWidget.
return Int32Operations.CompareTo($w2.depth, $w1.depth);
^
D:\Unity Projects\SWF Test\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIFont.as(454): col: 17 Error: Call to a possibly undefined method Object_Equals_Object_Object through a reference with static type Class.
if (!Object.Object_Equals_Object_Object(this.UIFont$mDynamicFontOffset$, $num)) {
^
Flash support is being dropped by Unity -- you know that, right?
You can fix that part by replacing all of it with:
#if !UNITY_WEBPLAYER && !UNITY_FLASH && !UNITY_METRO static PropertyInfo mSystemCopyBuffer = null; static PropertyInfo GetSystemCopyBufferProperty () { if (mSystemCopyBuffer == null) { mSystemCopyBuffer = gui.GetProperty("systemCopyBuffer", BindingFlags.Static | BindingFlags.NonPublic); } return mSystemCopyBuffer; } /// <summary> /// Access to the clipboard via a hacky method of accessing Unity's internals. Won't work in the web player. /// </summary> public static string clipboard { get { PropertyInfo copyBuffer = GetSystemCopyBufferProperty(); return (copyBuffer != null) ? (string)copyBuffer.GetValue(null, null) : null; } set { PropertyInfo copyBuffer = GetSystemCopyBufferProperty(); if (copyBuffer != null) copyBuffer.SetValue(null, value, null); } } #else /// <summary> /// Access to the clipboard is not supported on this platform. /// </summary> public static string clipboard { get { return null; } set { }; } #endif
D:\Unity Projects\ReactionTest\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(277): col: 43 Error: Access of possibly undefined property depth through a reference with static type global:UIWidget.
D:\Unity Projects\ReactionTest\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(277): col: 54 Error: Access of possibly undefined property depth through a reference with static type global:UIWidget.
D:\Unity Projects\ReactionTest\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIFont.as(454): col: 17 Error: Call to a possibly undefined method Object_Equals_Object_Object through a reference with static type Class.
Error building Player: Exception: java Failed:
Loading configuration file D:\Unity\Editor\Data\PlaybackEngines\flashsupport\BuildTools\flex\frameworks\flex-config.xml
D:\Unity Projects\ReactionTest\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(277): col: 43 Error: Access of possibly undefined property depth through a reference with static type global:UIWidget.
return Int32Operations.CompareTo($w2.depth, $w1.depth);
^
D:\Unity Projects\ReactionTest\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIWidget.as(277): col: 54 Error: Access of possibly undefined property depth through a reference with static type global:UIWidget.
return Int32Operations.CompareTo($w2.depth, $w1.depth);
^
D:\Unity Projects\ReactionTest\Temp\StagingArea\Data\ConvertedDotNetCode\global\UIFont.as(454): col: 17 Error: Call to a possibly undefined method Object_Equals_Object_Object through a reference with static type Class.
if (!Object.Object_Equals_Object_Object(this.UIFont$mDynamicFontOffset$, $num)) {
^
2.6.3 fixes this. Sorry forgot to update the post. I will release it likely tomorrow.