Search Issue Tracker

Fixed

Fixed in 6000.1.15f1, 6000.2.0f1, 6000.3.0a4

Votes

0

Found in

2021.3.50f1

2022.3.60f1

6000.0.44f1

6000.1.0b11

6000.2.0a7

6000.3.0a1

Issue ID

UUM-101234

Regression

No

Freeze/crash with multiple StackTraces when opening a specific project

-

Steps to reproduce:
1. Open the “user’s attached project”
2. Observe Unity freeze or crash

Reproducible with versions: 2021.3.50f1, 2022.1.0a1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b11, 6000.2.0a7

Reproducible on: macOS 15.1.1 (M1 Max), macOS 14.2.1 (intel) (By the reporter), Windows 11( By CraigH)
Not reproducible on: no other environment tested

First few lines of StackTraces:
{noformat}
#0 0x000001030167ec in retain_root_reference(AllocationRootWithSalt)
#1 0x0000010300d470 in MemoryManager::Reallocate(void, unsigned long, unsigned long, MemLabelId const&, AllocateOptions, char const, int)
#2 0x0000010352f794 in dynamic_array_detail::dynamic_array_data::grow(unsigned long, unsigned long)
#3 0x00000104b48978 in NativeFormatImporter::EndImport(dynamic_array<Object, 0ul>&)
#4 0x000001049c098c in ImportToObjects(core::basic_string<char, core::StringStorageDefault<char>> const&, core::hash_map<AssetDatabase::ImporterID, ImporterInfo, core::hash<AssetDatabase::ImporterID>, std::__1::equal_to<AssetDatabase::ImporterID>> const&, dynamic_array<PostprocessorInfo, 0ul> const&, AssetResolveTracker const&, ImportAssetInputs const&, ImportAssetOutputs&, IImportProgress
){noformat}
{noformat}
#0 0x00000105488a48 in BucketAllocator::Allocate(unsigned long, int)
#1 0x0000010547c714 in DualThreadAllocator<DynamicHeapAllocator>::Allocate(unsigned long, int)
#2 0x00000105470940 in MemoryManager::Allocate(unsigned long, unsigned long, MemLabelId const&, AllocateOptions, char const, int)
#3 0x0000010546ffc8 in malloc_internal(unsigned long, unsigned long, MemLabelId const&, AllocateOptions, char const
, int)
#4 0x000001055e6440 in core::vector_detail::vector_data::grow(unsigned long, unsigned long){noformat}
{noformat}
#0 0x000001054dc6dc in TypeTreeIterator::GetNode() const
#1 0x00000105505dd4 in TypeTreeQueries::IsStreamedBinaryCompatible(TypeTreeIterator const&, TypeTreeIterator const&)
#2 0x000001054eaff0 in SerializedFile::SerializedType::CompareAgainstNewType(Object const&, core::vector<SerializedFile::SerializedType, core::allocator<SerializedFile::SerializedType, 0ul>> const&, TransferInstructionFlags) const
#3 0x000001054f56f8 in SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const*, bool, Object&, CacheReaderBase) const
#4 0x000001054d67f0 in PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile
, bool, bool, PersistentManager::LockFlags){noformat}
{noformat}
#0 0x0000010d8f73ee in std::__1::pair<std::__1::__tree_iterator<std::__1::__value_type<TextureID, Texture>, std::__1::__tree_node<std::__1::__value_type<TextureID, Texture>, void>, long>, bool> std::__1::__tree<std::__1::__value_type<TextureID, Texture>, std::__1::__map_value_compare<TextureID, std::__1::__value_type<TextureID, Texture>, std::__1::less<TextureID>, true>, stl_allocator<std::__1::__value_type<TextureID, Texture>, (MemLabelIdentifier)24, 16>>::__emplace_unique_key_args<TextureID, std::__1::pair<TextureID, Texture>&>(TextureID const&, std::__1::pair<TextureID, Texture>&)
#1 0x0000010d9d9fbf in Texture2D::UploadTexture(int, bool)
#2 0x0000010d9d73f0 in Texture2D::AwakeFromLoad(AwakeFromLoadMode)
#3 0x0000010e0b7ea7 in AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item
, unsigned int, AwakeFromLoadMode, bool)
#4 0x0000010e0b7bb3 in AwakeFromLoadQueue::PersistentManagerSingleQueueAwakeFromLoad(int, AwakeFromLoadMode){noformat}

  1. Resolution Note (fix version 6000.3.0a4):

    The crashes or hangs were happening because of corrupted font files. On latest 6000.1.15f1, 6000.2.0f1 and 6000.3.0a4 these situations are handled correctly by the Editor - there are no crashes or hangs any more. Now Editor throws such error:

    "The image data of Texture '< asset name>' has an unexpected size (expected 1, got 1048576). Exceeding data will be ignored. If this corruption started after taking specific actions in Unity, please file a bug report with the steps to reproduce the corrupted asset."

  2. Resolution Note (fix version 6000.2.0f1):

    The crashes or hangs were happening because of corrupted font files. On latest 6000.1.15f1, 6000.2.0f1 and 6000.3.0a4 these situations are handled correctly by the Editor - there are no crashes or hangs any more. Now Editor throws such error:

    "The image data of Texture 'ExtraBold SDF Atlas' has an unexpected size (expected 1, got 1048576). Exceeding data will be ignored. If this corruption started after taking specific actions in Unity, please file a bug report with the steps to reproduce the corrupted asset."

  3. Resolution Note (fix version 6000.1.15f1):

    The crashes or hangs were happening because of corrupted font files. On latest 6000.1.15f1, 6000.2.0f1 and 6000.3.0a4 these situations are handled correctly by the Editor - there are no crashes or hangs any more. Now Editor throws such error:

    "The image data of Texture '< asset name>' has an unexpected size (expected 1, got 1048576). Exceeding data will be ignored. If this corruption started after taking specific actions in Unity, please file a bug report with the steps to reproduce the corrupted asset."

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.