I’m making an UI that should scale across all iDevises - and since I don’t own all of them, I really want to use Xcode’s iOS Simulator. However when I create a Canvas, and choose Canvas Scaler → Ui Scale Mode: Constant Physical Size, all of the elements of this canvas (eg. buttons) doesn’t show up, when I build and try it out in Xcode’s iOS Simulator.
Here is how to reproduce it:
- Make a newUnity project
- Gameobject-> UI ->Button
- (This also creates a Canvasand an EventSystem)
- Choose:Canvas->CanvasScaler->UiScaleMode:ConstantPhysicalSize
- Save the scene
- Choose:File->BuildSettings…->
- Platform: iOS
- SwitchPlatform
- PlayerSettings…->
- OtherSettings-> SDK Version:Simulator SDK
- Build
I’m on Unity 4.6.3f1 and Xcode 6.2
I tried to ask on Unity Answers, but with no luck. Maybe someone here could throw some light on it…?
