Search Issue Tracker
Fixed in 2023.1.0b14
Fixed in 2023.1.X, 2023.2.X, 2023.2.0a11
Votes
0
Found in
2023.1.0a25
2023.2.0a4
Issue ID
UUM-24691
Regression
Yes
Unable to build project when using a public optional bool variable
Reproduction steps:
1. Open project “GenericFieldError”
2. Open scene “SampleScene”
3. Build and Run project
Expected result: The project is built
Actual result: The project is not built and compiler errors are shown in the Console
Reproducible with: 2023.1.0a20, 2023.1.0a25
Not reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a19
Reproducible on: Catalina 10.15.7 (Intel)
Note: No compiler errors after deleting “public Optional<Value2<bool>> Q” line in “Foo.cs” and building the project
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
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
- URP _EMISSION keyword removed from Material when Global Illumination is set to None
- Adding “Entities Graphics Stats Drawer (Script)” Component in Inspector spams “InvalidOperationException: using UnityEngine.Input with Input System active” errors in the Console window
Resolution Note (fix version 2023.1):
Fixed in 2023.1.0b14