View Single Post
Old 10-02-22, 12:37 PM   #15
Cobarus
Swabbie
 
Join Date: Sep 2021
Posts: 7
Downloads: 3
Uploads: 0
Default

Quote:
Originally Posted by Onkel Neal View Post
Ah, that worked! Here you go.

edit: spoke too soon, file is too large.


ok, here we go again. LINK
That helps immensely Onkel, thank you!

I have determined the differences between a working game (Onkel's log file) vs a non-working game (my log file). If Artur sees this and can pass it onto the devs:

The following group of text exists in my Player.log file, but not Onkel's, right after the <RI> Initialized touch support. line:

Code:
ArgumentException: JSON parse error: The document is empty.
  at UnityEngine.JsonUtility.FromJson[T] (System.String json) [0x00000] in <00000000000000000000000000000000>:0 
  at GameManager.Awake () [0x00000] in <00000000000000000000000000000000>:0 
  at UnityEngine.GameObject.AddComponent[T] () [0x00000] in <00000000000000000000000000000000>:0 
  at GameManager.get_Instance () [0x00000] in <00000000000000000000000000000000>:0 
  at MainMenuManager.Awake () [0x00000] in <00000000000000000000000000000000>:0 
UnityEngine.GameObject:AddComponent()
GameManager:get_Instance()
MainMenuManager:Awake()
And finally, the following group of text also exists in my log file, and is not found in Onkel's log file:

Code:
NullReferenceException: Object reference not set to an instance of an object.
  at GameManager.get_SpeechVolume () [0x00000] in <00000000000000000000000000000000>:0 
  at MainMenuManager.Start () [0x00000] in <00000000000000000000000000000000>:0
So it appears that my game is having issues reading/parsing an empty or missing JSON file, which results in the game's Main Menu to fail to load. The log file, however, does not indicate the name nor location of the empty or missing JSON file.


Additional diagnostics:

I used Process Monitor (by SysInternals) to capture all file access events when the game is launched. The only three JSON files opened/queried were:
  • RuntimeInitializeOnLoads.json and ScriptingAssemblies.json
  • Both files located in *\Steam\steamapps\common\Destroyer The U-Boat Hunter\Destroyer The U-Boat Hunter_Data
  • Banners.json
  • File located in%LOCALAPPDATA%\Iron Wolf Studio\Destroyer The U-Boat Hunter\Cache\Banners\BannerCache

However, all three JSON files have data inside of them. Without knowing which JSON file the Player.log file is reporting as empty, I am now unable to continue my diagnostics. Hopefully this information is enough to pass along for a quick resolution.

Thank you.
Cobarus is offline   Reply With Quote