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
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment