Search Issue Tracker
Fixed
Fixed in 2022.2.16f1, 2023.1.0b12, 2023.2.0a9
Votes
0
Found in
2022.2.0f1
2023.1.0a21
Issue ID
UUM-20170
Regression
Yes
Private fields disappear in the Inspector window when entering Play mode if the Inspector window mode is “Debug”
How to reproduce:
1. Open the attached “Debug.zip” project
2. Open the “SampleScene” Scene
3. In the Inspector window press three dots at the top right and choose “Debug”
4. Select “GameObject” GameObject and observe the script component fields
5. Enter Play Mode and observe the script component fields
Expected result: Fields are still visible
Actual result: Fields become not visible and “InvalidOperationException“ or “NullReferenceException“ errors appear
Reproducible with: 2022.2.0a9, 2022.2.0f1, 2023.1.0a21
Not reproducible with: 2020.3.42f1, 2021.3.15f1, 2022.1.23f1, 2022.2.0a8
Reproduced on:
macOS 12.4 (Intel)
Windows 10 Pro
Notes:
- fields become visible after deselecting and selecting the “GameObject” GameObject
- not reproducible with public fields
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
- Tilemap.SetTile() does not change the tiles when called from Update() in the Player
- Custom Shader Material is pink when the project is built for the WebGL platform
- New 3D URP Sample Scenes Project is created with an invalid dependency on com.unity.render-pipelines.universal-config when creating the Sample Project for the first time
- Canvas Scaler causes abnormal scaling of Canvas elements in Play Mode when UI Scale Mode is set to "Constant Physical Size" and any Editor window is moved to a differently scaled monitor and is interacted with
- Touch.rawPosition always returns (0,0) when clicking or dragging anywhere on the screen in the Play Mode
Resolution Note (fix version 2023.2.0a9):
Fixed in: 2023.2.0a9
Resolution Note (fix version 2023.1.0b12):
Fixed in: 2023.1.0b12
Resolution Note (fix version 2022.2.16f1):
Fixed in: 2022.2.16f1