Search Issue Tracker
Fixed in pre 0.50.0
Votes
0
Found in [Package]
0.16.0-preview.21
Issue ID
1299250
Regression
No
[ECS] Meaningful error not thrown when an interpolated string is used in .WithName in a Job
How to reproduce:
1. Open the attached project "ECS.zip"
2. Observe line 61 in "rteg.cs"
Expected results: WithName affects the output of the compilation, so it has to be something constant and it should also respect the naming conventions of C# identifiers. So a meaningful error is thrown describing this.
Actual result: "Unexpected error while post-processing lambdas in SpottingSystem:OnUpdate. Please report this error." is thrown
Reproducible with: 2019.4.17f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a10, 2021.2.0a1 (ECS 0.11.2-preview.1 - 0.16.0-preview.21)
Could not test with: 2018.4.30f1 (Errors downgrading)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment