Search Issue Tracker
Won't Fix
Won't Fix in 1.0.X
Votes
1
Found in [Package]
1.0.0 - Entities
Issue ID
ECSB-229
Regression
No
Missing components exceptions appear when using CopyAndReplaceEntities
How to reproduce:
1. Download and open the attached project
2. Enter "Play" mode
3. Press X on the keyboard after a few seconds
4. Observe the console window
Expected outcome: No errors appear
Actual outcome: "ArgumentException: System.ArgumentException: The entity does not exist." errors appear
Reproducible with 2020.3.46f1 (0.51.1-preview.21), 2021.3.21f1 (0.51.1-preview.21), 2022.2.11f1 (1.0.0-pre.47), 2023.1.0b8 (1.0.0-pre.47), 2023.2.0a6 (1.0.0-pre.47)
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (1.0.X):
EntityManager.CopyAndReplaceEntitiesFrom is unfortunately making a series of assumptions that fundamentally prevent this function from ever working in the general case. And recent changes in the way entities are allocated made it even more difficult to use properly. So we have decided to deprecate this function. There is just no way it would ever deliver on what it was supposed to do.