Author Topic: BUG! Cant build game with NGUI on Unity Flash Pro  (Read 3020 times)

JuMa

  • Guest
BUG! Cant build game with NGUI on Unity Flash Pro
« on: June 18, 2013, 05:20:59 PM »
I updated the ngui to latest (2.6.2 version) in my project from asset store. I added some new stuff to the project. Everything works great in unity editor. But i cant make flash build. I got unity pro and flash pro.Also i have tried NGUI example scene ( Controller Input) i get the same error. Thanks for your helps.
These are the errors when i try to make build.
 Usage of a type or method not supported by Unity Flash.
* Details:  Return type of unsupported type System.Reflection.PropertyInfo
* Source:   D:\RND\ngui\Assets\NGUI\Scripts\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:\RND\ngui\Assets\NGUI\Scripts\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:\RND\ngui\Assets\NGUI\Scripts\Internal\NGUITools.cs(?H844 at line : 0

Error building Player: Exception: Validation step FlashDotNetAPIValidationRule Failed!
« Last Edit: June 18, 2013, 06:07:20 PM by JuMa »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile