Instability and Crashes since updating to unity 2019.4

Hi, since updating to Unity 2019.4 (currently in 2019.4.4f1) the users of the game have reported more instability a more instances of crashing.

The game is a VR game for Quest and PC. although is the Quest version that is behaving the worst looking at the crashes and exceptions page, the crashes are in two types:

This one has the more occurrences

Native Crash - Unknown Function (/system/lib64/libc.so)
Native StackTrace:

Thread 0 (crashed)
0   libc.so                            0x0000007fad03d0a8 <system symbols missing>
1   libunity.so                        0x0000007f8f5b1428 ApiGLES::ClearBufferSubData(unsigned int, gl::BufferTarget, long, long)
2   libunity.so                        0x0000007f8f5919d4 BufferManagerGLES::AcquireBuffer(unsigned long, DataBufferGLES::BufferUsage, bool)
3   libunity.so                        0x0000007f8f590c4c BufferGLES::EnsureBuffer(DataBufferGLES*&, unsigned long, DataBufferGLES::BufferUsage)
4   libunity.so                        0x0000007f8f59eddc GfxDeviceGLES::SetComputeBufferData(GfxBuffer*, void const*, unsigned long, unsigned long)
5   libunity.so                        0x0000007f8f70dca4 GfxDevice::UpdateComputeSkinPoseBuffer(GfxBuffer*, MatrixArrayJobOutput*)
6   libunity.so                        0x0000007f8fa5a460 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
7   libunity.so                        0x0000007f8fa5c190 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
8   libunity.so                        0x0000007f8fa53648 GfxDeviceWorker::RunGfxDeviceWorker(void*)
9   libunity.so                        0x0000007f8f4a0a04 Thread::RunThreadWrapper(void*)
10  libc.so                            0x0000007fad098454 <system symbols missing>
11  libc.so                            0x0000007fad040204 <system symbols missing>

and

Native Crash - FillParamsBaseGLES(unsigned int, GpuProgramParameters&, PropertyNamesSet*, ActiveUniformIndices*, int)
Native StackTrace:

Thread 0 (crashed)
0   libunity.so                        0x0000007f5e7ce4e0 FillParamsBaseGLES(unsigned int, GpuProgramParameters&, PropertyNamesSet*, ActiveUniformIndices*, int)
1   libunity.so                        0x0000007f5e7e0934 GlslGpuProgramGLES::GlslGpuProgramGLES(dynamic_array<unsigned char, 0ul> const&, CreateGpuProgramOutput&)
2   libunity.so                        0x0000007f5e94239c CreateGpuProgram(ShaderGpuProgramType, dynamic_array<unsigned char, 0ul> const&, CreateGpuProgramOutput&)
3   libunity.so                        0x0000007f5ec6c7fc GfxCreateGpuProgramQueue::smile:equeueAll(GfxThreadableDevice*)
4   libunity.so                        0x0000007f5ec83f70 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
5   libunity.so                        0x0000007f5ec8a190 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
6   libunity.so                        0x0000007f5ec81648 GfxDeviceWorker::RunGfxDeviceWorker(void*)
7   libunity.so                        0x0000007f5e6cea04 Thread::RunThreadWrapper(void*)
8   libc.so                            0x0000007f7c2fc454 <system symbols missing>
9   libc.so                            0x0000007f7c2a4204 <system symbols missing>
1 Like

Hi @shogoki_vnz ,

Sorry to hear that is happening to the users using in your game :frowning:

Would you mind to create a bug report: Unity QA: Building quality with passion

In that way, the issue can be checked and solved properly.

Thank you!

1 Like

same crash

Unity Version
2019.4.13f1
OS Version
Android OS 5.1 / API-22
GFX
Mali-T720

Native StackTrace:

Thread 0 (crashed)
0 libc.so 0x0000007fa1fbd268
1 libunity.so 0x0000007f88b13648 ApiGLES::ClearBufferSubData(unsigned int, gl::BufferTarget, long, long)
2 libunity.so 0x0000007f88af3f90 BufferManagerGLES::AcquireBuffer(unsigned long, DataBufferGLES::BufferUsage, bool)
3 libunity.so 0x0000007f88af3208 BufferGLES::EnsureBuffer(DataBufferGLES*&, unsigned long, DataBufferGLES::BufferUsage)
4 libunity.so 0x0000007f88b011f8 GfxDeviceGLES::SetComputeBufferData(GfxBuffer*, void const*, unsigned long, unsigned long)
5 libunity.so 0x0000007f88c72de0 GfxDevice::UpdateComputeSkinPoseBuffer(GfxBuffer*, MatrixArrayJobOutput*)
6 libunity.so 0x0000007f88fc32d8 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
7 libunity.so 0x0000007f88fc605c GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
8 libunity.so 0x0000007f88fbc458 GfxDeviceWorker::RunGfxDeviceWorker(void*)
9 libunity.so 0x0000007f88a0dbdc Thread::RunThreadWrapper(void*)
10 libc.so 0x0000007fa1fc1f24
11 libc.so 0x0000007fa1fbe2c0

1 Like

same too
unity 2019.4.32f1
vivo 1811

#00 pc 0000000000701cb4 libunity.so FillParamsBaseGLES(unsigned int, GpuProgramParameters&, PropertyNamesSet*, ActiveUniformIndices*, int) [arm64-v8a]
#01 pc 00000000007142a0 libunity.so GlslGpuProgramGLES::GlslGpuProgramGLES(dynamic_array<unsigned char, (unsigned long)0> const&, CreateGpuProgramOutput&) [arm64-v8a]
3 #02 pc 000000000089a5d8 libunity.so CreateGpuProgram(ShaderGpuProgramType, dynamic_array<unsigned char, (unsigned long)0> const&, CreateGpuProgramOutput&) [arm64-v8a]
4 #03 pc 00000000005633e4 libunity.so ShaderLab::SubProgram::Compile() [arm64-v8a]
5 #04 pc 00000000005649b4 libunity.so ShaderLab::Program::GetMatchingSubProgram(Shader const*, ShaderLab::Pass const*, ShaderKeywordSet const&, unsigned int, ShaderKeywordSet*, ShaderSnippetResult&, bool, bool) const [arm64-v8a]
6 #05 pc 000000000055d340 libunity.so ShaderLab::Pass::ComputePassValuesHash(ShaderKeywordSet const&, ShaderPropertySheet const*, Shader*) const [arm64-v8a]
7 #06 pc 00000000005320f0 libunity.so Material::UpdateHashes() [arm64-v8a]
8 #07 pc 0000000000531e5c libunity.so Material::BuildProperties() [arm64-v8a]
9 #08 pc 000000000062a6e8 libunity.so AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode) [arm64-v8a]
10 #09 pc 000000000062a5ac libunity.so AwakeFromLoadQueue::PersistentManagerAwakeFromLoad(int, AwakeFromLoadMode) [arm64-v8a]
11 #10 pc 000000000062a510 libunity.so AwakeFromLoadQueue::PersistentManagerAwakeFromLoad() [arm64-v8a]
12 #11 pc 000000000061c5fc libunity.so PersistentManager::IntegrateAllThreadedObjects() [arm64-v8a]
13 #12 pc 000000000061cc18 libunity.so PersistentManager::LoadAndIntegrateAllPreallocatedObjects(PersistentManager::LockFlags) [arm64-v8a]
14 #13 pc 000000000061df34 libunity.so PersistentManager::LoadObjects(int const*, int) [arm64-v8a]
15 #14 pc 000000000023dbd0 libunity.so ProcessAssetBundleEntries(AssetBundle&, std::__ndk1::pair<std::__ndk1::__map_iterator<std::__ndk1::__tree_iterator<std::__ndk1::__value_type<core::basic_string<char, core::StringStorageDefault>, AssetBundle::AssetInfo>, std::__ndk1::__tree_node<std::__ndk1::__value_type<core::basic_string<char, core::StringStorageDefault>, AssetBundle::AssetInfo>, void*>, long>>, std::__ndk1::__map_iterator<std::__ndk1::__tree_iterator<std::__ndk1::__value_type<core::basic_string<char, core::StringStorageDefault>, AssetBundle::AssetInfo>, std::__ndk1::__tree_node<std::__ndk1::__value_type<core::basic_string<char, core::StringStorageDefault>, AssetBundle::AssetInfo>, void>, long>>> const&, ScriptingSystemTypeObjectPtr, dynamic_array<Object, (unsigned long)0>&, bool) [arm64-v8a]
16 #15 pc 000000000023dafc libunity.so LoadNamedObjectFromAssetBundle(AssetBundle&, core::basic_string<char, core::StringStorageDefault> const&, ScriptingSystemTypeObjectPtr const&) [arm64-v8a]
17 #16 pc 00000000002353d4 libunity.so AssetBundle::LoadAsset_Internal(core::basic_string<char, core::StringStorageDefault>, ScriptingSystemTypeObjectPtr, ScriptingExceptionPtr*) [arm64-v8a]

Can confirm the FillParamsBaseGLES still crashes with Unity 2020.3 LTS

Thread 0 (crashed)
0 libunity.so 0x00000077ef21f00c FillParamsBaseGLES (/home/bokken/build/output/unity/unity/Runtime/GfxDevice/opengles/GpuProgramParamsGLES.cpp:139)
1 libunity.so 0x00000077ef23195c GlslGpuProgramGLES::GlslGpuProgramGLES(dynamic_array<unsigned char, 0ul> const&, CreateGpuProgramOutput&)
2 libunity.so 0x00000077ef3bff7c CreateGpuProgram (/home/bokken/build/output/unity/unity/Runtime/GfxDevice/GpuProgram.cpp:921)
3 libunity.so 0x00000077eeea7d18 GfxCreateGpuProgramQueue::smile:equeueAll(GfxThreadableDevice*)
4 libunity.so 0x00000077ef743df0 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
5 libunity.so 0x00000077ef7466e0 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
6 libunity.so 0x00000077ef73e418 GfxDeviceWorker::RunGfxDeviceWorker(void*)
7 libunity.so 0x00000077ef0973ec Thread::RunThreadWrapper(void*)
8 libc.so 0x00000078e9390f20 <symbols missing for uuid: d00c50b4798c95f2447d684ed3ea7dcb>
9 libc.so 0x00000078e932f0c8 <symbols missing for uuid: d00c50b4798c95f2447d684ed3ea7dcb>