Search Issue Tracker
Fixed
Votes
0
Found in [Package]
0.11.2-preview.2
Issue ID
1288759
Regression
No
[ECS] ITriggerEventsJob job handle is not registered as a job dependency
How to reproduce:
1. Open the user's attached project ("PhysicsCallbackRepro.zip")
2. In the Toolbar select Jobs and toggle "JobsDebugger" on
3. Enter Play mode
Expected results: The dependencies created are registered as part of the Physics system that executes them
Actual result: The dependency is not registered as a part of the Physics system, they do not get executed and an Error is thrown
Reproducible with: 2019.4.14f1, 2020.1.11f1, 2020.2.0b10, (ECS 0.11.1-preview.4 - 0.11.2-preview.1)
Could not test with: 2018.4.28f1 (ECS did not exist yet)
Could not test with packages: ECS 0.13.0-preview.24 - 0.16.0-preview.21 (Couldn't upgrade)
Error:
InvalidOperationException: The system Unity.Transforms.EndFrameParentSystem reads Unity.Transforms.LocalToWorld via TestSytem:TriggerEventsJob but that type was not returned as a job dependency. To ensure correct behavior of other systems, the job or a dependency of it must be returned from the OnUpdate method.
Unity.Entities.JobComponentSystem.AfterOnUpdate (Unity.Jobs.JobHandle outputJob, System.Boolean throwException) (at Library/PackageCache/com.unity.entities@0.11.1-preview.4/Unity.Entities/JobComponentSystem.cs:102)
Unity.Entities.JobComponentSystem.Update () (at Library/PackageCache/com.unity.entities@0.11.1-preview.4/Unity.Entities/JobComponentSystem.cs:148)
Unity.Entities.ComponentSystemGroup.UpdateAllSystems () (at Library/PackageCache/com.unity.entities@0.11.1-preview.4/Unity.Entities/ComponentSystemGroup.cs:445)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment