Search Issue Tracker
By Design
Votes
0
Found in [Package]
0.2.3, 0.2.4
Issue ID
1196574
Regression
Yes
[Entities][Physics] "ArgumentException: There are no more items left to be read" is thrown when GetComponentData is called
How to reproduce:
1. Open attached project "CollisionSample.zip" and scene "Sample Scene"
2. Enter Play mode
3. Observe Console window
Expected result: "Collides!" is printed
Actual result: "ArgumentException: There are no more items left to be read." error is thrown
Reproducible with: 2019.2.12f1, 2019.3.0b10, 2020.1.0a12 (0.2.3, 0.2.4 previews)
Not reproducible with: 2019.2.12f1 (0.2.0, 0.2.2 previews)
Could not test with: 2017.4, 2018.4 due to missing ICollisionEventsJob and other package manager errors
Different Package Versions:
"ICollisionEventsJob could not be found" error is thrown (Physics package previews 0.0.1, 0.0.2)
"InvalidOperationException: The previously scheduled job BlockStream:ConstructJob writes to the NativeArray ConstructJob.BlockStream" error is thrown (preview 0.1.0)
"Collides!" is printed 51 times (previews 0.2.0, 0.2.2)
"ArgumentException: There are no more items left to be read." error is thrown (previews 0.2.3, 0.2.4)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note:
Hard to discern the user's intent from the attached example, but it seems to be user error. I've attached an example demonstrating more correct usage based on what I think they're trying to do.