Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by Brendan · Oct 07, 2015 at 07:08 AM ·

Trouble using PlayFab C# Unity SDK on iOS

Brendan Vanous
started a topic on Thu, 09 October 2014 at 6:20 PM

A few users have reported issues using the PlayFab C# Unity SDK with iOS, with one of two repros:

1) An error on compile, like so:

ExecutionEngineException: Attempting to JIT compile method '(wrapper delegate-invoke) System.Reflection.MonoProperty/Getter`2<PlayFab.ClientModels.LoginWithIOSDeviceIDRequest, string>:invoke_string_this__LoginWithIOSDeviceIDRequest (PlayFab.ClientModels.LoginWithIOSDeviceIDRequest)' while running with --aot-only.

2) Everything appears to compile and run, but calls to LoginWithIOSDeviceID result in no call to the success or error callbacks.

Comment

People who like this

0 Show 0
10 |1200 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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Oct 07, 2015 at 07:08 AM

7 Comments
Brendan Vanous said on Thu, 09 October 2014 at 6:24 PM

What we've found is that there are certain compatibility issues on iOS with the Full version of .Net 2.0. Changing the compile settings in Unity from full .Net to .Net 2.0 Subset resolves these issues.

We will update the PlayFab C# SDK at a later date to ensure that we've accounted for the underlying compatibility issues.


fuddi said on Wed, 10 December 2014 at 8:00 AM

Hey,

We also have this issue and it is very annoying that our game on iOS cannot login with PlayFab.

Have you solved it and updated the PlayFab C# SDK or when do you plan to do it?

Best Regards

-Jesper


Brendan Vanous said on Wed, 10 December 2014 at 8:33 AM

Hi Jesper,

Because there's an easy workaround (use .Net 2.0 Subset) and no one has stated that .Net 2.0 Full is needed, we haven't prioritized this work. If you must have .Net 2.0 Full, can you provide specifics on what aspects of it are required?

Brendan


fuddi said on Wed, 10 December 2014 at 8:46 AM

Hi Brendan

OK I will try it out. We have some SQLite plugin which didn't work with .Net 2.0 Subnet, but we will try to use another.

Thanks for the quick reply :-)

-Jesper


Brendan Vanous said on Wed, 10 December 2014 at 2:55 PM

Sounds good. Could you also let us know what the specifics are on the plugin (basically, the name)?

Thanks,

Brendan


fuddi said on Thu, 11 December 2014 at 2:52 AM

Sure.

The plugin was SQLiter (https://www.assetstore.unity3d.com/en/#!/content/20660). When trying to build the Unity project with .NET 2.0 Subnet, we got these errors... see log file.

Thanks

-Jesper


Brendan Vanous said on Thu, 11 December 2014 at 3:33 PM

Thanks, Jesper. As it turns out, one of our engineers jumped on this ahead of schedule and checked in an update to our Unity SDK which accounts for the issue on iOS. If you grab the latest version, you shouldn't run into this anymore.

Brendan

Comment

People who like this

0 Show 0 · Share
10 |1200 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

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.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    No one has followed this question yet.

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges