Download

[Crash] OpenGLUniformBuffer

mobile game is crash…
my logcat below…
help me~~!!!

08-20 01:55:12.414: D/UE4(27276): Assertion failed: AllocatedSize == UniformBufferSizeBuckets[BucketIndex] [File:D:\Build++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\OpenGLDrv\Private\OpenGLUniformBuffer.cpp] [Line: 369]
08-20 01:55:12.414: D/UE4(27276): libUE4.so!FDebug::LogAssertFailedMessage(char const
, char const
, int, wchar_t const
, …)
08-20 01:55:12.414: D/UE4(27276): libUE4.so!FOpenGLUniformBuffer::~FOpenGLUniformBuffer()
08-20 01:55:12.414: D/UE4(27276): libUE4.so!FOpenGLUniformBuffer::~FOpenGLUniformBuffer()
08-20 01:55:12.414: D/UE4(27276): libUE4.so!TRefCountPtr<FRHIUniformBuffer>::operator=(FRHIUniformBuffer
)
08-20 01:55:12.414: D/UE4(27276): libUE4.so!FOpenGLDynamicRHI::RHISetShaderUniformBuffer(FRHIVertexShader*, unsigned int, FRHIUniformBuffer*)
08-20 01:55:12.414: D/UE4(27276): libUE4.so!void FMeshMaterialShader::SetMesh<FRHIVertexShader*>(FRHICommandList&, FRHIVertexShader*, FVertexFactory const*, FSceneView const&, FPrimitiveSceneProxy const*, FMeshBatchElement const&, FMeshDrawingRenderState const&, unsigned int)
08-20 01:55:12.414: D/UE4(27276): libUE4.so!TBasePassForForwardShadingDrawingPolicy<FUniformLightMapPolicy, 0>::SetMeshRenderState(FRHICommandList&, FViewInfo const&, FPrimitiveSceneProxy const*, FMeshBatch const&, int, bool, FMeshDrawingRenderState const&, TBasePassForForwardShadingDrawingPolicy<FUniformLightMapPolicy, 0>::ElementDataType const&, FMeshDrawingPolicy::ContextDataType) const
08-20 01:55:12.414: D/UE4(27276): libUE4.so!int TStaticMeshDrawList<TBasePassForForwardShadingDrawingPolicy<FUniformLightMapPolicy, 0> >::DrawElement<(InstancedStereoPolicy)1>(FRHICommandList&, FViewInfo const&, FMeshDrawingPolicy::ContextDataType, TStaticMeshDrawList<TBasePassForForwardShadingDrawingPolicy<FUniformLightMapPolicy, 0> >::FElement const&, unsigned long long, TStaticMeshDrawList<TBasePassForForwardShadingDrawingPolicy<FUniformLightMapPolicy, 0> >::FDrawingPolicyLink*, bool&)
08-20 01:55:12.414: D/UE4(27276): libUE4.so!TStaticMeshDrawList<TBasePassForForwardShadingDrawingPolicy<FUniformLightMapPolicy, 0> >::DrawVisibleFrontToBack(FRHICommandList&, FViewInfo const&, FMeshDrawingPolicy::ContextDataType, TBitArray<SceneRenderingBitArrayAllocator> const&, TArray<unsigned long long, SceneRenderingAllocator> const&, int)
08-20 01:55:12.414: D/UE4(27276): libUE4.so!FForwardShadingSceneRenderer::RenderForwardShadingBasePass(FRHICommandListImmediate&)
08-20 01:55:12.414: D/UE4(27276): libUE4.so!FForwardShadingSceneRenderer::Render(FRHICommandListImmediate&)

Source code please?