Not signed in
Copyright © 2026 Unity Technologies
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
Steps to reproduce:
1. Open the attached “IN-45795” project
2. Build the project
Expected result: Build completed with a result of ‘Succeeded' or 'Failed’
Actual result: The Editor crashes
Reproducible with: 2022.1.0a15, 2022.3.5f1, 2023.1.5f1, 2023.2.0a13 (all build targets)
Not reproducible with: 2021.3.28f1, 2022.1.0a14 (no "Load texture data on demand" feature)
Not reproducible with: 2023.2.0a22 (Standalone case), 2022.3.23f1
Fixed in: 2023.2.0a14 (Standalone case)
Reproduced on: macOS Monterey 13.3.1 (Intel), Windows 10 (by user)
Notes:
First few lines of the stack trace for the standalone failure:
#0 0x0000010d10b8c3 in Texture2D::GetUnusedMipCount() const
#1 0x0000010d1713bf in void Sprite::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)
#2 0x0000010d16c717 in Sprite::VirtualRedirectTransfer(GenerateTypeTreeTransfer&)
#3 0x0000010d7e3118 in TypeTreeCache::GetTypeTree(Object const*, TransferInstructionFlags, TypeTree&)
#4 0x0000010d7cdfc0 in SerializedFile::WriteObject(Object&, long long, short, BuildUsageTag const&, GlobalBuildData const&)
#5 0x0000010d7ab33d in PersistentManager::WriteFile(core::basic_string_ref<char>, int, WriteData const*, int, GlobalBuildData const&, VerifyWriteObjectResult ()(Object, BuildTargetPlatform), BuildTargetSelection, TransferInstructionFlags, WriteInformation&, InstanceIDResolver const*, PersistentManager::LockFlags, int ()(PersistentManager::ReportWriteObjectStep, int, core::basic_string<char, core::StringStorageDefault<char>> const&, int, void), void*)
First few lines of the stack trace when building an Android Player:
0x00007ff73ecc4a1e (Unity) fastmemcpy (at C:/UnitySrc/unity-2022.3/Runtime/Serialize/SerializationCaching/CachedWriter.cpp:18)
0x00007ff73ecc2f24 (Unity) CachedWriter::Write (at C:/UnitySrc/unity-2022.3/Runtime/Serialize/SerializationCaching/CachedWriter.cpp:106)
0x00007ff7405f940b (Unity) StreamedBinaryWrite::TransferTypelessData (at C:/UnitySrc/unity-2022.3/Runtime/Serialize/TransferFunctions/StreamedBinaryWrite.cpp:62)
0x00007ff73e116872 (Unity) Texture2D::Transfer<StreamedBinaryWrite> (at C:/UnitySrc/unity-2022.3/Runtime/Graphics/Texture2D.cpp:1535)
0x00007ff73e11811c (Unity) StreamedBinaryWrite::Transfer<Texture2D> (at C:/UnitySrc/unity-2022.3/Runtime/Serialize/TransferFunctions/StreamedBinaryWrite.h:155)
0x00007ff73e11da93 (Unity) StreamedBinaryWrite::TransferBase<Texture2D> (at C:/UnitySrc/unity-2022.3/Runtime/Serialize/TransferFunctions/StreamedBinaryWrite.h:144)
0x00007ff73e144ce5 (Unity) Texture2D::VirtualRedirectTransfer (at C:/UnitySrc/unity-2022.3/Runtime/Graphics/Texture2D.cpp:1775)
Sign in to see your voted issues