Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0b15
2021.2.5f1
Issue ID
1392271
Regression
Yes
Crash on 'core::hash_map<Hash128,bool,Hash128Hasher,std::equal_to<Hash128>' when building while 'Optimize mesh data' is checked
Reproduction steps:
1. Open the project from the Google Drive folder
2. Make sure that 'Project Settings -> Player -> Optimize Mesh Data' is checked
3. Build Addressables using 'Window -> Asset Management -> Addressables -> Groups -> Build -> New Build -> Default Build Script'
4. Start building the project
Expected result: The project is built
Actual result: The Editor crashes after building for some time (Depending on version can take up to ~30min)
Reproducible with: 2021.2.0b15, 2021.2.7f1
Not reproducible with: 2021.2.0b14, 2021.2.8f1, 2021.2.11f1
Couldn't test with: 2019.4.35f1, 2020.3.28f1 (Errors), 2022.1.0b7, 2022.2.0a4 (Crashes)
Notes:
1. 2019.4.35f1 and 2020.3.28f1 throw an error:
"Assets\Scripts\Utilities\ObjectPooling\Test\PoolScriptableObject.cs(2,19): error CS0234: The type or namespace name
'Pool' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)"
2. 2022.2.0a4 crashes while importing on PatchPrefabBackwardsCompatibility
Stacktrace:
0x00007ff7a80fe0f3 (Unity) core::hash_map<Hash128,bool,Hash128Hasher,std::equal_to<Hash128> >::operator[]
0x00007ff7a81078f3 (Unity) SetVariantStrippingState
0x00007ff7a8f9ce10 (Unity) CompileGpuProgramSnippets
0x00007ff7a9a3d431 (Unity) Shader::CalculateUsedVertexComponents
0x00007ff7a902786f (Unity) CalculateRequiredVertexComponents
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
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Resolution Note (fix version 2021.2):
Fixed in 2021.2.8f1