Start a new topic

Build crashing after updating to v13

After updating to v13 and interactions pre11 two projects crash with the following error: Error Unity [EGL] Unable to acquire context: EGL_BAD_SURFACE: An EGLSurface argument does not name a valid surface (window, pixel buffer or pixmap) configured for GL rendering.


If I build an empty scene from the same project it doesn't crash. Also worked fine with the previous version, samples also work fine. 


Hi Pa,


could you please provide a full log? 

Please also try the recommended upgrade process for the spaces services: First uninstall the Services, restart your phone, install the latest Services via adb (without -g), give camera and display over other apps permissions to the services.

You could also try deleting your Library folder to avoid cache issues after upgrading. 

This is all that I'm getting:

2023/05/24 16:14:49.376 24292 24324 Error Unity [EGL] eglDestroySurface(m_EGLDisplay, m_EGLSurface): EGL_BAD_SURFACE: An EGLSurface argument does not name a valid surface (window, pixel buffer or pixmap) configured for GL rendering.

2023/05/24 16:14:49.376 24292 24324 Error Unity

2023/05/24 16:14:49.376 24292 24324 Error Unity [EGL] Unable to acquire context: EGL_BAD_ACCESS: EGL cannot access a requested resource (for example a context is bound in another thread).

2023/05/24 16:14:49.376 24292 24324 Error Unity

2023/05/24 16:14:49.376 24292 24324 Error Unity [EGL] Unable to acquire context: EGL_BAD_ACCESS: EGL cannot access a requested resource (for example a context is bound in another thread).

Hi Pa,


please provide a full log - a full log also gives me information such as which unity and spaces version you are using. 

Did you try the recommended upgrade process or deleting the library folder?

Could you please also check if our pre built samples that come with the unity package are running without error? 


Thanks


1 person likes this
Oh, sorry for late reply, your suggestion worked, thank you!
Login to post a comment