Search Issue Tracker
Won't Fix
Votes
2
Found in [Package]
0.50.1
Issue ID
ECSB-11
Regression
No
[DOTS] Compiler error "System.InvalidOperationException: Method Cloner ILPP" when using multidimensional arrays
FixBranch: dots/release-0.51
How to reproduce:
1. Open the user's project "1235902_ErrorDOTS.zip"
2. Observe the Console window
Expected result: No error occurs
Actual result: Error "(0,0): error System.InvalidOperationException: Method Cloner ILPP..." occurs
Reproducible with: 0.17.0-preview.42, 0.50.0-preview.24, 0.50.1-preview.2 (2020.3.34f1)
Could not test with: 2021.3.2f1 (due to "JobsUtility' does not contain a definition for '...'" errors)
Reproduced on: macOS (Intel) Monterey 12.3.1, Windows 10
Notes:
- Full error message: "(0,0): error System.InvalidOperationException: Method Cloner ILPP: Cannot find method TestMethod_System.Int32[,] in TestSystem. Method candidates are OnUpdate, TestMethod_System.Int32[0...,0...], TestSystem_LambdaJob_0_Execute, OnCreateForCompiler, .ctor"
- If the error doesn't occur, enable Burst compiler or re-import "TestSystem.cs"
- Workaround: Store the argument in a field on the system and remove it from the parameters.
public partial class TestSystem : SystemBase{
int[,] arr;
protected override void OnUpdate() \{ }
private void TestMethod() {
Entities .ForEach(() => \{ }).Run();
// Also issue can be reproduced with Job.WithCode
// Job.WithCode(() => \{ }).Run();
}
}
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
There are no fixes planned for this Bug