Search Issue Tracker

Active

Votes

0

Found in

2021.3.47f1

Issue ID

UUM-91892

Regression

No

[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

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.