Search Issue Tracker
Won't Fix
Won't Fix in 1.0.X
Votes
0
Found in [Package]
1.0.0
Issue ID
ECSB-231
Regression
No
DynamicBuffer's AsArray() returns an invalidated array when there are no structural changes
Reproduction steps:
1. Open user attached “repro-project”
2. Enter Play mode
3. Observe Console
Expected result: No errors in the Console
Actual result: “ObjectDisposedException: Attempted to access BufferLookup<SomeBuffer> which has been invalidated by a structural change.” error message in the Console
Reproduced with: 1.0.0-pre.44 (2022.2.9f1, 2023.1.0b6, 2023.2.0a5), 1.0.0-pre.47 (2022.2.9f1)
Could not test with: 1.0.0-pre.44 (2020.3.45f1, 2021.3.19f1) (too many errors)
Reproducible on: macOS 13.2.1 (Intel), Windows 10 (by the reporter)
Note: Not reproduced in Player
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
- [Android] Light2D with Light type "Spot" does not work in the Player on some Pixel devices
- [Android] Loading the asset using an old reference returns null even when the "FormerlySerializedAs" attribute is used
- Crash on ParticleSystemTrailGeometryJob::RenderJobCommon when changing trail Mode change with a large particle count
- Mouse cursor does not revert to the default mouse cursor when pressing the "Add column" button in the Search window
- ArgumentException is thrown and textures become unreadable when AssetBundle.Unload(false) is called
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (1.0.X):
The structural change is AddRange() itself. The compiler doesn't know that buffer1 does not alias buffer2.