Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2017.3.1f1
Issue ID
1052246
Regression
No
Unity crashes when debugging a string with an invalid Unicode character
How to reproduce:
1. Open the attached "1052246.zip" project
2. Open "main" scene and "BugRepro" script
3. Add a breakpoint in line 11
4. Attach the debugger to Unity Editor
5. Press the Play button in Unity
Expected result: Unity continues to run
Actual result: when the breakpoint is hit, Unity closes
Reproducible with - 2017.1.0a1, 2017.1.4p2, 2017.2.3p2, 2017.4.6f1, 2018.1.7f1, 2018.2.0b9, 2018.3.0a3
Notes:
- not related to a specific IDE. Reproducible with both Visual Studio and JetBrains Rider
- the crash does not occur if no additional characters are added to the string (to check this, uncomment line 10)
Fixed only in .NET 4.x
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment