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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
There are no fixes planned for this Bug