Author Topic: Failed to wait on a semaphore (errno:15)  (Read 4914 times)

Derell Nar

  • Guest
Failed to wait on a semaphore (errno:15)
« on: December 05, 2012, 08:58:14 AM »
I've been getting this error for 2 days now...
I have finally figured out what the issue was...!!

In my UI I had this structure
UIRoot
-->Camera
---->Panel1
------>Anchor
-------->Panel2

And I change the ClipRange of Pnael2.
This caused the Game to crash with a "Failed to wait on a semaphore (errno:15)" error if you run the game on iOS with the Unity setting "Fast but no Exceptions"

Here is the Log with the Unity Setting "Safe but Slow":
NullReferenceException
  at UIPanel.UpdateDrawcalls () [0x00000] in <filename unknown>:0
  at UIPanel.LateUpdate () [0x00000] in <filename unknown>:0
 
(Filename:  Line: -1)

NullReferenceException
  at UIPanel.UpdateDrawcalls () [0x00000] in <filename unknown>:0
  at UIPanel.set_clipRange (Vector4 value) [0x00000] in <filename unknown>:0
  at MyCodeToChangeClipRange.Update () [0x00000] in <filename unknown>:0
 
(Filename:  Line: -1)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Failed to wait on a semaphore (errno:15)
« Reply #1 on: December 05, 2012, 06:19:40 PM »
Unfortunately that's some issue deep in Unity and I don't know what causes it, since there is no way to debug it. My suggestion is -- don't turn on any kind of code stripping.

ronronmx

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Re: Failed to wait on a semaphore (errno:15)
« Reply #2 on: April 11, 2013, 03:53:19 AM »
Aren, I have a similar error except mine doesn't crash the game or anything:

Failed to post to a semaphore (errno:15)

Could this be related to NGUI? I never saw this error before I started using NGUI.

Thanks,
Stephane

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Failed to wait on a semaphore (errno:15)
« Reply #3 on: April 11, 2013, 10:49:10 AM »
No idea, I've never encountered it.