• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Ergonator · Jun 22, 2015 at 03:41 PM · u3dxt

U3DXT Social.Mail causes Json Exception

Hi,

i'm trying to send an attachment via mail using U3DXT SocialXT.Mail()-function.

XCode says:

Exception: Exception of type 'System.Exception' was thrown. at SimpleJson.JsonObject.get_Count () [0x00000] in :0 at UnityEngineInternal.TypeInferenceRuleAttribute..ctor (TypeInferenceRules rule) [0x00000] in :0 at U3DXT.Core.CoreXT._Init () [0x00000] in :0 at U3DXT.Core.CoreXT..cctor () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 at U3DXT.iOS.Native.Internals._SocialInit..cctor () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 at U3DXT.iOS.Native.MessageUI.MFMailComposeViewController..cctor () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 at MailAnything.Start () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 Rethrow as TypeInitializationException: The type initializer for 'U3DXT.Core.CoreXT' threw an exception. at U3DXT.iOS.Native.Internals._SocialInit..cctor () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 at U3DXT.iOS.Native.MessageUI.MFMailComposeViewController..cctor () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 at MailAnything.Start () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 Rethrow as TypeInitializationException: The type initializer for 'U3DXT.iOS.Native.Internals._SocialInit' threw an exception. at U3DXT.iOS.Native.MessageUI.MFMailComposeViewController..cctor () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 at MailAnything.Start () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0 Rethrow as TypeInitializationException: The type initializer for 'U3DXT.iOS.Native.MessageUI.MFMailComposeViewController' threw an exception. at MailAnything.Start () [0x00000] in :0 at System.Array+InternalEnumerator`1[System.Byte].get_Current () [0x00000] in :0

I get the same error when i run the MailAnything example on my iPad3 with iOS 8.3.

Any ideas how to fix this error?

Thanks in advance!

Edit: I'm using Unity version 5.1.0f3

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

How Do I Get Support for U3DXT's iOS SDK Plugin? 6 Answers

How do I get ReportAchievement to notify the user? 1 Answer

Launching the appstore via u3dxt 1 Answer

U3DXT - Choose Video from Photos App 1 Answer

GameCenter turnbased match making using player group 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges