ArcCamera Broken on Mobile

I’m guessing it has something to do with adaptToDeviceRatio.
Maybe you’re using the canvas resolution directly as the canvas css size, and the device resolution is actually larger than the css resolution.
Actually, you can reproduce this problem on pc, ctrl + wheel to zoom in, and start the game

For a simple fix, add max-width: 100dvw; to the canvas.

3 Likes

You’re right @qq2315137135, that did fix it. :smiley: Many thanks. This issue has been depleting my HP for hours.:smile:

Hey @qq2315137135, what tool did you use to investigate? I’m referring to the image above before the video. :smiley:

In Chrome it is, three dots button → More Tools → Layers.
In Edge it’s simpler, click on the plus sign → 3d View

Chrome

Edge

1 Like

Thanks @qq2315137135, I appreciate your help.

1 Like