Normalised View Port Rect Issue

I am seeing different behavior between Unity 2.1 and Unity iPhone for the ‘Normalised View Port Rect’ of a camera.

In Unity 2.1 The behavior is as expected, e.g. using values of:

X=0.5
Y=0.5
Width=0.5
Height=0.5

The camera renders in the top right quadrant of the player window.

In Unity iPhone all that happens is that the camera scale in X and Y changes (somewhat randomly) with different View Port values.

Is there some way to align the Unity iPhone behavior with Unity 2.1?

This looks like an IDE issue, if I deploy the App to the iPhone itself then it renders correctly.

It’s a bit of a bind as the App looks totally different in the IDE.

I’m now thinking that this is a bug in the IDE?

Any thoughts appreciated.

in the ide, just enforce an aspect ratio (the iphone aspect ratio) then it should be right again.

otherwise it might go a bit gaga.

I reported a bug on this a couple of days ago… I’m using two cameras to render to 2 parts of the screen. It does work in the final build on the iPhone, but in the Editor I only see the top-camera rendering in the right aspect-ratio but stretched across the entire screen…

Enforcing an aspect ratio by setting it to iPhone Tall or Wide doesn’t solve anything here for me.

So my temporary solution is to have the Game-Cameras in one Group and a single temporary Camera for the Editor in another group. When I want to test a build I just enable one group and disable the other…

Thanks for the feedback, I think I will adopt a working method similar to col000r until there is a fix.

Does anyone know if Unity give priority to fixes based on the number of people raising defects? If so I’ll also submit a bug report.

Please do submit all bugs, even if others have reported the same issue. Basically we DO want to know how many people are being affected by any particular issue.