Search Issue Tracker
Fixed
Fixed in 1.0.X - Entities
Votes
1
Found in [Package]
1.0.0
Issue ID
ECSB-314
Regression
No
IJobEntity causes "NullReferenceException" errors after Scheduling Jobs when the ExclusiveEntityTransaction singleton is not called
How to reproduce:
1. Open the “Transaction_Job_Bug“ project
2. Open the “SampleScene”
3. Enable debugging
4. Open the “ProcessEntities2” Script and add breakpoints to lines 57 and 82
5. Enter Play Mode and continue through all breakpoints
Expected result: errors are logged to the Console during the Scheduling of Jobs
Actual result: “NullRefereceException” errors are logged to the Console after Scheduling Jobs
Reproduced with: 1.0.0-pre.65 (2022.2.19f1, 2023.1.0b16, 2023.2.0a14)
Not reproduced with: 0.17.0-preview.41 (2020.3.48f1, 2021.3.25f1, 2022.2.19f1, 2023.1.0b16, 2023.2.0a14), 1.0.0-pre.65 (2020.3.48f1, 2021.3.25f1) (Could not resolve scripting errors)
Reproduced on: Windows 11
Notes:
1. Error logs are provided in internal comments
2. Not reproducible when line 86 in “ProcessEntities2” is uncommented
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
- Job scheduling with batching is slow with dependencies and worker threads have poor utilization
- [HDRP] HDAdditionalLightData.RequestSubShadowMapRendering on directional lights breaks cascade shadows rendering
- Memory leaks when Instantiating Objects with SerializeReference
- Currently selected Action Map switches to the first Action Map in the list and it's first Action when editing the Binding Path of a newly created Action
- "F" default focusing Unity shortcut zooms out when the first time focusing the GameObject
Resolution Note (fix version 1.0.X - Entities):
Fixed and backported to 1.0 and 1.1