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.
How do you call it, on which version of Unity? As far as I know, NativeArray.Dispose(inputDeps) schedules non-Bursted job, as stated in the...
I am writing out of my head, I hope that also correctly. To put is simply -quit makes Unity Editor exit after importing project and executing...
I''ve just switched to UTF 2.0 and I just wanted to share that I really like that playmode and editmode tests can be run all at once. What is...
I recall the saying "the fastest code is the code you don't execute": can't you make persistent allocation instead? So you don't pay for...
@DragonCoder Information much space is left is volatile, so worthless in parallel job. But you can "inject" needed extension method which returns...
@OndrejP According to this table, TypedReference is not supported only by IL2CPP, so I guess it should work in mono...
Yeah, as far as I know it was there since forever, but used to be internal class and is public since last few releases. Also, about managing...
About the `in`, I can add few cents from analysis I've made on Burst 1.4, I am not sure how it stands nowadays (but probably the same)...
Maybe you could store data in ScriptableSingleton [1], allocate it in `OnEnable`, dipose in `OnDisable` (to properly handle domain reloads). As an...
@danielaquestions The only way I've found is to detect `DetachFromPanelEvent` without `AttachToPanelEvent` right after it. So you could detect...
If anyone ever stumbles on this issue, I've found a workaround. Mapping memory layout of `NativeArray` seems to do the work. All of my tests do...
Hey, I've been using custom NativeContainer attributed with `NativeContainerSupportsDeferredConvertListToArray` since Unity 2019.2. In Unity...
Hey, I hope you will find worth fixing it, even if it is based only on "official workaround". To quote the docs: The type...
@MelvMay I guess there will be less burden if you simply move my post. Thanks in advance :)
Hey, we currently have some inconsistencies with deferring `NativeList`s. In short, calling `list.AsDeferredJobArray().AsReadOnly()` will yield...
@Dre0Dru I am not sure which is the most performant, but there is also: RigidTransform which stores vector and quaternion....
@Mortuus17 Don't you have to use [NoAlias] on all of raw pointers passed into jobs to enable few more optimizations? Anyway, about the safety...
@Baggers_ Based on sources (https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/NativeArray/NativeSlice.cs#L79),...
Currently NativeArray internally has managed DisposeSentinel, so it cannot be used in SharedStatic. Maybe you can use UnsafeList<T> or...
Unfortunatelly, sub-array is just a view over original container, which shares same safety handler, thus is considered as the same array by jobs...