bakjos / WebCameraFeed

Web Camera plugin for Unreal Engine
63 stars 29 forks source link

Crash on Android UE 4.22.3 #5

Open flyingdove opened 5 years ago

flyingdove commented 5 years ago

Crash on android UE 4.22.3 when using UMG camera widget, log: [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: === Critical error: === [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: Assertion failed: UpdateRegion.DestX + UpdateRegion.Width <= Texture->GetSizeX() [File:C:/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h] [Line: 3940] [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: UpdateTexture2D out of bounds on X. Texture: Texture2D_0, 585397716, 1015222895, 1280 [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: [Callstack] 0x00000000C6B962DC (0x00000000039542DC) libUE4.so!FDebug::CheckVerifyFailedImpl(char const, char const, int, char16_t const, ...) [] [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: [Callstack] 0x00000000CABB05D4 (0x000000000796E5D4) libUE4.so!void FDebug::CheckVerifyFailed<char16_t [60], char16_t const, unsigned int, unsigned int, unsigned int>(char const, char const, int, char16_t const (&) [60], char16_t const, unsigned int, unsigned int, unsigned int) [] [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: [Callstack] 0x00000000CABB054C (0x000000000796E54C) libUE4.so!FRHICommandListImmediate::UpdateTexture2D(FRHITexture2D, unsigned int, FUpdateTextureRegion2D const&, unsigned int, unsigned char const)::{lambda()#1}::operator()() const [] [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: [Callstack] 0x00000000C96854C0 (0x00000000064434C0) libUE4.so![Unknown]() [] [2019.10.08-04.40.09:898][ 0]LogAndroid: Error: [Callstack] 0x00000000C96859D0 (0x00000000064439D0) libUE4.so![Unknown]() [] [2019.10.08-04.40.09:899][ 0]LogAndroid: Error: [Callstack] 0x00000000C69FD8D0 (0x00000000037BB8D0) libUE4.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [] [2019.10.08-04.40.09:899][ 0]LogAndroid: Error: [Callstack] 0x00000000C69FC3E4 (0x00000000037BA3E4) libUE4.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [] [2019.10.08-04.40.09:899][ 0]LogAndroid: Error: [Callstack] 0x00000000C7AD6AE8 (0x0000000004894AE8) libUE4.so!RenderingThreadMain(FEvent) [] [2019.10.08-04.40.09:899][ 0]LogAndroid: Error: [Callstack] 0x00000000C7B21114 (0x00000000048DF114) libUE4.so!FRenderingThread::Run() [] [2019.10.08-04.40.09:899][ 0]LogAndroid: Error: [Callstack] 0x00000000C6A81C98 (0x000000000383FC98) libUE4.so!FRunnableThreadPThread::Run() [] [2019.10.08-04.40.09:899][ 0]LogAndroid: Error: [Callstack] 0x00000000C69F7DBC (0x00000000037B5DBC) libUE4.so!FRunnableThreadPThread::_ThreadProc(void*) [] [2019.10.08-04.40.09:899][ 0]LogAndroid: Error: [Callstack] 0x00000000EA98D132 (0x0000000000072132) libc.so![Unknown]() [] [2019.10.08-04.40.09:899][ 0]LogAndroid: Error: [Callstack] 0x00000000EA939006 (0x000000000001E006) libc.so![Unknown]() []

Tom-Lulu commented 11 months ago

We also encountered this problem on redroid. Is there any solution to this problem?

pracio commented 10 months ago

same here, based on the crash log we got, there could be something wrong with the way they calculate width/height of the camera preview.