Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.47f1
Issue ID
UUM-91892
Regression
No
[2021.3 only][Android]Crash on PersistentManager::GlobalToLocalSerializedFileIndex(SerializedObjectIdentifier const&) when building the Android Player
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Build and run the Android Player (File > Build And Run)
3. Observe the Editor
Expected result: The build succeeds
Actual result: The Editor crashes
Reproducible with: 2021.3.47f1
Not reproducible with: 2022.3.55f1
Could not test with: 6000.0.33f1, 6000.1.0b1 (“error CS0121: The call is ambiguous between the following methods or properties“ compilation error)
Reproducible on: MacOS 15.2 Intel, 14.6 (M3 (user’s))
Not reproducible on: No other environment tested
Notes:
- The crash can generate slightly different stack traces
- The issue does not occur when building the iOS XCode project
First few lines of stack trace:
{noformat}#0 0x0000010a517f79 in std::__1::__wrap_iter<std::__1::pair<int, int>*> sorted_vector<std::__1::pair<int, int>, vector_map<int, int, std::__1::less<int>, stl_allocator<std::__1::pair<int, int>, (MemLabelIdentifier)43, 16>>::value_compare, stl_allocator<std::__1::pair<int, int>, (MemLabelIdentifier)43, 16>>::find<int>(int const&)
#1 0x0000010a50687d in PersistentManager::GlobalToLocalSerializedFileIndex(SerializedObjectIdentifier const&)
#2 0x0000010a506aeb in PersistentManager::InstanceIDToLocalSerializedObjectIdentifier(int, LocalSerializedObjectIdentifier&)
#3 0x00000109c8e58c in void TransferPPtr<StreamedBinaryWrite>(int&, StreamedBinaryWrite&)
#4 0x0000010bd7e89b in void Shader::Transfer<StreamedBinaryWrite>(StreamedBinaryWrite&){noformat}
{noformat}#0 0x00000103b42924 in PersistentManager::GlobalToLocalSerializedFileIndex(SerializedObjectIdentifier const&)
#1 0x00000103b42c54 in PersistentManager::InstanceIDToLocalSerializedObjectIdentifier(int, LocalSerializedObjectIdentifier&)
#2 0x0000010337b530 in void TransferPPtr<StreamedBinaryWrite>(int&, StreamedBinaryWrite&)
#3 0x000001051ce7b4 in void Shader::Transfer<StreamedBinaryWrite>(StreamedBinaryWrite&)
#4 0x00000103b64308 in SerializedFile::WriteObject(Object&, long long, short, BuildUsageTag const&, GlobalBuildData const&){noformat}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
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.