• 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
Question by Sundaerae · Nov 21, 2012 at 03:16 AM · flashsmartfox

Will Smartfox/PlayerIO on Unity Flash be supported?

Based on my trial run, both of PlayerIO and Smartfox's Unity3D API won't work if the project is exported to flash because of 'Not supported in Unity Flash' errors.

Here's some example from smartfox's errors:

Usage of a type or method not supported by Unity Flash. Details: Field of unsupported type System.Collections.Generic.Queue`1 Sfs2X.SmartFox::eventsQueue at line : 0

Usage of a type or method not supported by Unity Flash. Details: Field of unsupported type System.Timers.Timer Sfs2X.SmartFox::disconnectTimer at line : 0

Usage of a type or method not supported by Unity Flash. Details: Instantiation of unsupported type System.Collections.Generic.Queue`1 Sfs2X.Core.BaseEvent


And the answer from Smartfox's side is : "At the moment there's no plan to "fix" that because it would require a huge work and possibly it's not even possible. Many of the classes required in the API cannot be substituted without largely impacting all the existing project. Additionally I think Unity will improve the Flash support, this is just the very first release and problems are very likely to occur."

so, will the current PlayerIO/Smartfox API be supported by Unity3D, or will there be problem on Unity side too so they won't be supported? and is there any workaround for this?

Comment

People who like this

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

2 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Benjaminsen · Nov 26, 2012 at 12:05 PM

Chris Benjaminsen from Player.IO here.

While we do not yet offer a nicely wrapped fully functional exporter for Unity3d > Flash it's something we are actively working on. In the mean-time one of the users in our great community have made a great example / written a how to.

The forum thread can be found here: http://playerio.com/forum/unity-general/unity-build-to-flash-player-11-playerio-t2014

Direct download: http://www.arcadedevelopergroup.com/UnityFlashAndPlayerIO.zip

If you are running into the .NET limited AOT compiler issue, there is a beta API that works here: http://playerio.com/forum/unity-mobile/aot-cross-compile-error-in-unity-4-t34419

Comment

People who like this

0 Show 0 · Share
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
avatar image

Answer by Sundaerae · Nov 26, 2012 at 02:35 PM

thanks! the embeddedapi.swc really solved all my problems. All other 3rd party swc also works ;)

Comment

People who like this

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

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity + SmarFox 2x via Flash export 0 Answers

A node in a childnode? 1 Answer

How to add exported flash video to unity project? 1 Answer

Unity 3.5 - Flash Export 1 Answer

Call C# function from within as3? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges