Search Issue Tracker

Duplicate

Votes

0

Found in

2021.3.16f1

2022.2.4f1

2023.1.0a22

Issue ID

UUM-28787

Regression

Yes

Crash on SerializableManagedRef::GetScriptType() when you drag a .vfx file into another VFX graph

-

Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open “VFX1“
3. Drag “VFX2“ into the window

Expected result: Shader appears in the Shader Editor window
Actual result: Editor freezes and crashes after a minute

Reproducible with: 2021.2.0b14, 2021.2.19f1, 2021.3.16f1, 2022.2.4f1, 2023.1.0a22
Not reproducible with: 2020.3.44f1, 2021.2.0b13
Couldn’t test with: 2023.1.0a23 (cannot drag another VFX file into the window), 2023.2.0a3 (cannot drag another VFX file into the window)

Reproducible on: Windows 10 22H2

First lines of backtrace call stack:

{noformat}[ 09 ] SerializableManagedRef::GetScriptType() ( SerializableManagedRef.cpp:325 )
[ 10 ] ThreadAndSerializationSafeCheck::ReportError(char const *) ( ScriptingThreadAndSerializationSafeCheck.cpp:117 )
[ 11 ] unsigned char *::operator!=(!Unknown! const &) ( ScriptingTypes.h:447 )
[ 12 ] EditorPerformanceTracker_CUSTOM_TryStartTrackerByHandle(unsigned __int64,int *) ( EditorBindings.gen.cpp:107627 ){noformat}

  1. Resolution Note:

    For 2023.1 stream the fix is available starting with version 2023.1.0a23 (the video shows version 2023.1.0a15)
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-14670

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.