Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.30f1
2022.3.10f1
2023.1.14f1
2023.2.0b11
2023.3.0a6
Issue ID
UUM-49558
Regression
No
Mono Behavior of serializable reference type gets created when selecting a corresponding object in the Hierarchy window if it’s null and the Inspector window is set to Debug mode
How to reproduce:
1. Open the user’s attached “TestInsectorProject.zip” project
2. Open “SampleScene” Scene (Assets > Scenes)
3. Enter Play Mode
4. Change the Inspector’s mode to “Debug”
5. In the Hierarchy window, select “TestInsector” GameObject
6. Observe the Console window
Expected result: “Is null: True” is logged
Actual result: “Is null: False” is logged
Reproducible with: 2021.3.30f1, 2022.3.10f1, 2023.1.14f1, 2023.2.0b11, 2023.3.0a6
Reproduced on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Note: not reproducible with “Normal” Inspector mode
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
When we use [NonSerialized] attritube instead than [Serializable] attritube, we get the class object value as NULL in both debug and normal inspector modes.