Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2021.2
2022.1
2022.1.0b4
2022.2
Issue ID
1396504
Regression
No
"SerializedProperty has disappeared!" error thrown when calling ApplyModifiedProperties after deleting a property
Full title: "SerializedProperty counters.Array.data[1] has disappeared!" error thrown when calling ApplyModifiedProperties after deleting a property and accessing the managedReferenceValue of properties in a ReorderableList of the next property in the array
Reproduction steps:
1. Open the user's attached project "AFPSCounter-2022.1.zip"
2. Open "ProfilerCounters" Scene
3. Select "Advanced FPS Counter" in the Hierarchy window
4. Click the "-" next to "FPS Counter" in the Inspector window
Expected result: No error in the Console window
Actual result: An error is thrown:
SerializedProperty counters.Array.data[1] has disappeared!
UnityEditor.SerializedProperty:get_managedReferenceValue ()
Reproducible with: 2021.2.14f1, 2022.1.0b10, 2022.2.0a4
Not reproducible with: 2022.2.0a5, 2022.2.0a6
Could not test with: 2019.4.36f1, 2020.3.29f1 ("The list of [SerializeReference] objects being deserialized is from a more recent version of Unity. This is not supported and objects will be skipped.")
Note: "FPS Counter" has to be expanded for the issue to be reproducible
Comments (2)
-
NathanJacobs
Jun 06, 2022 17:02
Is this going to be fixed in 2021 LTS as well?
-
Nexer8
May 23, 2022 14:17
Could this be backported to 2022.1.X?
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a5