edited February 2022 in ORK Support
Heyo!

I have a small problem with the Screen Fader which I can't seem to fix.

Both Unity and ORK are set up to run at 4k resolution. The Screen Fader works perfectly fine on 1440p and above, but once I try to run the build on 1080p and lower, the Canvas of the Fader only covers around one quarter of the screen.

The issue is scene independent and occurs both when starting a new game and loading a save game either from the start menu or one of the other scenes. However, it is so far the only problematic element I've encountered in terms of scaling.

I was able to circumvent the issue during playtesting by setting the UI Scale mode of the Screen Fader's Canvas Scaler from 'Scale With Screen Size' to 'Constant Pixel Size'.
However, I haven't found a way to change this permanently beyond the scope of the playtest. I also assume that this workaround might create more problems down the line.

Unfortunately, I haven't found an option to change this within the Framework Editor, nor was I able to find any discussions about this problem in the forums. Also, I hope I posted this in the right category. Please feel free to let me know if I didn't.

With all that being said, I'd like to ask the following questions:
Is there a better way to fix this issue? And if not: Is it possible to access the Canvas Scaler of the Screen Fader and permanently adjust its settings?
Post edited by Nory on
  • Hm, I'll do some tests.

    Generally, you can use a prefab with your canvas setup in your UI layers - i.e. set up your canvas as you want it (scaler, etc.), make a prefab out of it and use that in your UI layers (UI > UI Layers).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you very much for the quick reply!

    I got it working setting the modified version up as a prefab, as you mentioned. Every resolution seems to work, so far.

    I'll also have another look at it tomorrow and try to find out whether it's something specific within my setup causing this problem.

    In any case, big thanks again for the quick and super helpful reply.
  • Tested it and also happens for me ... it's just the canvas scaler working like that.
    I'll play around with it a bit to find the best setup that works in multiple resolutions and might add some options for the default canvases that are created when not using prefabs.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.