Search Issue Tracker

Fixed

Fixed in 6000.2.9f1, 6000.3.0b6, 6000.4.0a2

Votes

0

Found in

6000.0.56f1

6000.2.1f1

6000.3.0a5

6000.4.0a1

Issue ID

UUM-114846

Regression

No

Crash on "core::vector<AssetReference, core::allocator<AssetReference, 0ul>>::~vector()" when unchecking the "Custom Main Gradle Template“ option after deleting "mainTemplate.gradle“ file"

-

How to reproduce:
1. Open the “ReproProject.zip“ project
2. Open the “AppodealDemoScene“
2. In the Project window, delete the “Assets/Plugins/Android/mainTemplate.gradle“ file
3. Navigate to “Edit > Project Settings > Player > Publishing Settings“
4. Try to uncheck the “Custom Main Gradle Template“ option

Expected result: No crash
Actual result: Crash 

Reproducible with: 2023.2.0a10 (67f0519c7f6d), 6000.0.56f1, 6000.2.1f1, 6000.3.0a5

Reproducible environment: macOS 15.6 (M4 Max)
Not reproducible environment: No other environment tested

A few lines of stacktrace:
#0 0x0000019479a388 in __pthread_kill
#1 0x000001946dca3c in abort
#2 0x00000194789384 in __cxxabiv1::__aligned_malloc_with_fallback(unsigned long)
#3 0x00000194777cd8 in demangling_terminate_handler()
#4 0x000001943fcde4 in _objc_terminate()
#5 0x00000194788698 in std::__terminate(void ()())
#6 0x0000019478bc30 in __cxa_get_exception_ptr
#7 0x0000019478bbd8 in __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception)
#8 0x00000104fd2ba8 in core::vector<AssetReference, core::allocator<AssetReference, 0ul>>::~vector()

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.