Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.55f1
6000.0.32f1
6000.1.0a8
6000.2.0a1
6000.3.0a1
6000.4.0a1
Issue ID
UUM-91676
Regression
No
Burst compile error is thrown when the system contains Update System Group logic
Reproduction steps:
1. Open the attached “UpdateSystemGroup.zip” project
2. Open the “Assets/Code/ForceUpdateSystem.cs” file
3. Uncomment the 25 line
4. Save the file
5. Reimport the “Assets/Code/ForceUpdateSystem.cs” file (Right-click > Reimport)
6. Observe the Console window
Expected result: No errors are thrown
Actual result: “.\Library\PackageCache\com.unity.entities\Unity.Entities\WorldUnmanaged.cs(893,13): Burst error BC1006: The catch construction is not supported” error is thrown
Reproducible with: 2022.3.55f1, 6000.0.32f1, 6000.1.0a8
Couldn't test with: 2021.3.47f1 (Could not resolve compilation errors)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
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
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
Resolution Note:
ComponentSystemGroup implements SystemBase, and is a managed system; it is therefore not possible to update it from Burst-compiled code. This is mainly for historical reasons, as system groups predate unmanaged systems. Unfortunately, there are no plans to change this in Entities 1.x, as this would be a breaking API change.
One workaround in the meantime would be to call back out to a managed function from Burst, and update the system group from that managed function. Another would be to implement a simple unmanaged system group, which stores a NativeList<SystemHandle> and updates each list entry in turn.