Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Derell Nar on December 05, 2012, 08:58:14 AM

Title: Failed to wait on a semaphore (errno:15)
Post by: Derell Nar 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)
Title: Re: Failed to wait on a semaphore (errno:15)
Post by: ArenMook 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.
Title: Re: Failed to wait on a semaphore (errno:15)
Post by: ronronmx 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
Title: Re: Failed to wait on a semaphore (errno:15)
Post by: ArenMook on April 11, 2013, 10:49:10 AM
No idea, I've never encountered it.