Developing for iOS
You can't develop for iOS on a Windows machine. You can see the option for building on this platform by clicking File -> Build Settings, and then selecting iOS. I did not try using any hack to emulate a mac on my Windows machine, so feel free to comment with instructions if you've tried that and succeeded.
Developing for Android
Problem: Images show up black when run on actual Android device.
Solution: Reduce the resolution of your image. You can do this by selecting the image from your Project listing, then by changing the Max Size property to something lower. Note that this will reduce the resolution of your picture. Further instances of this problem were resolved by changing the shader to "Mobile -> Unlit", which you can access by selecting your shader and manipulating its Shader drop-down property.
Tried with no success:
- Changing JPG to PNG
- Changing material to Mobile/Diffuse (no impact on size of apk, by the way...)
- Setting image Max Size property from 4096 to 1024 (loss of resolution). This fixed it and reduces the size of the apk!
Tried with no success: Researching.
Solution: Firstly, use the editor to set the public variables in your scripts. If you're like me and prefer code, you can provoke Unity to refresh these values by doing the following.
- Make your variables in question private.
- Save that file.
- Check your editor; it will refresh and not show your variables. Run the game for good measure.
- Make those variables public again -- for good measure, do that after you've manually synchronized the values to what the editor shows.
At that point, your values should act as expected. I tend to also restart Unity because I'm paranoid.
Parks originally gave me this "hack" for a different problem, but it's been useful for general desynchs between the editor and script files.