[Unity3D] Failed to Wait on a semaphore (error no: 15)

Failed to Wait on a semaphore (error no: 15)



웹에서는 Shader를 찾는 코드가 필요했는데, iPad3에서는 NullReference 라고 해서 오류가 납니다.

 

#if USE_WEBPLAYER

        profileMeshRenderer.material = new Material(Shader.Find("Unlit/Texture"));

#endif

 

해결방법은 위와 같은 코드를 넣어줍니다.