Search Issue Tracker
Fixed
Fixed in 1.5.1
Votes
0
Found in [Package]
1.5.1
Issue ID
BUR-1096
Regression
No
[Burst ] C# 9 Function pointers cause compile error when casting IntPtr to delegate*<int, int>
Reproduction steps:
1. Open the attached project ("Burst.Delegates.zip")
2. Open Test Runner window (Window -> General -> Test Runner)
3. Select PlayMode
4. Run FunctionPointerTest
5. Open the Console window
Expected result: Test ran successfully, no errors in the console
Actual result: Error is output "Burst error BC1054: Unable to resolve type `method System.Int32 *(System.Int32). Reason: Unknown."
Reproducible with: 2021.2.0a11, 2021.2.0a13
Not reproducible with: 2018.4.33f1, 2019.4.24f1, 2020.3.4f1, 2021.1.3f1, 2021.2.0a10 (C# language version 9 was updated in 2021.2.0a11)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
Add comment