sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

OSVR-Unity Android crash traces to RenderManagerOpenGL::checkShaderError #362

Closed DuFF14 closed 6 years ago

DuFF14 commented 6 years ago

This only occurs when multithreaded rendering is enabled in Unity's Player Settings.

Here is the relevant section of the crash log: https://gist.github.com/DuFF14/7f1812492b177cbaaa28fe8a221c1744

error [RenderManager]: osvr::renderkit::RenderManager::RenderManagerOpenGL::checkShaderError: Empty error message from shader compiler.

Which prints from here: https://github.com/sensics/OSVR-RenderManager/blob/master/osvr/RenderKit/RenderManagerOpenGL.cpp#L330

DuFF14 commented 6 years ago

my hunch is that this could be a mutex locking issue in the Unity Rendering Plugin...

DuFF14 commented 6 years ago

I think this is specific to Unity, moving this issue here: https://github.com/OSVR/OSVR-Unity/issues/247