Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: brunoroma on May 22, 2014, 05:26:29 AM

Title: UIButton WP8 Error
Post by: brunoroma on May 22, 2014, 05:26:29 AM

release 3.5.8


Failed to call function gotClickMissionChoosePanel of class BBPostScore
Calling function gotClickMissionChoosePanel with no parameters but the function requires 1.
Title: Re: UIButton WP8 Error
Post by: ArenMook on May 22, 2014, 03:57:32 PM
So you're calling a function passing no parameters, when in fact the function has a parameter.
Title: Re: UIButton WP8 Error
Post by: brunoroma on May 23, 2014, 11:58:46 AM
I do not call anything is UIButton onClick notify works perfectly on all platforms except WP8 and WinStore
I had to use legacy ButtonMessage.

I also got this error message when compiling for WINStore

Assets\NGUI\Scripts\Internal\DataNode.cs(727,12): error CS1061: 'System.Type' does not contain a definition for 'IsEnum' and no extension method 'IsEnum' accepting a first argument of type

I advise you to avoid compatibility with WP8 and WinStore


Others Errors

Incorrectly unloaded MonoBehaviour class 'UIButtonMessage' in prefab 'Checkbox_EASY' during GarbageCollectUnusedAssets.
The Object will be reloaded from disk, to fix this properly keep a reference to the MonoBehaviour directly instead of the game object or other component.
 
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/PlatformDependent/WinRT/GarbageCollectSharedAssetsWinRT.cpp Line: 658)

Incorrectly unloaded MonoBehaviour class 'UIToggle' in prefab 'Checkbox_EASY' during GarbageCollectUnusedAssets.
The Object will be reloaded from disk, to fix this properly keep a reference to the MonoBehaviour directly instead of the game object or other component.
 
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/PlatformDependent/WinRT/GarbageCollectSharedAssetsWinRT.cpp Line: 658)

Incorrectly unloaded MonoBehaviour class 'UIPanel' in prefab 'Panel' during GarbageCollectUnusedAssets.
The Object will be reloaded from disk, to fix this properly keep a reference to the MonoBehaviour directly instead of the game object or other component.
 
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/PlatformDependent/WinRT/GarbageCollectSharedAssetsWinRT.cpp Line: 658)

Incorrectly unloaded MonoBehaviour class 'UIButton' in prefab 'ButtonD' during GarbageCollectUnusedAssets.
The Object will be reloaded from disk, to fix this properly keep a reference to the MonoBehaviour directly instead of the game object or other component
Title: Re: UIButton WP8 Error
Post by: ArenMook on May 23, 2014, 04:47:05 PM
DataNode doesn't exist in NGUI anymore. It was moved to TNet. Please follow upgrade instructions when updating NGUI. Check the readme file.

P.S. I just noticed you're still on 3.5.8? You need to update to the latest.