Search Issue Tracker
Active
Under Consideration for 1.0.X
Votes
1
Found in [Package]
1.0.0 - Entities
Issue ID
ECSB-334
Regression
No
InvalidOperationException spam when EntityManager.GetAllEntities is part of an ExclusiveEntityTransaction and it's scheduled after an IJobEntity
Reproduction steps:
1. Open the attached project “ReproProject”
2. Enter Play mode
Expected result: There are no errors in the Console
Actual result: Errors are spammed in the Console:
"InvalidOperationException: The Unity.Entities.EntityTypeHandle has been declared as [WriteOnly] in the job, but you are reading from it."
Reproducible with: 1.0.0-pre.65 (2022.2.19f1), 1.0.8 (2022.2.19f1, 2023.1.0b17, 2023.2.0a15)
Couldn’t test with: 0.17.0-preview.42, 0.50.1-preview.2 (2020.3.48f1) (Various errors), 0.51.1-preview.21 (2021.3.25f1) (Collections errors)
Reproducible on: macOS 13.2.1 (Intel), Windows 11 (user’s)
Note: no errors are thrown after commenting line 20 of Repro.cs which schedules an IJobEntity
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment