Search Issue Tracker
Fixed
Fixed in 1.5.X
Votes
1
Found in [Package]
1.4.0
Issue ID
MTTB-897
Regression
No
The GhostPresentationGameObjectSystem throws a ObjectDisposedException when multiple ghosts are removed at the same time
How to reproduce:
1. Open the project “IN-92376_Ghosts”
2. Enter Play Mode
3. Observe the Console
Expected result: No errors appear
Actual result: The ObjectDisposedException error appears
Reproducible with: 1.0.8 (2022.3.55f1), 1.2.0 (2022.3.55f1), 1.4.0 (2022.3.55f1, 6000.0.33f1, 6000.1.0b1)
Couldn’t test with: 2021.3.47f1 (Netcode for Entities package is not supported)
Reproducible on: Windows 11
Not reproducible on: No other platforms tested
Notes:
* GhostPresentationGameObjectSystem iterates over ghosts using Entities.ForEach. During this it uses ComponentLookup. During the loop the system performs RemoveComponent this invalidates the ComponentLookup but the system does not refresh the state throwing the ObjectDisposedException
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment