Crash on Android Assertion failed: InResources[i] UE-43464

I got a crash when startup on Android with Development build, here is the crash log

03-30 18:45:36.424: D/UE4(27324): libUE4.so!FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, …)
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FOpenGLDynamicRHI::RHICreateUniformBuffer(void const*, FRHIUniformBufferLayout const&, EUniformBufferUsage)
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FUniformExpressionSet::CreateUniformBuffer(FMaterialRenderContext const&, FRHICommandList*, FLocalUniformBuffer*) const
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FMaterialRenderProxy::EvaluateUniformExpressions(FUniformExpressionCache&, FMaterialRenderContext const&, FRHICommandList*) const
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FMaterialRenderProxy::CacheUniformExpressions()
03-30 18:45:36.424: D/UE4(27324): libUE4.soUnknown
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool)
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FNamedTaskThread::ProcessTasksUntilQuit(int)
03-30 18:45:36.424: D/UE4(27324): libUE4.so!RenderingThreadMain(FEvent*)
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FRenderingThread::Run()
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FRunnableThreadPThread::Run()
03-30 18:45:36.424: D/UE4(27324): libUE4.so!FRunnableThreadPThread::_ThreadProc(void*)
03-30 18:45:36.424: D/UE4(27324): libc.soUnknown
03-30 18:45:36.424: D/UE4(27324): libc.soUnknown
03-30 18:45:36.424: D/UE4(27324): [2017.03.31-01.45.36:434][ 0]Assertion failed: Assertion failed: InResources[i] [File:E:\UE415\Engine\Source\Runtime\OpenGLDrv\Private\OpenGLUniformBuffer.cpp] [Line: 500]

I search online and seems someone from the UDN report similar UE-43464, however, the difference are that I am build using ETC2 configuration and not using Consolas font.

However, if I build shipping build, everything is fine.

My test Device is

  • Galaxy S7 (SM-G930F) Android Ver 6.0.1
  • Nexus 6 Android Ver 6.0.1

Anyone experience similar issue?

Hi ,

Looking at the resolved bug report you linked to (UE-43464), it says it’s been “narrowed down to only occurring in the Android 24 SDK and on the ASTC configuration. Using Android(All) does not exhibit the issue.” Do you find this not to be the case?

H.

Yes, it happens even in ETC2 on Galaxy S7.

Hello ,

The fix for UE-43464 should be present in the 4.16 Preview that released yesterday on the Epic Games Launcher. While we don’t suggest using Preview builds for development, I would suggest trying it out to see if the issue continues to occur with the fix in place.

Cool. thanks