Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 ssutch · May 01, 2013 at 03:38 PM · .netupdates

When does Unity3D typically get updates from Xamarin?

I am building a library that I will be using in a Unity3D game, as well as on a server (we want to write once, use both places). The library would greatly benefit from being based off the .NET 4.5 profile as is the most recent prerelease of Xamarin (specifically async/await!)

When does Unity3D typically get these changes?

Comment
Add comment · Show 4
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 Julien-Lynge · May 01, 2013 at 04:24 PM 0
Share

Just a thought: since async/await relies on System.Threading, you won't be able to use it with any of the Unity functionality anyway - Unity requires all calls to UnityEngine and UnityEditor stuff to happen off the main thread.

So, could you build your code externally to Unity and compile as a dll, then import your dll into Unity as a plugin?

avatar image ssutch · May 01, 2013 at 04:28 PM 0
Share

You can schedule code to occur on whatever thread unity requires.

avatar image Julien-Lynge · May 01, 2013 at 04:34 PM 0
Share

Someone with more program$$anonymous$$g experience will have to speak to this, but if you try to call it from, say, an Update(), I foresee bad things happening.

avatar image ssutch · May 01, 2013 at 04:39 PM 0
Share

What you'd end up doing is creating an inbox of sorts that processes inco$$anonymous$$g messages at an interval and dispatches that on the proper thread to any other objects in the graph.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by DaveA · May 01, 2013 at 05:03 PM

My take on it is that Unity uses Mono, and Mono mimics .NET. And Mono follows .NET, and Unity follows Mono. So Mono would have to support this first, then Unity would adopt that. In the past, this has been a very slow process. I have no idea when they intend to rev things again.

Comment
Add comment · Show 1 · 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 ssutch · May 01, 2013 at 05:33 PM 0
Share

Thanks for the effort, but the reason I posted this is because $$anonymous$$onoTouch will be supporting the .NET 4.5 profile in the next version (you can play with it now via the prerelease of Xamarin.iOS). I would like to know how frequently Unity pulls in those changes from "upstream"

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.

Follow this Question

Answers Answers and Comments

14 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 avatar image avatar image avatar image avatar image

Related Questions

Monodevelop will not open .NET Framework Initialization error - Unable to find a version of the runtime to run this application 0 Answers

Scripting Generic stat modifiers. 0 Answers

accesing filestream denied for SharpZipLib for Unity3d iOS 1 Answer

[OnSerialize] and other events doesn't work 0 Answers

How to change the target framework to Unity 3.5 .net Subset Base Class Libraries in the MonoDevelop-Unity? 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