Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2020.1.0a19
2020.2
2020.2.0a7
Issue ID
1238478
Regression
No
[Serialization][URP] "SerializedObject destroyed" errors are thrown when Gobal Volume effect is undone via Assets > Properties
When undo is pressed for any effect added to Global Volume component from Assets > Properties, "SerializedObject target has been destroyed" errors are thrown continuously. Refer the attached video
Steps to reproduce:
1) Create a new project
2) Window > Package Manager > Install URP
3) Create Global Volume gameObject > Make a prefab
4) Assets > Properties > Add any effect to Global Volume prefab
5) Edit > Undo or Press Ctrl + Z
Actual Result: "SerializedObject target has been destroyed." errors are thrown
Expected result: Effects should be removed from both property window as well as in Inspector and no errors should be thrown
Occurring on: 2020.2.0a7, 2020.1.0b6, 2020.1.0a19
Environment: Both Windows and Mac
Note: Property window is introduced in Unity version 2020.1.0a19
Stack Trace:
1) Retrieving array element that was out of bounds
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
2) SerializedProperty components.Array.data[2] has disappeared!
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
3) SerializedObject target has been destroyed.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment