Hi,
I have a main level with two sublevels. The main level contains all assets; the sublevels contain other light sources and a single mesh, which are intended to change the lighting conditions in the main level. One of these sublevels is loaded in when the main level is first entered. This functions as intended on PC, but not on Android. When attempting to load and unload sublevels, Android crashes instantly.
The bug report created by the device:
Build fingerprint: ‘Xiaomi/hydrogen/hydrogen:6.0.1/MMB29M/V8.1.4.0.MBCMIDI:user/release-keys’
Revision: ‘0’
ABI: ‘arm64’
pid: 15094, tid: 15213, name: RenderThread 1 >>> com.YourCompany.MAINMENU <<<
signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x280000004d
x0 000000559eec2990 x1 0000007f91952f9c x2 000000559f08f688 x3 000000559dc1ede0
x4 000000559ef7b1b0 x5 0000000000000001 x6 0000000000000001 x7 0000007f7f8dc500
x8 000000280000004d x9 0000000000000000 x10 0000000041a00000 x11 0000000000000000
x12 0000000000004001 x13 0000000000000000 x14 0000000000000001 x15 0000000044115550
x16 0000007f957f2180 x17 0000007faf59f210 x18 0000007faf5e6000 x19 0000007f7f8db8c0
x20 0000000000000001 x21 000000559ef7b1b0 x22 0000002800000045 x23 5c6cff20adebdc76
x24 000000559ee9e950 x25 0000005598c581a0 x26 5c6cff20adebdc76 x27 0023940000007b63
x28 0000000000230400 x29 0000007f7f8db890 x30 0000007f92eaa560
sp 0000007f7f8db720 pc 0000007f92eaa5ec pstate 0000000060000000
backtrace:
#00 pc 000000000427b5ec /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_Z32GetPrecomputedLightingParametersN16ERHIFeatureLevel4TypeER30FPrecomputedLightingParametersPK22FIndirectLightingCachePK32FIndirectLightingCacheAllocationPK20FLightCacheInterface+680)
#01 pc 000000000427c0e0 /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_Z38CreatePrecomputedLightingUniformBuffer19EUniformBufferUsageN16ERHIFeatureLevel4TypeEPK22FIndirectLightingCachePK32FIndirectLightingCacheAllocationPK20FLightCacheInterface+508)
#02 pc 0000000003f51b7c /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN19FPrimitiveSceneInfo31UpdatePrecomputedLightingBufferEv+740)
#03 pc 0000000004012fb4 /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN14FSceneRenderer41UpdatePrimitivePrecomputedLightingBuffersEv+620)
#04 pc 000000000430bf9c /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN20FMobileSceneRenderer9InitViewsER24FRHICommandListImmediate+948)
#05 pc 000000000430cce8 /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN20FMobileSceneRenderer6RenderER24FRHICommandListImmediate+600)
#06 pc 00000000040156cc /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so
#07 pc 00000000040625dc /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so
#08 pc 000000000206f624 /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN16FNamedTaskThread23ProcessTasksNamedThreadEib+6584)
#09 pc 000000000206d688 /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN16FNamedTaskThread21ProcessTasksUntilQuitEi+172)
#10 pc 0000000003e988d0 /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_Z19RenderingThreadMainP6FEvent+240)
#11 pc 0000000003ea2d6c /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN16FRenderingThread3RunEv+24)
#12 pc 00000000020d4ee0 /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN22FRunnableThreadPThread3RunEv+264)
#13 pc 0000000002069398 /data/app/com.YourCompany.MAINMENU-2/lib/arm64/libUE4.so (_ZN22FRunnableThreadPThread11_ThreadProcEPv+176)
#14 pc 0000000000067754 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
#15 pc 000000000001c644 /system/lib64/libc.so (__start_thread+16)
And the level switching:
Example stream level:
I have tried changing the order of loads or blocking,etc. In the course of testing I have also experienced erratic behavior where the streaming will work a few times on Android before crashing erratically.