App rejected with the message: Your app crashed on an unsecured Wi-Fi network immediately on launch.

I developed a game that loads some textures from the internet.
On my test devices (iPhone 3GS, iPhone4 and iPad) the app worked very well.

But the app was rejected from apple with the message: Your app crashed on an unsecured Wi-Fi network immediately on launch.

I can’t reproduce the crash. So I can only assume that maybe that online textures crashes the app.

Is that a known problem or is maybe something other wrong in that app?

I use the following code to load the texture:

function loadTexture() {	
	
	var fileUrl: String = "http://sugushighscore.coservice.ch/img/contest/button-"+Settings.GetLanguage()+".jpg";
	
	// Start a download of the given URL
	var www : WWW = new WWW (fileUrl);

	// Wait for download to complete
	yield www;

	
	if(www.error) {
		
		print("DOWNLOAD ERROR");
		
	}else{
		
		if (www.bytes.length > 1000){
		
			// assign texture
			buttonMesh.renderer.material.mainTexture = www.texture;
			buttonMesh.renderer.enabled = true;
			
		}
	}
	
}

The problem is solved…

It was a bug in Unity 3.3 with the new iOS 4.3.
In Unity 3.4 everything works great…

http://forum.unity3d.com/threads/83076-iOS-4.3-App-Rejected