Description

Opening Color Picker Windows crashes editor with Assertion Failed: IsOutsideRenderPass() in VulkanCommandBuffer.cpp

Did not reproduce on Nvidia Linux

Similar to: [Link Removed] but distinct from it in that this is a more specific repro, and the call stacks end in different spots

Steps to Reproduce
  1. Open QAGame.uproject
  2. Select the Light Source
  3. In the Details panel, click light color bar

Result:
Editor crashes with:

Assertion failed: IsOutsideRenderPass() [File:/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 151]

Expected:
Color picker window opens

Callstack
LoginId:0002680a2c07090d0020037783cf057d
EpicAccountId:

Assertion failed: IsOutsideRenderPass() [File:/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 151] Can't End as we're inside a render pass! CmdBuffer 0x0xc17b50 State=0 0x00007f8ec96b677c libUE4Editor-Core.so!FDebug::LogAssertFailedMessageImpl(char const*, char const*, int, char16_t const*, ...) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp:233] 0x00007f8e9077f91a libUE4Editor-VulkanRHI.so!FVulkanCmdBuffer::End() [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp:151] 0x00007f8e9081eee4 libUE4Editor-VulkanRHI.so!FVulkanViewport::Present(FVulkanCommandListContext*, FVulkanCmdBuffer*, FVulkanQueue*, FVulkanQueue*, bool) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/VulkanRHI/Private/VulkanViewport.cpp:677] 0x00007f8e907d9ee8 libUE4Editor-VulkanRHI.so!FVulkanCommandListContext::RHIEndDrawingViewport(FRHIViewport*, bool, bool) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:771] 0x00007f8ec3579157 libUE4Editor-RHI.so!FRHICommandListExecutor::ExecuteInner_DoExecute(FRHICommandListBase&) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:330] 0x00007f8ec35ce869 libUE4Editor-RHI.so!FExecuteRHIThreadTask::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:383] 0x00007f8ec35ce186 libUE4Editor-RHI.so!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:829] 0x00007f8ec9525da9 libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:678] 0x00007f8ec9524e83 libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:574] 0x00007f8ec38503e6 libUE4Editor-RenderCore.so!FRHIThread::Run() [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:281] 0x00007f8ec95a194c libUE4Editor-Core.so!FRunnableThreadPThread::Run() [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25] 0x00007f8ec958b163 libUE4Editor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:177] 0x00007f8eca25f6db libpthread.so.0!UnknownFunction(0x76da) 0x00007f8ebdc9a88f libc.so.6!clone(+0x3e)

libUE4Editor-Core.so!FGenericPlatformMisc::RaiseException(unsigned int) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp:411]
libUE4Editor-Core.so!FUnixErrorOutputDevice::Serialize(char16_t const*, ELogVerbosity::Type, FName const&) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/Unix/UnixErrorOutputDevice.cpp:56]
libUE4Editor-Core.so!FOutputDevice::LogfImpl(char16_t const*, ...) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/Misc/OutputDevice.cpp:70]
libUE4Editor-Core.so!FDebug::AssertFailed(char const*, char const*, int, char16_t const*, ...) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp:422]
libUE4Editor-VulkanRHI.so!FVulkanCmdBuffer::End() [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp:151]
libUE4Editor-VulkanRHI.so!FVulkanViewport::Present(FVulkanCommandListContext*, FVulkanCmdBuffer*, FVulkanQueue*, FVulkanQueue*, bool) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/VulkanRHI/Private/VulkanViewport.cpp:677]
libUE4Editor-VulkanRHI.so!FVulkanCommandListContext::RHIEndDrawingViewport(FRHIViewport*, bool, bool) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:771]
libUE4Editor-RHI.so!FRHICommandListExecutor::ExecuteInner_DoExecute(FRHICommandListBase&) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:330]
libUE4Editor-RHI.so!FExecuteRHIThreadTask::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:383]
libUE4Editor-RHI.so!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:829]
libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:678]
libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:574]
libUE4Editor-RenderCore.so!FRHIThread::Run() [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:281]
libUE4Editor-Core.so!FRunnableThreadPThread::Run() [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
libUE4Editor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/mnt/DATA/github/UE-421-4501010/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:177]
libpthread.so.0!UnknownFunction(0x76da)
libc.so.6!clone(+0x3e)

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-65787 in the post.

8
Login to Vote

Cannot Reproduce
ComponentUE - Platform - Linux
Affects Versions4.214.22
Target Fix4.25
CreatedOct 25, 2018
ResolvedFeb 13, 2020
UpdatedFeb 13, 2020
View Jira Issue