Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.4.0 - Collections

Issue ID

ECSB-126

Regression

No

Deferred Job arrays don't work when cast to a NativeSlice

Package: Unity Native Collections

-

Reproduction steps:
1. Open the attached project "Deferred_NativeSlice_Bug"
2. Enter Play mode
3. Observe the Console log
4. Open EntryPoint.cs
5. Comment line 79 and uncomment line 80
6. Enter Play mode
7. Observe the Console log

Expected result: "Worker job operated on 5 elements." is logged at both steps 3 and 7
Actual result: "Worker job operated on 0 elements." is logged at step 7

Reproducible with: 1.4.0 (2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a20)
Could not test with: 2.1.0-exp.4, 2.1.0-pre.2 (2022.2.0.b16) (Package compilation errors)

Reproducible on: macOS 12.4 (Intel)

  1. Resolution Note:

    This issue should already be resolved and cannot be reproduced.
    https://github.cds.internal.unity3d.com/unity/unity/commit/d94404f5d0d8806216349f87138790d338cb01a8

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.