Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.1.0a1

Issue ID

UUM-13762

Regression

No

Crash in native ImposterRenderTexture destructor

--

-

Steps to reproduce:
# Open the attached project
# Go to Window>General>Test Runner
# Select the Play Mode test tab
# Run the test "_02_Missing_Components("Assets/Scenes/SampleScene.unity")"

Expected result: the test passes (with any status) and there is no crash

Actual result: the editor crashes

 

Note: It can sometimes pass without crashing. In that case, please run the test again – it should crash without taking too many attempts.

 

Reproducible with: 2023.1.0a10, 2022.2.0b7, 2022.2.0a1, 2022.1.0a12, 2021.2.0b9, 2020.1.15f1, 2020.1.0a3, 2020.1.0a1

 

Stack:
{quote}{color:#1d1c1d}#0  0x000001090bc97c in MemoryProfilerStats::UnregisterObject(Object*){color}
{color:#1d1c1d}#1  0x000001090bc3a4 in profiler_unregister_object(Object*){color}
{color:#1d1c1d}#2  0x00000108c9cd55 in delete_object_internal_step1(Object*){color}
{color:#1d1c1d}#3  0x00000108c9c1e7 in DestroySingleObject(Object*){color}
{color:#1d1c1d}#4  0x0000010903b5b1 in DestroyObjectHighLevel(Object*, bool){color}
{color:#1d1c1d}#5  0x00000109ca21cf in ImposterRenderTexture::~ImposterRenderTexture(){color}
{color:#1d1c1d}#6  0x00000109ca223e in ImposterRenderTexture::~ImposterRenderTexture(){color}
{color:#1d1c1d}#7  0x00000109cafdab in TreeRenderer::~TreeRenderer(){color}
{color:#1d1c1d}#8  0x00000109cc60cf in Terrain::Flush(){color}
{color:#1d1c1d}#9  0x00000108ca9783 in GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&){color}
{color:#1d1c1d}#10 0x00000108ca920b in GameObject::ActivateAwakeRecursively(DeactivateOperation){color}
{color:#1d1c1d}#11 0x00000108caa56a in GameObject::Deactivate(DeactivateOperation){color}
{color:#1d1c1d}#12 0x0000010903e5fe in DestroyObjectHighLevel_Internal(Object*, bool){color}
{color:#1d1c1d}#13 0x0000010903b5b1 in DestroyObjectHighLevel(Object*, bool){color}
{color:#1d1c1d}#14 0x0000010904e768 in DestroyWorldObjects(dynamic_array<int, 0ul> const&){color}
{color:#1d1c1d}#15 0x0000010a466a45 in EditorSceneManager::RestoreSceneBackups(dynamic_array<EditorSceneBackup, 0ul>&, EditorSceneManager::PlayModeChange){color}
{color:#1d1c1d}#16 0x0000010a0cded4 in PlayerLoopController::ExitPlayMode(){color}
{color:#1d1c1d}#17 0x0000010a0c4612 in PlayerLoopController::SetIsPlaying(bool){color}
{color:#1d1c1d}#18 0x0000010a0c26dc in Application::TickTimer(){color}
{color:#1d1c1d}#19 0x0000010b51a469 in -[EditorApplication TickTimer]{color}
{color:#1d1c1d}#20 0x007ff81aae8f51 in __NSFireTimer{color}
{color:#1d1c1d}#21 0x007ff819c5df59 in _{_}CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION{_}_{color}
{color:#1d1c1d}#22 0x007ff819c5da48 in __CFRunLoopDoTimer{color}
{color:#1d1c1d}#23 0x007ff819c5d5b8 in __CFRunLoopDoTimers{color}
{color:#1d1c1d}#24 0x007ff819c43cf6 in __CFRunLoopRun{color}
{color:#1d1c1d}#25 0x007ff819c42e5c in CFRunLoopRunSpecific{color}
{color:#1d1c1d}#26 0x007ff8228ea5e6 in RunCurrentEventLoopInMode{color}
{color:#1d1c1d}#27 0x007ff8228ea34a in ReceiveNextEventCommon{color}
{color:#1d1c1d}#28 0x007ff8228ea0e5 in _BlockUntilNextEventMatchingListInModeWithFilter{color}
{color:#1d1c1d}#29 0x007ff81c6821fd in _DPSNextEvent{color}
{color:#1d1c1d}#30 0x007ff81c6808ba in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]{color}
{color:#1d1c1d}#31 0x007ff81c672f69 in -[NSApplication run]{color}
{color:#1d1c1d}#32 0x007ff81c646ee7 in NSApplicationMain{color}
{color:#1d1c1d}#33 0x0000010b535aac in EditorMain(int, char const**){color}
{color:#1d1c1d}#34 0x0000010b535dc9 in main{color}
{color:#1d1c1d}#35 0x000001100e751e in (Unknown){color}
{quote}

  1. Resolution Note:

    There are no fixes planned for this Bug

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.