Search Issue Tracker
Active
Votes
0
Found in
2020.3.46f1
2021.3.22f1
2022.2.13f1
2023.1.0b10
2023.2.0a8
Issue ID
UUM-31355
Regression
No
Multiple "Identifier expected", "{ expected" and "} expected" errors are thrown when naming a Script by a number
How to reproduce:
1. Open the attached “My Projectaasdasd.zip“
2. Create a new C# Script (Right click > Create > C# Script)
3. Name the Script “1”
Expected result: No errors are thrown in the Console window
Actual result: Multiple "Identifier expected", "{ expected" and "} expected" errors are thrown in the Console window
Reproducible with: 2020.3.46f1, 2021.3.23f1, 2022.2.13f1, 2023.1.0b10, 2023.2.0a8
Reproduced in: macOS Monterey 12.6
Note: Issue is not reproducible when creating a script without naming it by a number and then renaming the script to a number
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment