Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.0.0-preview.13
Issue ID
1299816
Regression
Yes
Crash on DynamicHeapAllocator::Allocate() when a Scene contains TextMeshPro UI element and uses UI Toolkit package
Reproduction steps:
1. Open project "MobileBoardCoreGames.zip"
2. Open Scene "Board"
3. Build and run
Expected result: no crash
Actual result: crash when opening the app
Reproducible with: UI Toolkit 1.0.0-preview.13 (2020.2.0f1, 2021.1.0a10)
Not reproducible with: UI Toolkit 1.0.0-preview.13 (2020.1.16f1)
Can't test with: 2018.4, 2019.4 (do not support UI Toolkit)
Stacktrace (Android):
(DynamicHeapAllocator::Allocate(unsigned int, int)+420)
(MemoryManager::Allocate(unsigned int, unsigned int, MemLabelId const&, AllocateOptions, char const*, int)+156)
(MemoryManager::Allocate(unsigned int, unsigned int, MemLabelId const&, AllocateOptions, char const*, int)+448)
(MemoryManager::Allocate(unsigned int, unsigned int, MemLabelId const&, AllocateOptions, char const*, int)+448)
(malloc_internal(unsigned int, unsigned int, MemLabelId const&, AllocateOptions, char const*, int)+40)
(core::StringStorageDefault<char>::reallocate(unsigned int)+80)
(core::StringStorageDefault<char>::resize(unsigned int, bool)+42)
(void StreamedBinaryRead::TransferSTLStyleArray<core::basic_string<char, core::StringStorageDefault<char> > >(core::basic_string<char, core::StringStorageDefault<char> >&, TransferMetaFlags)+42)
Notes:
- Crash does not reproduce when UI Toolkit package is removed and imported again
- Cannot reproduce when rebuilding the Scene in a different project
- Could not produce a useful stacktrace with Player on Windows
- Turning off and on the project solves the issue
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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note:
This is a duplicate of 1296253, for which a fix was landed to trunk and 2020.2 about 3 months ago.