Search Unity

Oculus Quest crash when starting game

Discussion in 'AR/VR (XR) Discussion' started by pccross, Aug 3, 2019.

  1. pccross

    pccross

    Joined:
    Jun 20, 2015
    Posts:
    87
    As background, I'm trying to port one of my current Rift titles to the Oculus Quest. So I'm able to build and run one of the VRTK example scenes in the Oculus Quest without any issues (using V3.3 with either 2019.1.11 or 2019.2.0f1 and Oculus Integration 1.38)
    However, as soon as I import one of the existing scenes from my legacy project and start it in the Quest, it crashes after showing the Unity splash screen, and I get these errors:

    2019/08/02 19:18:22.763 2876 2944 Info VrApi: FPS=72,Prd=45ms,Tear=0,Early=72,Stale=0,VSnc=1,Lat=1,Fov=0,CPU4/GPU=3/2,1958/414MHz,OC=FF,TA=0/0/0,SP=N/N/N,Mem=1804MHz,Free=1229MB,PSM=0,PLS=0,Temp=29.0C/0.0C,TW=3.62ms,App=1.44ms,GD=0.64ms,CPU&GPU=2.50ms,LCnt=1
    2019/08/02 19:18:22.807 2876 2945 Info UtilPoller: GPU Util 0.429599 / CPU Util 0.614583 (avg 0.563447)
    2019/08/02 19:18:23.564 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.565 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.565 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.566 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.566 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.567 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.567 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.568 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.568 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.569 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.569 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.569 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.569 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.570 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.570 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.570 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.570 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.570 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.570 2876 2934 Warn Adreno-GSL: <sharedmem_gpuobj_alloc:2706>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
    2019/08/02 19:18:23.570 2876 2934 Error Adreno-GSL: <gsl_memory_alloc_pure:2270>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2019/08/02 19:18:23.571 2876 2934 Error Unity: OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command
    2019/08/02 19:18:23.571 2876 2934 Error Unity:
    2019/08/02 19:18:23.571 2876 2934 Error Unity: (Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 348)
    2019/08/02 19:18:23.571 2876 2934 Error Unity: