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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment