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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
This is a duplicate of 1296253, for which a fix was landed to trunk and 2020.2 about 3 months ago.