I was able to reproduce this and it's a GLFW issue. Details
here. Afaict, Unity discourages per-window icons (like OS X), so I'm afraid there won't be a clean solution to this issue (other than fixing the crash by ignoring the call to glfwSetWindowIcon).