Search Issue Tracker

Fixed

Fixed in 1.8.8

Votes

0

Found in [Package]

1.6.6

1.7.4

1.8.7

Issue ID

BUR-2445

Regression

No

Burst internal compiler error when using Math.Clamp

Package: Burst

-

Reproduction steps:
1. Open the attached project “SleefRepro“
2. Observe Console

Expected result: No errors in Console
Actual result: Error in Console: Burst internal compiler error: Burst.Compiler.IL.CompilerException: Unable to find sleef function ``

Reproduced with: 1.6.6 (2021.3.27f1), 1.7.4 (2021.3.27f1), 1.8.7 (2022.3.4f1, 2023.1.2f1, 2023.2.0a21)

Reproduced on: macOS 13.4 (Intel), Windows 10 (user reported)

Notes: Error is caused by System.Math.Clamp function which should be compatible with Burst according to documentation

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.