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
- HDR Cubemap Encoding setting resets itself when the project is reopened
- “Property (_AdditionalShadowParams) exceeds previous array size (41 vs 32)…” warning is spammed when exceeding the light limit set in URP Config package
- An unclear error occurs when exceeding the light limit set in URP Config package
- ShaderGraph error is thrown when the first subgraph output isn't previewable
- Crash on RaiseException or freeze when rendering Malaylam text using the Advanced Text Generator in a specific project
Resolution Note:
There are no fixes planned for this Bug