Search Issue Tracker

Fixed in 1.5.0-pre.3

Votes

0

Found in [Package]

1.4.4

Issue ID

1305489

Regression

No

[Burst] Initializing FixedString with an Interpolated String with another FixedString sets length parameter to 125 every time

Package: Burst

-

How to reproduce:
1. Open the attached project ("case 1305489.zip")
2. Jobs > Burst > Enable Compilation (uncheck this)
3. Enter Play mode
4. "B Length: 20: Content: Interpolate Test1 10" gets logged to the Console
5. Jobs > Burst > Enable Compilation (check this)
6. "B Length: 125: Content: Interpolate Test1 10" gets logged to the Console

Expected results: When using Burst to initialize a FixedString with an interpolated string that has another FixedString inside the escape brackets, the length parameter gets set correctly
Actual results: When using Burst to initialize a FixedString with an interpolated string that has another FixedString inside the escape brackets, the length parameter is set to a maximum (125) each time

Reproducible with: Burst 1.3.7, 1.4.4 (2020.2.2f1-dots.4, 2021.1.0b5, 2021.2.0a3)
Not reproducible with: Burst 1.5.0-pre.3 (2020.2.2f1-dots.4, 2021.1.0b5, 2021.2.0a3)

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.