Hi,
Thanks for the repro, wouldn't have found it otherwise. This is happening because the camera.pixelwidth is changing when the rect is changing - and in the editor, the game mode override is overriding this value. You can fix it by changing 2 lines in tk2dCamera -
I will need to figure out the implications of changing this behaviour - the tk2dcamera supports that now legacy clip anchored region feature, which needed it to behave in this way, but that feature is now deprecated.
Vector2 GetScreenPixelDimensions(tk2dCamera settings) {
Vector2 dimensions = new Vector2(ScreenCamera.pixelWidth, ScreenCamera.pixelHeight);
Vector2 dimensions = new Vector2(Screen.width, Screen.height);
public tk2dCameraResolutionOverride CurrentResolutionOverride {
get {
tk2dCamera settings = SettingsRoot;
Camera cam = ScreenCamera;
float pixelWidth = cam.pixelWidth;
float pixelHeight = cam.pixelHeight;
float pixelWidth = Screen.width;
float pixelHeight = Screen.height;