Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X
Votes
3
Found in
2022.3.52f1
6000.0.26f1
6000.1.0a3
Issue ID
UUM-87193
Regression
No
SubScene baking breaks with the "SelectManagedFn failed to cast Unity.Burst.FunctionPointer" warning when reloading domain with multiple workers
Reproduction steps:
1. Open the attached “repro_IN-88591“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. In the Editor window overlay, select “REPRODUCE THE BUG → EXECUTE“
4. Observe the Console
Expected result: No warnings appear
Actual result: “[Worker<…>] SelectManagedFn failed to cast Unity.Burst.FunctionPointer`1[Unity.Entities.SystemBaseRegistry+ForwardingFunc]. BurstFn: <…>.Forwarding Func: Unity.Entities.SystemBaseRegistry+ForwardingFunc. Falling back to managed delegate. Please report this as a bug using Help > Report a Bug...“ warning appears
Reproducible with: 1.8.18 (2022.3.52f1, 6000.0.27f1, 6000.1.0a4)
Couldn’t test with: 1.8.18 (2021.3.46f1) - Not able to launch the project due to compilation errors while downgrading
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Notes:
* If the warning doesn’t appear, repeat the 3rd step
* The reproduction rate varies: reporter’s rate is around 80%, my rate while testing is around 30%
* Reporter’s hardware: Ryzen 9 3900X, RTX 4070 (used core count: 16)
* My hardware: Intel i9-10980HK, RTX 3080 (used core count: 16)
* According to the reporter, to maximize the chance of reproduction, ensure you use a CPU with a high core count
* Make sure that the “Desired Import Worker” count is high in the “Project Settings… -> Editor -> Asset Pipeline”
* According to the reporter, the “Exception thrown during SubScene import: System.InvalidCastException: Specified cast is not valid.“ error sometimes appears instead of the “SelectManagedFn failed to cast Unity.Burst.FunctionPointer“ warning
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Add comment