Search Issue Tracker

Won't Fix

Votes

0

Found in

2022.2.21f1

2023.1.0b18

2023.2.0a16

2023.3.0a3

6000.0.0b11

Issue ID

UUM-33707

Regression

Yes

[HDRP] Crash when renaming a Custom Pass immediately after adding it to the list of Custom Passes

--

-

Steps to reproduce:
1. Open any HDRP project
2. Create a Custom Pass Volume (RMB in the Hierarchy>Volume>Custom Pass)
3. Add an Object ID Custom Pass to the Custom Pass list
4. Type in a name for the newly added Custom Pass

Actual result: the Editor crashes
Expected result: the Editor does not crash

Reproducible with: 2022.2.0a1, 2022.1.0a11, 2023.1.0a2, 2023.2.0a11
Not reproducible with: 2022.1.0a10

Note: the issue seems to appear in HDRP 13.0.0

Stack:
#0 0x0000010e9f68b8 in TypeTreeIterator::Children() const
#1 0x0000010ea3186b in TypeTreeQueries::HasManagedReferences(TypeTree const&)
#2 0x0000010f8e92c5 in ResizeArrayGeneric(TypeTreeIterator const&, dynamic_array<unsigned char, 0ul>&, int, int, bool, SerializedManagedReferencesIndex*, TypeTree const*)
#3 0x0000010f8e91b5 in SetStringValue(TypeTreeIterator const&, dynamic_array<unsigned char, 0ul>&, int, core::basic_string<char, core::StringStorageDefault<char> > const&, SerializedManagedReferencesIndex*, TypeTree const*)
#4 0x0000010fa69e3e in SerializedProperty::SetStringValue(core::basic_string<char, core::StringStorageDefault<char> > const&)
#5 0x0000010dfd5b59 in SerializedProperty_CUSTOM_SetStringValueInternal(ScriptingBackendNativeObjectPtrOpaque*, ScriptingBackendNativeStringPtrOpaque*)
#6 0x0000024d593df4 in (wrapper managed-to-native) UnityEditor.SerializedProperty:SetStringValueInternal (UnityEditor.SerializedProperty,string) [{0x7fed5c289460} + 0x104] (0x24d593cf0 0x24d593ecf) [0x16d682a80 - Unity Child Domain]
#7 0x00000240478733 in UnityEditor.PropertyHandler:OnGUI (UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool,UnityEngine.Rect) [{0x7fed7cb87848} + 0x1233] [/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs :: 194u] (0x240477500 0x24047aa60) [0x16d682a80 - Unity Child Domain]
#8 0x0000024047746b in UnityEditor.PropertyHandler:OnGUI (UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool) [{0x7fed7cb877f0} + 0x19b] [/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs :: 142u] (0x2404772d0 0x2404774d4) [0x16d682a80 - Unity Child Domain]

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.