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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment