Commit Graph

744 Commits

Author SHA1 Message Date
nicolas mercier
d0256f9166 Fix shutdown crash when using AddressSanitizer. The crash happens in AtExit deep in external DLLs, so instead disable TextInput altogether.
#rb [at]daniele.vettorel
#rnx

[CL 25647144 by nicolas mercier in ue5-main branch]
2023-05-26 12:49:52 -04:00
Rafa Lecina
1fc5cb3745 Fix Receipt management on OSSiOS
Receipts retrieved using GetReceipts should be updated by calls to QueryReceipts. After a successful Checkout the receipt for the successful purchase is added to the cached receipts
Ignored all asynchronous transaction updates received. Just trigger the UnexpectedPurchaseReceipt delegate in that case of Purchased transaction notifications
Restored transactions are automatically finished so the end user does not need to do it

Subscriptions and durable products can be purchased and validated but there is no way to know about their state on device using StoreKit. I tried to decode the iOS AppStore receipt using OpenSSL but there is no useful information about owned products (contents look equivalent to restoring receipts)

Also, used proper log category for the purchase interface

#jira UE-176438
#review @Bertrand.Carre, @Michael.Kirzinger, @Dashan.Yue, @Erida.Dule
#preflight 646756d00577c206c77fa474

[CL 25638876 by Rafa Lecina in ue5-main branch]
2023-05-26 04:17:42 -04:00
zack neyland
2fe3440174 Mac: Don't rebuild cached menu on every key press.
#jira UE-86743
#preflight na

[CL 25591473 by zack neyland in ue5-main branch]
2023-05-23 17:49:10 -04:00
yuriy odonnell
5e26ac175f Only update stored console window width/size in SIZE_RESTORED and SIZE_MAXIMIZED
* Fixes a bug where invalid window dimensions would be stored in the .ini file if application is closed while the console is minimized

#rb Devin.Doucette
#preflight 646542554404e3cdd241a3fc

[CL 25518737 by yuriy odonnell in ue5-main branch]
2023-05-17 19:12:15 -04:00
wei liu
c53c069cf8 Tentative fix for android safe zone.
#rb Chris.Babcock
#preflight 64547812d02ea5289fa6a8a3

[CL 25349049 by wei liu in ue5-main branch]
2023-05-05 01:47:29 -04:00
robert seiver
2e65566224 Stop wiping negative bits when masking away higher bits of window position data for use when moving windows
#jira UE-170506
#preflight 64512c0b4d593c0b42a759af
#rb daren.cheng

[CL 25302439 by robert seiver in ue5-main branch]
2023-05-02 11:39:27 -04:00
adam kinge
95dfb47d45 Refactor a global variable and function into IOSAppDelegate as a recent commit appears to have broken it (plus, globals are (generally) bad)
#jira UE-184349
#preflight 644957786b589f8b367d3563
#rnx

[CL 25203367 by adam kinge in ue5-main branch]
2023-04-26 14:11:39 -04:00
robert seiver
4a61132a13 Now using alternate display dimensions which take into account the Dock size when computing work area.
#jira UE-181681
#rb James.Singer, Zack.Neyland
#preflight none

[CL 25127611 by robert seiver in ue5-main branch]
2023-04-20 10:52:52 -04:00
William Belcher
1edb0eeef9 Fix: NullPlatformApplicationMisc platform check is flipped
#rb luke.bermingham
#jira
#preflight trivial
#fyi

[CL 25036562 by William Belcher in ue5-main branch]
2023-04-13 22:53:21 -04:00
christopher fiala
57129aa917 Fix packaged Quest loading hang due to recent changes in FAndroidWindow::GetScreenRect and the OpenXR depth swapchain view rect initialization.
The FAndroidWindow::GetScreenRect change left us with a (0,0) resolution when using Quest, so the HMD wouldn't even try to render.
The depth swapchain changes cause the depth swapchain ViewRect to be uninitialized, resulting in an XR_ERROR_SWAPCHAIN_RECT_INVALID error.

#jira UE-181076
#rb robert.srinivasiah
#preflight 6430871cdf6c5c78fc2bb08d

[CL 24970602 by christopher fiala in ue5-main branch]
2023-04-07 17:25:37 -04:00
jack porter
6fc650c101 Update Swappy to the latest from https://android.googlesource.com/platform/frameworks/opt/gamesdk, modified to always use the Java DisplayManager and refresh rate selection
Enable Swappy on Android by default
Fixed: Swappy VK initialization which was missing a WindowHandle
Remove old GoogleGameSDK files that are no longer needed
Removed Java version of MemAdvisor
#rb Dmitriy.Dyomin
#jira UE-181102
#preflight 64302326285518071799c243

[CL 24965637 by jack porter in ue5-main branch]
2023-04-07 12:06:20 -04:00
james singer
aeed5191dc Fix up DPI scale in Linux being incorrect on 5120x1440 displays
#jira UE-181801
#review @Brandon.Schaefer, @Zack.Neyland, @Robert.Seiver
#rb zack.neyland
#preflight 642c70d74d26bcd1eb99c038

[CL 24916645 by james singer in ue5-main branch]
2023-04-04 15:57:56 -04:00
bernard lambert
be2b61c941 Added a console variable to control if we should use an invisible cursor instead of setting the HCursor to NULL when the cursor type is set to None.
#RB [at]Camille.Gendreau [at]Ghislain.Theriault [at]Fourat.Jellouli [at]Bob.Tellez

[CL 24913211 by bernard lambert in ue5-main branch]
2023-04-04 12:56:18 -04:00
henrik karlsson
d3c4095c18 [Engine]
* WindowsConsoleOutputDevice2 - Fixed clang compile error by renaming parameter (shadowing variable)

#preflight skipped
#rb none

[CL 24873621 by henrik karlsson in ue5-main branch]
2023-03-31 12:29:47 -04:00
William Belcher
7591296349 Add a null platform for use when rendering off screen.
#rb
#jira UE-169493, UE-180546
#preflight https://horde.devtools.epicgames.com/job/6424d325710ec8400f989208
#fyi

[CL 24849011 by William Belcher in ue5-main branch]
2023-03-29 20:46:03 -04:00
Jeff Fisher
64403c6f95 UE-181471 Delete SteamVR plugin.
-Deprecated in 5.1.  OpenXR should be used instead.
-A few instances of the string "SteamVR" remain.  In some case we are comparing to the OpenXR Runtime name, which remains correct.  In some we are searching input profile paths for SteamVR, which also remains correct.  VRScouting is doing the input profile path and then overriding VREditor's view of the xr plugin name, so at first glance VREditor still seems to be using SteamVR, but it actually does not depend on that (That code will likely be further refactored as time goes on).
#jira UE-181471
#preflight 64233be9803cb466e86ad33c
#review
#rb Arciel.Rekman

[CL 24825198 by Jeff Fisher in ue5-main branch]
2023-03-28 15:55:51 -04:00
allan bentham
af7e41dca5 Fix assert when Android 3d scene DPI is clamped by Android.3DSceneMinDPI.
- set secondary screen percent cvar from GT only.
#rb none
#preflight 6421d793c42c7fd1cb9708ec

[CL 24811082 by allan bentham in ue5-main branch]
2023-03-27 18:31:08 -04:00
robert seiver
5f2ad6e635 Change the cast style used in CL 24732346 to static_cast
#preflight trivial

[CL 24735421 by robert seiver in ue5-main branch]
2023-03-21 14:00:11 -04:00
robert seiver
1b7fc2a1fb Stop tooltips from popping up during window drags
#jira UE-177162
#rb James.Singer
#preflight 6419c3faee0aed13471f79a8

[CL 24732346 by robert seiver in ue5-main branch]
2023-03-21 11:03:51 -04:00
ionut matasaru
31e73246fe Fixed -NoPCH -DisableUnity error for Linux.
#rb trivial
#preflight skip

[CL 24678081 by ionut matasaru in ue5-main branch]
2023-03-16 16:06:12 -04:00
allan bentham
2128af84cf Fix downstream cis
#rb none

[CL 24672190 by allan bentham in ue5-main branch]
2023-03-16 11:48:25 -04:00
allan bentham
e9c3559bf2 Fix downstream cis
#rb none

[CL 24672114 by allan bentham in ue5-main branch]
2023-03-16 11:45:30 -04:00
allan bentham
c0e8a0cb55 Android DPI window resolution selection cvars
- Android.WindowDPI, set a DPI to achieve when calculating the app's screen resolution.
 - Android.3DSceneMaxDesiredPixelCount, set a target pixel count for the 3D scene color resolution.
 - Android.3DSceneMinDPI, set a forced minimum DPI for the 3D scene color resolution, useful to ensure a minimum resolution quality on low DPI devices.
#rb Chris.babcock

[CL 24671989 by allan bentham in ue5-main branch]
2023-03-16 11:41:14 -04:00
David Harvey
d38b61fff8 Ensure GetPlatformUserForUserIndex and GetUserIndexForPlatformUser are commutitive.
- Prevents potential runaway recursion in ULocalPlayer::SetPlatformUserId

#jira UE-179349, UE-179433
#rb Ben.Hoffman
#preflight 640afcc00e1f02786bd98c23

[CL 24589054 by David Harvey in ue5-main branch]
2023-03-10 04:54:52 -05:00
chris babcock
ddbeafd4c3 Less frequent update to intensity for on device vibrator
#android
[REVIEW] [at]Peter.Sauerbrei
#rb Peter.Sauerbrei

[CL 24551994 by chris babcock in ue5-main branch]
2023-03-07 19:11:03 -05:00