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
- UI GameObjects are not positioned at 0,0,0 when creating them while Scene view is active
- Mesh Filter and Mesh Renderer property icons are difficult to see on blue highlight when selected in Animator window
- Orientation X, Y, and Z input fields are misaligned with other Element 0 fields in the Tile Palette window
- Locked tabs end up selecting the same asset when another window is maximized and unmaximized
- ListView element is rendered in solid black after docking if UI Builder window was already opened prior to project launch
Resolution Note:
There are no fixes planned for this Bug