Search Issue Tracker
Fixed
Fixed in 1.1.0-exp.1 - Entities
Votes
1
Found in [Package]
1.0.0
1.1.0 - Entities
Issue ID
ECSB-282
Regression
No
Code generation failure happens when using SystemAPI.Time.DeltaTime in a class that inherits from SystemBase
Reproduction steps:
1. Open project “DeltaTime”
2. Observe the Console window
Expected result: no errors are thrown
Actual result: “Processing assembly Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp.dll, with 124 defines and 257 references“ error is thrown
Reproducible with: 1.0.0-pre.65 (2022.2.16f1, 2023.1.0b13, 2023.2.0a11)
Couldn’t test with: 0.51.1-preview.21 (2020.3.47f1, 2021.3.23f1, 2022.2.16f1, 2023.1.0b13, 2023.2.0a11) (compiler errors)
Reproducible on: Windows 11
Notes:
- Commenting out line 28 and uncommenting line 29 in “Assets\Repro.cs” gives expected results
- The documentation states: SystemBase.Time and SystemState.Time are now deprecated and you should use SystemAPI.Time instead: [https://docs.unity3d.com/Packages/com.unity.entities@1.0/manual/upgrade-guide.html#update-systembasetime-and-systemstatetime|https://docs.unity3d.com/Packages/com.unity.entities@1.0/manual/upgrade-guide.html#update-systembasetime-and-systemstatetime]
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
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- The Shortcuts window cannot be docked when it is invoked from the Shortcut Helper Bar
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note (fix version 1.1.0-exp.1 - Entities):
ILPP patching now correctly handles override methods with modifiers on arguments (corresponding test: https://github.cds.internal.unity3d.com/unity/dots/pull/10101/files#diff-f2839a608e619c3a3524b7220a7fd5b783714adacf1ce94c09c401e0bef30df1R53-R55)