安装 Steam						
					
				
				
									登录
											 | 
						语言
						
																																															繁體中文(繁体中文)
																													日本語(日语)
																													한국어(韩语)
																													ไทย(泰语)
																													български(保加利亚语)
																													Čeština(捷克语)
																													Dansk(丹麦语)
																													Deutsch(德语)
																													English(英语)
																													Español-España(西班牙语 - 西班牙)
																													Español - Latinoamérica(西班牙语 - 拉丁美洲)
																													Ελληνικά(希腊语)
																													Français(法语)
																													Italiano(意大利语)
																													Bahasa Indonesia(印度尼西亚语)
																													Magyar(匈牙利语)
																													Nederlands(荷兰语)
																													Norsk(挪威语)
																													Polski(波兰语)
																													Português(葡萄牙语 - 葡萄牙)
																													Português-Brasil(葡萄牙语 - 巴西)
																													Română(罗马尼亚语)
																													Русский(俄语)
																													Suomi(芬兰语)
																													Svenska(瑞典语)
																													Türkçe(土耳其语)
																													Tiếng Việt(越南语)
																													Українська(乌克兰语)
																									报告翻译问题
							
						
 
											 
													

 
					




 举报此帖
 举报此帖


[RealisticLightModes] ApplyColorMultiplier for Alarm
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <7e05db41a20b45108859fa03b97088d4>:0
at System.Number.ParseSingle (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00071] in <7e05db41a20b45108859fa03b97088d4>:0
at System.Single.Parse (System.String s) [0x0001a] in <7e05db41a20b45108859fa03b97088d4>:0
at UBOAT.Mods.RealisticLightModes.PlayerShipInteriorLightingPatches+ApplyColorMultiplierPatch.Prefix (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting __instance, UBOAT.Game.Scene.Effects.LightController[] ___lightControllers) [0x00084] in <c56ad495a1cc475889ac6575709833f5>:0
at (wrapper dynamic-method) UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.ApplyColorMultiplier_Patch1(UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting)
at UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.set_DominantPreset (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting+LightSet value) [0x00011] in <eef8a62c3789475cb8437ade0a1dfe32>:0
at UBOAT.Mods.RealisticLightModes.PlayerShipInteriorLightingPatches+SetPresetPatch.Prefix (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting __instance, UBOAT.Game.Scene.Effects.LightController+Preset newPreset, UBOAT.Game.Scene.Effects.LightController+Preset& ___currentPreset, UnityEngine.GameObject[]& ___reflectionProbeSets, System.Single& ___presetChangeTime, UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting+LightSet& ___dominantPresetIndex) [0x00200] in <c56ad495a1cc475889ac6575709833f5>:0
[RealisticLightModes] Auto Day Lighting triggered
[RealisticLightModes] ApplyColorMultiplier for Surface
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <7e05db41a20b45108859fa03b97088d4>:0
at System.Number.ParseSingle (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00071] in <7e05db41a20b45108859fa03b97088d4>:0
at System.Single.Parse (System.String s) [0x0001a] in <7e05db41a20b45108859fa03b97088d4>:0
at UBOAT.Mods.RealisticLightModes.PlayerShipInteriorLightingPatches+ApplyColorMultiplierPatch.Prefix (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting __instance, UBOAT.Game.Scene.Effects.LightController[] ___lightControllers) [0x00084] in <c56ad495a1cc475889ac6575709833f5>:0
at (wrapper dynamic-method) UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.ApplyColorMultiplier_Patch1(UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting)
at UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.set_DominantPreset (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting+LightSet value) [0x00011] in <eef8a62c3789475cb8437ade0a1dfe32>:0
at UBOAT.Mods.RealisticLightModes.PlayerShipInteriorLightingPatches+SetPresetPatch.Prefix (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting __instance, UBOAT.Game.Scene.Effects.LightController+Preset newPreset, UBOAT.Game.Scene.Effects.LightController+Preset& ___currentPreset, UnityEngine.GameObject[]& ___reflectionProbeSets, System.Single& ___presetChangeTime, UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting+LightSet& ___dominantPresetIndex) [0x00214] in <c56ad495a1cc475889ac6575709833f5>:0
[RealisticLightModes] ApplyColorMultiplier for SilentRun
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <7e05db41a20b45108859fa03b97088d4>:0
at System.Number.ParseSingle (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00071] in <7e05db41a20b45108859fa03b97088d4>:0
at System.Single.Parse (System.String s) [0x0001a] in <7e05db41a20b45108859fa03b97088d4>:0
at UBOAT.Mods.RealisticLightModes.PlayerShipInteriorLightingPatches+ApplyColorMultiplierPatch.Prefix (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting __instance, UBOAT.Game.Scene.Effects.LightController[] ___lightControllers) [0x00084] in <c56ad495a1cc475889ac6575709833f5>:0
at (wrapper dynamic-method) UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.ApplyColorMultiplier_Patch1(UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting)
at UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.set_DominantPreset (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting+LightSet value) [0x00011] in <eef8a62c3789475cb8437ade0a1dfe32>:0
at UBOAT.Mods.RealisticLightModes.PlayerShipInteriorLightingPatches+SetPresetPatch.Prefix (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting __instance, UBOAT.Game.Scene.Effects.LightController+Preset newPreset, UBOAT.Game.Scene.Effects.LightController+Preset& ___currentPreset, UnityEngine.GameObject[]& ___reflectionProbeSets, System.Single& ___presetChangeTime, UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting+LightSet& ___dominantPresetIndex) [0x001ab] in <c56ad495a1cc475889ac6575709833f5>:0
[RealisticLightModes] Auto Day Lighting triggered
[RealisticLightModes] ApplyColorMultiplier for Surface
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <7e05db41a20b45108859fa03b97088d4>:0
at System.Number.ParseSingle (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00071] in <7e05db41a20b45108859fa03b97088d4>:0
at System.Single.Parse (System.String s) [0x0001a] in <7e05db41a20b45108859fa03b97088d4>:0
at UBOAT.Mods.RealisticLightModes.PlayerShipInteriorLightingPatches+ApplyColorMultiplierPatch.Prefix (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting __instance, UBOAT.Game.Scene.Effects.LightController[] ___lightControllers) [0x00084] in <c56ad495a1cc475889ac6575709833f5>:0
at (wrapper dynamic-method) UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.ApplyColorMultiplier_Patch1(UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting)
at UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting.set_DominantPreset (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting+LightSet value) [0x00011] in <eef8a62c3789475cb8437ade0a1dfe32>:0
at UBOAT.Mods.RealisticLightModes.PlayerShipInteriorLightingPatches+SetPresetPatch.Prefix (UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting __instance, UBOAT.Game.Scene.Effects.LightController+Preset newPreset, UBOAT.Game.Scene.Effects.LightController+Preset& ___currentPreset, UnityEngine.GameObject[]& ___reflectionProbeSets, System.Single& ___presetChangeTime, UBOAT.Game.Scene.Effects.PlayerShipInteriorLighting+LightSet& ___dominantPresetIndex) [0x00214] in <c56ad495a1cc475889ac6575709833f5>:0
Thanks, that's helpful.
I put up a patch that should have a functioning a fallback, so it won't completely fail.
https://s20.directupload.net/images/250219/5x92bq3z.jpg
Hope this helps - thanks for your great work
Engine version: 2021.3.33f1
System version: Windows 11 (10.0.22631) 64bit
System memory: 32516 MB
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce RTX 4090
Vendor: NVIDIA
VRAM: 24142 MB
Driver: 572.16
There can be only one active Event System.
Game version: 2025.1 Patch 10
[RealisticLightModes] Loading, version: 1.4.0
[RealisticLightModes] Patches applied!
A new fade out transition was initiated before the previous one was completed.
A new fade out transition was initiated before the previous one was completed.
There can be only one active Event System.
[RealisticLightModes] ModCharacterActionsDatabase: loading actions data.
[RealisticLightModes] ModCharacterActionsDatabase: loading row "Crew/Actions/AutomaticLightsAction".
[RealisticLightModes] ModCharacterActionsDatabase: loading row "Crew/Actions/AutomaticSilentModeAction".
Achievement U_Tonnage War was already completed
Achievement U_Iron Cross 2nd Class was already completed
Achievement U_Iron Cross 1st Class was already completed
Achievement U_German Cross in Gold was already completed
Achievement U_Knight's Cross was already completed
Achievement U_15000 GRT was already completed
Achievement U_40000 GRT was already completed
Achievement U_Reputation is Everything was already completed
Achievement U_It's a Waste of Ammo was already completed
Achievement U_Torps Ain't Cheap was already completed
Achievement U_Fresh Air... was already completed
Starting 40 achievement objects.
[RealisticLightModes] ApplyColorMultiplier for Surface
[RealisticLightModes] setting normal lights on the first pass
Slot "Conning Tower" is defined for entity type "Type VIIB (Player)" in game data, but it's missing in the entity prefab.
Entering: U-boat
Entering: Wilhelmshaven
GarbageCollector disposing of ComputeBuffer. Please use ComputeBuffer.Release() or .Dispose() to manually release the buffer.
Requested asset at path "Equipment/Port Observation Post" doesn't exist.
[RealisticLightModes] RealisticLighting Parameter was null in PlayerShip Awake, creating
Stopping 40 achievement objects.
Group "U-boat" is neutralized!
Game version: 2025.1 Patch 10
I found out that the DeviceUseAction function has probably changed
This note was shared with me as an example. maybe it helps...
base.UseDevice(character, "Default", "Skill", 2, null, false, true, false);
base.UseDevice(character, "Default", "Skill", 2, null, false, SlotUsageFlags.AllowUnderWaterAlways, false);
I'll try to get to it this weekend, but no promises.