Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2020.3.X, 2021.2.X

Votes

19

Found in

2020.1

2020.1.14f1

2020.2

Issue ID

1295472

Regression

No

AsyncGPUReadback.RequestIntoNativeArray causes InvalidOperationException on NativeArray

Visual Effects

-

How to reproduce:
1. Open the attached project named "Case_129547"
2. Open the TestScene2 in the Scenes folder
3. Enter Play mode
4. Observe the Console Window

Expected result: No errors are thrown on entering the Play mode
Actual result: InvalidOperationException on NativeArray error is thrown

Reproducible with: 2020.1.17f1, 2020.2.1f1, 2021.1.0a10
Could not test with: 2018.4.30f1, 2019.4.17f1(Missing script references)

Reproducible with graphics APIs: D3D11, D3D12, Vulkan, OpenGLCore

Notes:
1. Does not reproduce on all machines

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a12

  2. Resolution Note (fix version 2021.2):

    Fixed in Unity 2021.2.2f1

  3. Resolution Note (fix version 2020.3):

    Fixed in - 2020.3.23f1

Comments (15)

  1. Wojimus

    May 15, 2021 05:17

    This bug is still here and It's been known since 2015, come on guys,

  2. wusticality

    May 11, 2021 09:03

    What is the status of this?

  3. forestrf

    Mar 25, 2021 02:50

    Encountered on 2019.4 too.

  4. sean_virtualmarine

    Mar 03, 2021 19:57

    I just encountered this issue, too. On 2019.4.

  5. Dimetrock

    Feb 10, 2021 22:12

    I think this should be moved to graphics.

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.