Union appears half size on mobile

A while ago I created this topic, focusing on a camera bug I had.

As you can see from the images in my original post, the border of the battle scene was covering up the camera on mobile devices. I originally thought this was caused by the camera.CFrame not being set accurately.

I forgot about the problem, until today when I did another mobile test. In this test I thought to make the border semi-transparent so I could see through it and discovered that, it was not the camera.CFrame that was wrong. It is actually the border (which is a union) that is being scaled down on mobile.

Here is an image that shows this:


If you can’t make it out, there is a translucent border infront of the camera that would normally block the rest of the scene from being viewed. The border is about half the size that it is supposed to be, but it appears normally on PC devices.

Does anyone know if this is a bug or caused by something specific? Any help would be greatly appreciated.

1 Like

What is making a union scale down? Is it scripted?

1 Like

It is not scripted, there are no references to the union in any scripts so I have no idea what makes it scale down.

From reading both your posts, it seems it is a field of view issue. I see that your camera script changes it to 40, how are you changing it back? Is anything else changing the field of view higher, which will give the appearance that your union is shrinking?

Also, is the union shrunk in game but not in studio? Or is it only shrinking when the fight scene starts? Or just when you play test?

Only things that would shrink it would be a glitched union, which is fixed by remaking it. Or its name is referenced somewhere and a script is affecting it, so changing name will fix.

But i feel its the field of view at this point.

even with a lower or higher field of view, the camera would still not be blocked by this union, I am certain it is caused by the union resizing so I guess I will try remake it or just use parts.

Yeah try not to use unions unless its really needed. Let me know how it works out.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.