A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
There already exist Nuget packages that are only compatible with Unity. Those library authors are just currently adding a reference directly to...
@JoshPeterson With Nuget support included in the new sdk-style projects, are there any plans to add UnityEngine reference assemblies to Nuget so...
Until they break their own promise... https://github.com/Cysharp/UniTask/pull/548#issuecomment-1952544532
Slow is relative. If the branch can be hoisted outside of the loop, then yes having it inside the loop will be slow(er than it could be). Linq...
v3.0.0 is released! Improved performance and reduced memory. Added UnityEngine.Awaitable convert to Promise extensions. Removed deprecated APIs....
Thanks for the feedback. I will add it.
It's a trivial extension. Is that something you'd be interested in having added to ProtoPromise?
If that's the case, you could just use System.Threading.Tasks.Task, because that's built-in. Though it's considerably heavy compared to the...
For advanced async usages like WhenAll/WhenAny, I suggest using a complete async library. Some good options are UniTask or my own ProtoPromise....
v2.7.0 is released! Added AsyncEnumerable<T> allocation-free async iterators (requires C# 7.3 or newer). Added allocation-free async Linq...
If you've ever called StartCoroutine and did nothing with the return value, you have already done "fire and forget" async code. Replace those...
Sadly, you probably will never be able to without access to Unity's source code, since they implemented some of it natively, and they are...
That's a false assertion, as Unity has already proven. C# just makes it difficult to work with it. [Edit] I see by "async" you meant "async...
Span is more efficient because you don't have to allocate managed memory. Native memory doesn't slow down the GC in that case. That is only true...
It irks me that C# doesn't allow ref structs in async functions that don't cross await boundaries. There is nothing unsafe about it. The way Unity...
The native side likely copies those values to a heap-allocated native array. It doesn't need to continue existing in managed memory.
That's a real pity. So it's impossible to capture unhandled exceptions from library code that spawns threads and doesn't handle it themselves. And...
That's an implementation detail of the runtime, so why does it matter? Are you relying on those details for some reason?
I see. So if I start a background managed thread, I will need to somehow pass it a CancellationToken that will be canceled when the...
If AssemblyLoadContext is .Net Core's replacement for AppDomain, couldn't the domain reload just be changed to assembly reload instead? It should...