2.6: camera.aspect and camera.projectionMatrix

After upgrading to 2.6, something strange has happened to camera.aspect and camera.projectionMatrix. Both these variables now report different values between editor and web build for cameras that have a non-default viewport. The images produced look identical, but as soon as I add code that uses camera.aspect or camera.projectionMatrix, the result of that code will be different (and quite wrong) in the web build.

I cannot reproduce this with a new project, so it may just be an issue of my 2.5.1 project not porting properly to 2.6.

Does anyone have an idea about what’s going on?

I’ll run this by the development team - you’re right that we need a definitive answer to this.

I’m not sure what is causing this, if you can make a minimal reproduction case, you may want to send a bug report for us to look into it. Some things to look into first, though: Did you publish the web player with 2.6? Are you using image effects? If yes, does turning off image effects change anything? Unity 2.6 changed the way image effects are composed onto the screen, which might possible have an effect on this.