How to reproduce:
1. Open the “Burst.zip“ project
2. Observe the Console
Expected result: No errors are seen in the Console
Actual result: An error can be seen in the Console
Reproducible with: 1.7.0(2020.3.48f1), 1.8.4(2020.3.48f1, 2021.3.25f1, 2022.2.19f1, 2023.1.0b16, 2023.2.0a15)
Not reproducible with 1.6.6(2020.3.48f1)
Reproducible on: Windows 10, Windows 11
Note:
The error.
.\Library\PackageCache\com.unity.collections@2.1.0-pre.18\Unity.Collections\Jobs\IJobParallelForDefer.cs(52,21): Burst error BC1045: Struct TestCode/TestValueTuple& with auto layout is not supported at Unity.Jobs.IJobParallelForDeferExtensions.JobParallelForDeferProducer`1<TestCode.TestValueTuple>.Execute(ref TestCode.TestValueTuple jobData, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, ref Unity.Jobs.LowLevel.Unsafe.JobRanges ranges, int jobIndex) (at .\Library\PackageCache\com.unity.collections@2.1.0-pre.18\Unity.Collections\Jobs\IJobParallelForDefer.cs:52)