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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
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.