Unknown error caused by slider... any ideas?

Unknown error occured in:
IP 0x5abe60 at offset 0x400 of method UnityEngine.GUI:Slider (UnityEngine.Rect,single,single,single,single,UnityEngine.GUIStyle,UnityEngine.GUIStyle,bool,UnityEngine.FocusType) (0x5aba60 0x5aec00)[domain 0x10c9e70 - UnityDomainLoad.exe]

I get this error and then the app quits.

Everything works fine in the editor.

What’s your code?

Heres the code that is causing an error.

	GUI.Label(Rect(5, 0, 180, 30), "AI Speed");
	settings.aiSpeed = 
			GUI.HorizontalSlider (Rect (200, 5, 100, 30), settings.aiSpeed, 0.8, 0.01);

It’s been reported a few times, e.g.

http://forum.unity3d.com/viewtopic.php?t=16133

joy… so basically I can’t release my app until the next version… was trying to release it tonight, that was one of the last pieces.

You could always make the AI speed ‘slow, medium, fast’ with buttons or similar to get the game out of the door and then update it when the fix comes out ?

Good idea, but I’m not quite sure it would work for me. I’ve got about 4 settings pages and about 8 sliders for various configurations. For some things I could probably use buttons, but others it wouldn’t make sense. Considering configurability is a large part of the experience, I don’t want to make those sacrifices.

Hopefully this update will be out soon. My income is dependent on iphone development. I took a break from my other apps to make some games… and now I find myself in a bind. Perhaps moving into the games arena will be my doom.

I do have one game that doesn’t require sliders… but it’s being delayed on the artwork side… Just can’t win…

Kevin,

I pm’d you on this early this morning but no reply. I am not around much for the next couple of days but will check my pm’s for your reply