Comments (6)
Hi @dantreble,
Yes, maybe the data from gettickspacegeometry() doesn't exist in the first frame.
However, I don't know how to fix this issue because I cannot reproduce this bug on my side. It would be very helpful if you could provide the project link or screenshot/video of the issue. I will investigate the bug.
Note that the plugin depends on the MoviePlayer plugin. Many of the issues here are either related to MoviePlayer or the engine itself, which is beyond my ability to fix.
Best Regards,
Truong
from asyncloadingscreen.
If this video attaches and you can skip frame by frame, you can see the layout is different first frame
https://github.com/truong-bui/AsyncLoadingScreen/assets/3644118/39fe890c-bd43-40d3-afda-0caffe974162
I was able to get a breakpoint in a standalone game and see it 0,0 on the first frame. I also logged it with UE_LOG :-)
from asyncloadingscreen.
Oh, I see. The loading widget scale is wrong in the first frame. Interesting!
I will take a look at this issue. Tbh, if the player doesn't have OCD, they may not notice it :). Anyway, thanks for the update.
from asyncloadingscreen.
Just updated the DPI scale from the viewport size instead: 8acaab1
Hopefully this will solve your issue.
from asyncloadingscreen.
Thank you!
I did the same, although I clamped it at 1.0, because on PS5 the dpi scale went to 2.0 at 4k. While with the original code it stayed at 1.0
PS5
GetTickSpaceGeometry().ToPaintGeometry().GetLocalSize() 1920,1080 Scale 1.000000
GEngine->GameViewport->Viewport->GetSizeXY() 3840,2160 Scale 2.000000
(the elements look VERY large at 2.0, which is almost the inverse to what you want!)
Some PC scenarios for comparison
GetTickSpaceGeometry().ToPaintGeometry().GetLocalSize() 2752,1152 Scale 1.066667
GEngine->GameViewport->Viewport->GetSizeXY() 3440,1440 Scale 1.333333
GetTickSpaceGeometry().ToPaintGeometry().GetLocalSize() 1536,864 Scale 0.799600
GEngine->GameViewport->Viewport->GetSizeXY() 1920,1080 Scale 1.000000
GetTickSpaceGeometry().ToPaintGeometry().GetLocalSize() 1024,576 Scale 0.532800
GEngine->GameViewport->Viewport->GetSizeXY() 1280,720 Scale 0.666000
from asyncloadingscreen.
Thanks for the info. I will keep the issue open for reference, in case someone may encounter the same problem.
from asyncloadingscreen.
Related Issues (20)
- Time in Font Materials does not update during a loading screen
- Startup video can't play video more than 4 seconds
- Unreal 5.3 loading screen just doesn't work HOT 3
- Force Start loading screen
- Custom audio preferences on video HOT 2
- Loader not showing on Linux/Steamdeck HOT 2
- Black flicker when stoping the loading screen
- Console support HOT 1
- Does not work with Seamless Travels HOT 2
- Marketplace plugin doesnt work with UE 5.3.2
- How do you disable the plugin? HOT 3
- How to remove a whiter Bar in bottom? HOT 3
- Blueprint delegate for when finished loading? HOT 1
- Async Loading Screen Shows Black Screen on Startup HOT 7
- bWaitForManualStop=True leads to game not being able to close correctly (packaged game) HOT 5
- Trying to re-compile for UE source-code version, 5.2.1 but getting this issue, I only want to compile for win64, but it is getting failed due to android SDK which I don't even need HOT 1
- Infinite loading screen... aka Quest 2 not working HOT 1
- Loading screen dissapears too fast HOT 8
- 5.4 Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asyncloadingscreen.