Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.39f1

2022.3.32f1

6000.0.5f1

Issue ID

UUM-73373

Regression

No

NativeArray can not be accessed when making a second AsyncGPUReadback.RequestIntoNativeSlice request

--

-

How to reproduce:
1. Open the “IN-77552_repro“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Observe the Console

Expected result: Error is not thrown
Actual result: InvalidOperationException error is thrown

Reproducible with: 2021.3.39f1, 2022.3.32f1, 6000.0.5f1

Reproducible on: WIndows 10
Not reproducible on: No other environment tested

Error: InvalidOperationException: The Unity.Collections.NativeArray1[System.Byte] can no longer be accessed, since its owner has been invalidated. You can simply Dispose() the container and create a new one.

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.