Search Issue Tracker

Fixed

Fixed in 2023.1.11f1, 2023.2.0b7, 2023.3.0a1

Votes

0

Found in

2023.1.0b19

2023.2.0a17

Issue ID

UUM-37034

Regression

Yes

Crash on TypeTreeQueries::FullyQualifiedTypeNameParts::TryGetFromReflectionTypeString when building bundles

--

-

Reproduction steps:
1. Open the attached “CrashRepro” project
2. Click Test > Go

Expected result: Unity Editor successfully builds bundles
Actual result: Unity Editor crashes

Reproducible with: 2023.1.0a20, 2023.1.0b19, 2023.2.0a17
Not reproducible with: 2020.3.48f1, 2021.3.26f1, 2022.3.0f1, 2023.1.0a19

Reproducible on: Ubuntu 23.04, Windows 10, Intel Mac 13.3. M1 Max Mac 13.3.1

First lines of the stack trace:
#0 0x007fc5aec3c4b0 in __sigaction
#1 0x005630adf93f0d in TypeTreeQueries::FullyQualifiedTypeNameParts::TryGetFromReflectionTypeString(core::basic_string<char, core::StringStorageDefault<char> > const&, dynamic_array<TypeTreeQueries::FullyQualifiedTypeNameParts, 0ul>&)
#2 0x005630aecf1834 in SerializeTypePreserver::AccumulateType(ScriptingClassPtr, bool)
#3 0x005630adf2e294 in void SerializeTraits<ManagedObjectTransferer>::Transfer<ReportScriptingObjectsTransfer>(ManagedObjectTransferer&, ReportScriptingObjectsTransfer&)
#4 0x005630adecc4f4 in void Transfer_ManagedObject<ReportScriptingObjectsTransfer, false>(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&)
#5 0x005630ade7c06e in TransferScriptingObject<ReportScriptingObjectsTransfer>(ReportScriptingObjectsTransfer&, ScriptingObjectPtr, ScriptingClassPtr, SerializationCache::Data*&)::{lambda(bool, bool)#1}::operator()(bool, bool) const
#6 0x005630ade7be93 in void TransferScriptingObject<ReportScriptingObjectsTransfer>(ReportScriptingObjectsTransfer&, ScriptingObjectPtr, ScriptingClassPtr, SerializationCache::Data*&)

Notes:

* Reproduces about 80% of the tries.
* Reimport the project on every tested version.

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.