Search Issue Tracker
Fixed
Fixed in 1.1.0-exp.3
Votes
0
Found in [Package]
1.1.0-exp.1
Issue ID
ULOG-17
Regression
Yes
[Unity Logging] Editor freezes when logging messages that contain curly brackets
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
Expected result: The error message "Some message with brackets {}" is present and the Editor continues to run
Actual result: Error message “FormatException: Input string was not in a correct format.“ is present and the Editor freezes
Reproducible with: 1.1.0-exp.1 (2022.3.11f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a9)
Not reproducible with: 1.0.16 (2023.3.0a9)
Could not test with: 0.51.1-preview.21 (2021.3.31f1) (Library\PackageCache\com.unity.collections@2.3.0-exp.1\Unity.Collections\FixedList.gen.cs(23,13): error CS0234: The type or namespace name 'Properties' does not exist in the namespace 'Unity')
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- If double curly brackets are required for the correct behavior, the Error message “FormatException: Input string was not in a correct format.“ could mention that
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 1.1.0-exp.3):
Issue was caused by attempting to format log messages that were already formatted by the logging package. This caused issues when the formatted log message contained braces.