LogPlayLevel: 03-11 06:00:17.122 24288 24358 D UE4 : Assertion failed: Index == 0 [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/OpenGLDrv/Public\OpenGLES.h] [Line: 439]
LogPlayLevel: 03-11 06:00:17.122 24288 24358 D UE4 :
LogPlayLevel: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]Assertion failed: Index == 0 [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/OpenGLDrv/Public\OpenGLES.h] [Line: 439]
LogPlayLevel: 03-11 06:00:17.123 24288 24358 D UE4 :
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error: === Critical error: ===
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error:
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error: Assertion failed: Index == 0 [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/OpenGLDrv/Public\OpenGLES.h] [Line: 439]
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error:
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error: [Callstack] 0x00000000CF76BD50 libUE4.so(0x000000000C1F7D50)!FOpenGLDynamicRHI::RHIClearMRT(bool, int, FLinearColor const*, bool, float, bool, unsigned int) []
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error: [Callstack] 0x00000000CF76BA9C libUE4.so(0x000000000C1F7A9C)!FOpenGLDynamicRHI::SetRenderTargetsAndClear(FRHISetRenderTargetsInfo const&) []
LogPlayLevel: 03-11 06:00:17.123 24288 24305 D UE4 : [2021.03.11-00.30.17:123][ 0]LogUdpMessaging: Initializing bridge on interface 0.0.0.0:0 to multicast group 230.0.0.1:6666.
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error: [Callstack] 0x00000000CF79BD10 libUE4.so(0x000000000C227D10)!FOpenGLDynamicRHI::RHIBeginRenderPass(FRHIRenderPassInfo const&, char16_t const*) []
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error: [Callstack] 0x00000000C9DFAA04 libUE4.so(0x0000000006886A04)!FRHICommand::ExecuteAndDestruct(FRHICommandListBase&, FRHICommandListDebugContext&) []
LogPlayLevel: Error: 03-11 06:00:17.123 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error: [Callstack] 0x00000000CB800BD4 libUE4.so(0x000000000828CBD4)!FRHICommandListExecutor::ExecuteInner_DoExecute(FRHICommandListBase&) []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:123][ 0]LogAndroid: Error: [Callstack] 0x00000000CB85EE90 libUE4.so(0x00000000082EAE90)!FExecuteRHIThreadTask::DoTask(ENamedThreads::Type, TRefCountPtr const&) []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error: [Callstack] 0x00000000CB85E550 libUE4.so(0x00000000082EA550)!TGraphTask::ExecuteTask(TArray >&, ENamedThreads::Type) []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error: [Callstack] 0x00000000CA095120 libUE4.so(0x0000000006B21120)!FNamedTaskThread::ProcessTasksNamedThread(int, bool) []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error: [Callstack] 0x00000000CA093658 libUE4.so(0x0000000006B1F658)!FNamedTaskThread::ProcessTasksUntilQuit(int) []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error: [Callstack] 0x00000000CB8EBB60 libUE4.so(0x0000000008377B60)!FRHIThread::Run() []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error: [Callstack] 0x00000000CA189B08 libUE4.so(0x0000000006C15B08)!FRunnableThreadPThread::Run() []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error: [Callstack] 0x00000000CA08E9D4 libUE4.so(0x0000000006B1A9D4)!FRunnableThreadPThread::_ThreadProc(void*) []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error: [Callstack] 0x00000000F2820F94 libc.so(0x0000000000047F94) []
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error: [Callstack] 0x00000000F27F3162 libc.so(0x000000000001A162) []
LogPlayLevel: 03-11 06:00:17.124 24288 24305 D UE4 : [2021.03.11-00.30.17:124][ 0]FUdpSocketBuilder: Failed to subscribe UdpMessageMulticastSocket to multicast group 230.0.0.1 on interface 0.0.0.0
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error:
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error:
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error:
LogPlayLevel: Error: 03-11 06:00:17.124 24288 24358 D UE4 : [2021.03.11-00.30.17:124][ 0]LogAndroid: Error:
LogPlayLevel: 03-11 06:00:17.140 24288 24358 D UE4 : [2021.03.11-00.30.17:140][ 0]LogExit: Executing StaticShutdownAfterError
LogPlayLevel: Error: 03-11 06:00:17.140 24288 24305 D UE4 : [2021.03.11-00.30.17:140][ 0]FUdpSocketBuilder: Failed to create and initialize socket UdpMessageMulticastSocket (last error: 55)
LogPlayLevel: Warning: 03-11 06:00:17.140 24288 24305 D UE4 : [2021.03.11-00.30.17:140][ 0]LogUdpMessaging: Warning: StartTransport failed to create multicast socket on 0.0.0.0:0, joined to 230.0.0.1:6666 with TTL 1
LogPlayLevel: 03-11 06:00:17.143 24288 24358 D UE4 : [2021.03.11-00.30.17:143][ 0]LogAndroid: FAndroidMisc::RequestExit(1)
LogPlayLevel: Took 0.481902s to run adb.exe, ExitCode=0
LogPlayLevel: Running: I:\New Volume\android\sdk1\platform-tools\adb.exe -s 3300369e47f06325 logcat -d
LogPlayLevel: Took 0.2563181s to run adb.exe, ExitCode=0
LogPlayLevel: ********** RUN COMMAND COMPLETED **********
LogPlayLevel: BUILD SUCCESSFUL
Same issue here
I guess this is because
if (IsES32Usable())
{
glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)((void*)eglGetProcAddress("glTexBuffer"));
glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)((void*)eglGetProcAddress("glTexBufferRange"));
glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)((void*)eglGetProcAddress("glCopyImageSubData"));
glEnableiEXT = (PFNGLENABLEIEXTPROC)((void*)eglGetProcAddress("glEnablei"));
glDisableiEXT = (PFNGLDISABLEIEXTPROC)((void*)eglGetProcAddress("glDisablei"));
glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)((void*)eglGetProcAddress("glBlendEquationi"));
glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)((void*)eglGetProcAddress("glBlendEquationSeparatei"));
glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)((void*)eglGetProcAddress("glBlendFunci"));
glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)((void*)eglGetProcAddress("glBlendFuncSeparatei"));
glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)((void*)eglGetProcAddress("glColorMaski"));
}
if (!glEnableiEXT && ExtensionsString.Contains(TEXT("GL_EXT_draw_buffers_indexed")))
{
// GL_EXT_draw_buffers_indexed
glEnableiEXT = (PFNGLENABLEIEXTPROC)((void*)eglGetProcAddress("glEnableiEXT"));
glDisableiEXT = (PFNGLDISABLEIEXTPROC)((void*)eglGetProcAddress("glDisableiEXT"));
glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)((void*)eglGetProcAddress("glBlendEquationiEXT"));
glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)((void*)eglGetProcAddress("glBlendEquationSeparateiEXT"));
glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)((void*)eglGetProcAddress("glBlendFunciEXT"));
glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)((void*)eglGetProcAddress("glBlendFuncSeparateiEXT"));
glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)((void*)eglGetProcAddress("glColorMaskiEXT"));
}
bSupportsDrawBuffersBlend = (glEnableiEXT != nullptr);
then
static FORCEINLINE void ColorMaskIndexed(GLuint Index, GLboolean Red, GLboolean Green, GLboolean Blue, GLboolean Alpha)
{
if (bSupportsDrawBuffersBlend)
{
// ES 3.2 or extension
glColorMaskiEXT(Index, Red, Green, Blue, Alpha);
}
else
{
check(Index == 0);
glColorMask(Red, Green, Blue, Alpha);
}
}