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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment