Hi Devs,
I have a problem (of course) where when nativised, it takes my game forever to open levels. It’s okay in the loading page and menu levels but when I exit out of an actual gameplay level and return to the menu it takes ages (more than a minute) to open. And what’s interesting is that the longer I let the level run for, the longer it then takes to load the menu level.
I have included a part of the Android Monitor log below, as you can see after a short round of play there is a delay of around 4 seconds where the network change manager is running and then a gap of arround 10 seconds before it shows the next action.
Again, the longer I let the level run for the more loops of the network change manager it seems to do so I feel that the problem lies there.
This is UE4.26 building for Quest2 and as I said, this issue only occurs when using nativised code. Undortunately the perfomance boost Nativization give me means disabling it is not an option.
I have included steps already taken below the log. Thanks for any help with this.
Dave
06-05 11:26:08.121: D/UE4(4554): [2021.06.05-09.26.08:121][ 32]LogNet: Browse: /Game/Menu
06-05 11:26:08.121: D/UE4(4554): [2021.06.05-09.26.08:121][ 32]LogLoad: LoadMap: /Game/Menu
06-05 11:26:08.121: D/UE4(4554): [2021.06.05-09.26.08:121][ 32]LogWorld: BeginTearingDown for /Game/Canyons
06-05 11:26:08.130: D/UE4(4554): [2021.06.05-09.26.08:130][ 32]LogWorld: UWorld::CleanupWorld for Canyons, bSessionEnded=true, bCleanupResources=true
06-05 11:26:09.516: V/UE4(4554): [NetworkChangedManager] Network Capabilities changed, has Internet: true
06-05 11:26:09.517: V/UE4(4554): [NetworkChangedManager] Verifying internet connection with host: https://example.com/
06-05 11:26:09.744: V/UE4(4554): [NetworkChangedManager] Connectivity hasn’t changed. Current state: CONNECTION_AVAILABLE
06-05 11:26:09.745: V/UE4(4554): [NetworkChangedManager] Full network check complete. State: CONNECTION_AVAILABLE
06-05 11:26:12.172: D/UE4(4554): [GameActivity] Used memory: 981923 (VmRSS: 588420 kB)
06-05 11:26:12.533: V/UE4(4554): [NetworkChangedManager] Network Capabilities changed, has Internet: true
06-05 11:26:12.534: V/UE4(4554): [NetworkChangedManager] Verifying internet connection with host: https://example.com/
06-05 11:26:12.710: V/UE4(4554): [NetworkChangedManager] Connectivity hasn’t changed. Current state: CONNECTION_AVAILABLE
06-05 11:26:12.710: V/UE4(4554): [NetworkChangedManager] Full network check complete. State: CONNECTION_AVAILABLE
06-05 11:26:22.435: D/UE4(4554): [GameActivity] Used memory: 978826 (VmRSS: 585816 kB)
Steps taken…
Called open level from Level blueprint instead of Player Pawn incase there was a communication error between Native/Non Native code.
Disabled the Oculus Splash screen which sometimes causes similar delays.
Added some code to DefaultEngine.ini to increase network resources
None of the above have worked.