UBOAT
[WIP 2025.1] U-Boat Expanded
link  [developer] 19 Sep, 2021 @ 9:01pm
Discussing performance of ube
This is currently just a copy paste of a main. Thread. Disregard until I full write up a article on the matter...

....cont.

There are other factors at play in the vanilla game.. such as some commute intervals of group generation happen all at the same time,

additionally the positional update for groups on the map occur at the same interval regardless of how far away they are. So when I was developing ube pacific I found that when I was in Europe, groups in the pacific were having their position updated just as frequently as a group right next to me.

Ube has no availability to change this. This is how the base game works at the moment. And due to the vastly smaller vanilla dataset the devs and most players never experience these issues

If we are lucky and the devs greatly increase the data being provided to the vanilla game world they will quickly encounter the same issues I have.

The only avenue I currently have to improve performance is to remove data or reduce the detail/summarization of historical data.

Or wait until the devs add in new techniques for me to better frame the ube datasets which don't require compute in real time.

Output logs are always needed!
C://Users/<user>/AppData/LocalLow/DeepWaterStudio/UBOAT/outputlog.txt (share via paste bin please or similar)
Last edited by link; 11 Feb, 2022 @ 8:19pm
< >
Showing 1-15 of 17 comments
How do I post a video of the problem i am having
https://www.youtube.com/watch?v=R1BC7dqcjns&ab_channel=NIMH

this is the issue i am having please advise
link  [developer] 3 Oct, 2021 @ 9:00pm 
So this is a bit on the extreme side of lag. and likely caused by an error occuring rather than UBE causing too much stress.

Can you provide a link to your output log when using UBE
yes i can
Engine version: 2019.4.30f1
System version: Windows 10 (10.0.19043) 64bit
System memory: 32684 MB
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce RTX 2080
Vendor: NVIDIA
VRAM: 8010 MB
Driver: 472.12
Game version: b129 Hotfix 3
[UnstuckRDF] Version 1.2 is loading...
[UnstuckRDF] Loaded succesfully!
[Sinking Physics] version: 1.1
[Sinking Physics] HPBar: False
[BdU Convoys Reports] Version 0.6.2.1 is loading...
[BdU Convoys Reports] Hourly message chance has been generated
[BdU Convoys Reports] Loaded successfuly!
[Improved Ballast Control] Loading, version: 0.4
[Improved Ballast Control] Patches applied!
[Custom Actions] Loading, version: 1.1
[Custom Actions] Patches applied!
[Expanded Crew] Loading, version: 1.0
[Expanded Crew] Patches applied!
Slotmachine loaded!
[Historical Flags] Version 1.3.3 is loading...
[Historical Flags] Loaded succesfully!
[TDC MOD]: Loading TDC-Mod v1.7.5
[TDC MOD]: [INJECTOR] Applying patches with Harmony...
[TDC MOD]: [INJECTOR] Patched!
System.NullReferenceException: Object reference not set to an instance of an object
at UBOAT.Game.UI.TooltipManager.Open (UnityEngine.RectTransform target, System.String contents, UnityEngine.Vector3 offset, UnityEngine.Vector2 pivot, System.Func`1[TResult] updateFunc, System.Single updateInterval, UBOAT.Game.UI.TooltipMode tooltipMode) [0x00000] in <7590189c4bb74b3fab5ca66945f670dd>:0
at UBOAT.Game.UI.Tooltip.Open () [0x00092] in <7590189c4bb74b3fab5ca66945f670dd>:0
at UBOAT.Game.UI.Tooltip.OnPointerEnter (UnityEngine.EventSystems.PointerEventData eventData) [0x0005e] in <7590189c4bb74b3fab5ca66945f670dd>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerEnterHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in <6b3539cc70f740a79d79741e5a32f328>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00063] in <6b3539cc70f740a79d79741e5a32f328>:0
[BdU Convoys Reports] Injecting...
scene loaded Character Creation
scene destroy Main Menu
scene destroy Character Creation
[BdU Convoys Reports] Injecting...
scene loaded Headquarters
[BdU Convoys Reports] Injecting...
scene loaded Main Scene
[TDC MOD]: Main scene awake
[TDC MOD]: Searching for GUI Viewport...
[TDC MOD]: Viewport found!
[TDC MOD]: Instantiating prefabs...
[TDC MOD]: Ready!
[BdU Convoys Reports] Passing the postfix for GameTime.Awake
[Custom Actions] Importing "RdfToggleAction" "UBOAT.Mods.UnstuckRDF.RdfToggleAction" from "unstuck-rdf".
[Custom Actions] Importing "RdfResumeAutoAction" "UBOAT.Mods.UnstuckRDF.RdfResumeAutoAction" from "unstuck-rdf".
[Custom Actions] Importing "ReportEnablingAction" "UBOAT.Mods.BdUConvoys.ReportEnablingAction" from "bdu-convoy-sighting-reports".
[Custom Actions] Importing "AdjustBallastForDeckAwashAction" "UBOAT.Mods.ImprovedBallastControl.AdjustBallastForDeckAwashAction" from "improved-ballast-control".
Funkpeilrahmen Antenna
[BdU Convoys Reports] In main scene, starting timers
[BdU Convoys Reports] In main scene, setting isRunning to true
[Historical Flags] We found the sub flag
[TDC MOD]: Main scene start
[TDC MOD]: Instantiating prefabs...
[TDC MOD]: Ready!
[TDC MOD]: Initial TDC state loading...
[TDC MOD]: Ready!
[TDC MOD]: TDC-Mod loaded!
Looking up playerShip
Ship was found, starting to edit the slots
adding slot
Removing duplicate item
Now at 11 and 11
adding slot
Removing duplicate item
Now at 12 and 12
adding slot
Removing duplicate item
Now at 13 and 13
adding slot
Removing duplicate item
Now at 14 and 14
adding slot
Removing duplicate item
Now at 15 and 15
adding slot
Removing duplicate item
Now at 16 and 16
adding slot
Removing duplicate item
Now at 17 and 17
adding slot
Removing duplicate item
Now at 18 and 18
adding slot
Removing duplicate item
Now at 19 and 19
adding slot
Removing duplicate item
Now at 20 and 20
adding slot
Removing duplicate item
Now at 21 and 21
adding slot
Removing duplicate item
Now at 22 and 22
adding slot
Removing duplicate item
Now at 23 and 23
adding slot
Removing duplicate item
Now at 24 and 24
adding slot
Removing duplicate item
Now at 25 and 25
adding slot
Removing duplicate item
Now at 26 and 26
adding slot
Removing duplicate item
Now at 27 and 27
adding slot
Removing duplicate item
Now at 28 and 28
adding slot
Removing duplicate item
Now at 29 and 29
adding slot
Removing duplicate item
Now at 30 and 30
adding slot
Removing duplicate item
Now at 31 and 31
Engine version: 2019.4.30f1
System version: Windows 10 (10.0.19043) 64bit
System memory: 32684 MB
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce RTX 2080
Vendor: NVIDIA
VRAM: 8010 MB
Driver: 472.12
Game version: Uboat Expanded 0.7.5b
[Uboat Expanded Captains] Loading, version: 0.3
[Uboat Expanded Captains] Patches applied!
[UnstuckRDF] Version 1.2 is loading...
[UnstuckRDF] Loaded succesfully!
[Sinking Physics] version: 1.1
[Sinking Physics] HPBar: False
[BdU Convoys Reports] Version 0.6.2.1 is loading...
[BdU Convoys Reports] Hourly message chance has been generated
[BdU Convoys Reports] Loaded successfuly!
[Improved Ballast Control] Loading, version: 0.4
[Improved Ballast Control] Patches applied!
[Custom Actions] Loading, version: 1.1
[Custom Actions] Patches applied!
[Expanded Crew] Loading, version: 1.0
[Expanded Crew] Patches applied!
Slotmachine loaded!
[Historical Flags] Version 1.3.3 is loading...
[Historical Flags] Loaded succesfully!
[TDC MOD]: Loading TDC-Mod v1.7.5
[TDC MOD]: [INJECTOR] Applying patches with Harmony...
[TDC MOD]: [INJECTOR] Patched!
scene destroy Main Menu
[BdU Convoys Reports] Injecting...
scene loaded Main Scene
[TDC MOD]: Main scene awake
[TDC MOD]: Searching for GUI Viewport...
[TDC MOD]: Viewport found!
[TDC MOD]: Instantiating prefabs...
[TDC MOD]: Ready!
[BdU Convoys Reports] Passing the postfix for GameTime.Awake
[Custom Actions] Importing "RdfToggleAction" "UBOAT.Mods.UnstuckRDF.RdfToggleAction" from "unstuck-rdf".
[Custom Actions] Importing "RdfResumeAutoAction" "UBOAT.Mods.UnstuckRDF.RdfResumeAutoAction" from "unstuck-rdf".
[Custom Actions] Importing "ReportEnablingAction" "UBOAT.Mods.BdUConvoys.ReportEnablingAction" from "bdu-convoy-sighting-reports".
[Custom Actions] Importing "AdjustBallastForDeckAwashAction" "UBOAT.Mods.ImprovedBallastControl.AdjustBallastForDeckAwashAction" from "improved-ballast-control".
Imported 1074 units
Entity on group "Singapore" doesn't exist: Keppel Harbor
[Uboat Expanded Captains] Prefabs loaded!
Funkpeilrahmen Antenna
[BdU Convoys Reports] In main scene, starting timers
[BdU Convoys Reports] In main scene, setting isRunning to true
[Historical Flags] Use of UBE is detected...
[Historical Flags] We found the sub flag
[Historical Flags] UBE is active with no safe patch, setting unsafe flag
[TDC MOD]: Main scene start
[TDC MOD]: Instantiating prefabs...
[TDC MOD]: Ready!
[TDC MOD]: Initial TDC state loading...
[TDC MOD]: Ready!
[TDC MOD]: TDC-Mod loaded!
Loading save file: Autosave_1.
Looking up playerShip
Ship was found, starting to edit the slots
adding slot
Removing duplicate item
Now at 11 and 11
adding slot
Removing duplicate item
Now at 12 and 12
adding slot
Removing duplicate item
Now at 13 and 13
adding slot
Removing duplicate item
Now at 14 and 14
adding slot
Removing duplicate item
Now at 15 and 15
adding slot
Removing duplicate item
Now at 16 and 16
adding slot
Removing duplicate item
Now at 17 and 17
adding slot
Removing duplicate item
Now at 18 and 18
adding slot
Removing duplicate item
Now at 19 and 19
adding slot
Removing duplicate item
Now at 20 and 20
adding slot
Removing duplicate item
Now at 21 and 21
adding slot
Removing duplicate item
Now at 22 and 22
adding slot
Removing duplicate item
Now at 23 and 23
adding slot
Removing duplicate item
Now at 24 and 24
adding slot
Removing duplicate item
Now at 25 and 25
adding slot
Removing duplicate item
Now at 26 and 26
adding slot
Removing duplicate item
Now at 27 and 27
adding slot
Removing duplicate item
Now at 28 and 28
adding slot
Removing duplicate item
Now at 29 and 29
adding slot
Removing duplicate item
Now at 30 and 30
adding slot
Removing duplicate item
Now at 31 and 31
adding slot
Removing duplicate item
Now at 32 and 32
adding slot
Removing duplicate item
Now at 33 and 33
adding slot
Removing duplicate item
Now at 34 and 34
adding slot
Removing duplicate item
Now at 35 and 35
adding slot
Removing duplicate item
Now at 36 and 36
adding slot
Removing duplicate item
Now at 37 and 37
adding slot
Removing duplicate item
Now at 38 and 38
adding slot
Removing duplicate item
Now at 39 and 39
adding slot
Removing duplicate item
Now at 40 and 40
adding slot
Removing duplicate item
Now at 41 and 41
adding slot
Removing duplicate item
Now at 42 and 42
adding slot
Removing duplicate item
Now at 43 and 43
adding slot
Removing duplicate item
Now at 44 and 44
adding slot
Removing duplicate item
Now at 45 and 45
adding slot
Removing duplicate item
Now at 46 and 46
adding slot
Removing duplicate item
Now at 47 and 47
adding slot
Removing duplicate item
Now at 48 and 48
adding slot
Removing duplicate item
Now at 49 and 49
adding slot
Removing duplicate item
Now at 50 and 50
adding slot
Removing duplicate item
Now at 5 and 5
adding slot
Removing duplicate item
Now at 6 and 6
adding slot
Removing duplicate item
Now at 7 and 7
adding slot
Removing duplicate item
Now at 8 and 8
adding slot
Removing duplicate item
Now at 9 and 9
adding slot
Removing duplicate item
Now at 10 and 10
adding slot
Removing duplicate item
Now at 9 and 9
adding slot
Removing duplicate item
Now at 10 and 10
adding slot
Removing duplicate item
Now at 11 and 11
adding slot
Removing duplicate item
Now at 12 and 12
[BdU Convoys Reports] Injecting...
scene loaded Headquarters
[BdU Convoys Reports] Injecting...
scene loaded Port of Kiel
Patching Kiel assets
Done
[Historical Flags] Ensuring proper flags are loaded post save load
Still loading after 90538 ms.
Some assets are still being loaded:
- Icons/Weather/AM
- Icons/Weather/Sunny
There are active loading screen blockades:
SavesManager (UBOAT.Game.Core.Serialization.SavesManager)

Requested asset at path "Icons/Map/Empty - Enemy" doesn't exist.
Requested asset at path "Icons/ContactsListUI/Port" doesn't exist.
<color=#5d8496>Reputation 9</color>
<color=#5d8496>Budget 120000</color>
Requested asset at path "Icons/Actions (Banners)/Reputation Purchases" doesn't exist.
Requested asset at path "Icons/Actions (Banners)/Open Crew List" doesn't exist.
Requested asset at path "Icons/Actions (Banners)/Recruitment" doesn't exist.
Requested asset at path "Icons/Actions (Banners)/Open Crew List" doesn't exist.
[BdU Convoys Reports] Injecting...
scene loaded Character Screen
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper Mirror" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper Mirror" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper Mirror" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper Mirror" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper Mirror" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper Mirror" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper Mirror" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper Mirror" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.
Pooled instance of prefab "Character/Other/Newspaper" has enabled animators despite that they are being disabled before adding to a pool. It has to be removed to avoid crashes.


link  [developer] 4 Oct, 2021 @ 7:10pm 
Try clearing your cache (same directory as the output log) and verify game data via steam.

Looks like some of the game assets are having a problem being loaded? Probably from cache?There is an error occuring and likely the logging / handling of the error is taking away compute time for UBE convoy and sub data. Which basically wants as much as you PC can give.
Fragtzack 21 Oct, 2021 @ 2:43am 
I was having performance issue. Then I seen this post from link about looking in logfile and clearing cache. Also seen some posts under a radio mod concerning performance. In addition, personal experience of deleting a mod in middle of savegame and then observing artifacts of deleted mod still existing.


Therefore, I did the following and performance is fine now:

1. Delete all mods
2. Delete cache files
3. Verify integrity of steam files
4. Re-install wanted mods
5. Start a new save game

The bottom line here : Do not add/delete ANY mods from an existing savegame. Any time you add/delete a mod you need to start a new save game. Uboat does not seem to correctly support add/delete mods in middle of a save game.

See my post here outside of UBE: https://steamhost.cn/steamcommunity_com/app/494840/discussions/0/3119298624506936277/
Last edited by Fragtzack; 21 Oct, 2021 @ 2:45am
WYR3 11 Feb, 2022 @ 1:49pm 
Not sure if this thread is still active, Ive tried out the mod today for a few hours but I keep crashing my boat near the ports due to the screen freezing while i try to plot courses (as the ai pilots into walls). The freezing occurs for a few seconds, which is a big problem considering the time compression. Is anyone else experiencing this issue? Any ideas how to resolve it?
link  [developer] 11 Feb, 2022 @ 4:14pm 
Originally posted by WYR3:
Not sure if this thread is still active, Ive tried out the mod today for a few hours but I keep crashing my boat near the ports due to the screen freezing while i try to plot courses (as the ai pilots into walls). The freezing occurs for a few seconds, which is a big problem considering the time compression. Is anyone else experiencing this issue? Any ideas how to resolve it?

I would need an link to your output log to correlate any potential issues with UBE with the performance. Also auto docking way-points are not implemented for custom ports, further more auto plotting way-points has limitations in the vanilla game, and care should be taken to ensure a plot is valid.
WYR3 11 Feb, 2022 @ 7:29pm 
how would i be able to send an output log to help out? I really like the mod and would love to help out if I could.
link  [developer] 11 Feb, 2022 @ 8:21pm 
this is the location of the output log.

I suggest using pastbin[www.pastebin.com]
or a similar method
C://Users/<user>/AppData/LocalLow/DeepWaterStudio/UBOAT/outputlog.txt (share via paste bin please or similar)
WYR3 11 Feb, 2022 @ 9:03pm 
ok so how do i share the pastebin thing. Never used it before
WYR3 11 Feb, 2022 @ 9:07pm 
https://pastebin.com/rzazVnd5

I think This should be good. It will be deleted in a day.
link  [developer] 12 Feb, 2022 @ 7:37am 
perfect thank you.
< >
Showing 1-15 of 17 comments
Per page: 1530 50