SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Current crop of subsims & naval games > Destroyer - The U-Boat Hunter
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-01-22, 09:27 PM   #1
Onkel Neal
Born to Run Silent
 
Onkel Neal's Avatar
 
Join Date: Jan 1997
Location: Cougar Trap, Texas
Posts: 21,383
Downloads: 541
Uploads: 224


Default

Quote:
Originally Posted by Cobarus View Post

For anyone that has a working game, I'd be interested to see what the Player.log file looks like and what appears after the Daedalic.Dbtool.Client.BannerSystem:Start() line item, as that's where my game appears to be getting stuck.
I can help, where do I find the player log?
__________________
SUBSIM - 26 Years on the Web
Onkel Neal is offline   Reply With Quote
Old 10-01-22, 09:36 PM   #2
Onkel Neal
Born to Run Silent
 
Onkel Neal's Avatar
 
Join Date: Jan 1997
Location: Cougar Trap, Texas
Posts: 21,383
Downloads: 541
Uploads: 224


Default

I'm browsing the local files, not finding that file... help!
__________________
SUBSIM - 26 Years on the Web
Onkel Neal is offline   Reply With Quote
Old 10-01-22, 10:09 PM   #3
Cobarus
Swabbie
 
Join Date: Sep 2021
Posts: 7
Downloads: 3
Uploads: 0
Default

Quote:
Originally Posted by Onkel Neal View Post
I can help, where do I find the player log?
The AppData folder is usually hidden in Windows. For simplicity, if you copy/paste the following string exactly as it is written in File Explorer along the top bar, it will direct you to the location where the Player.log file exists:

%USERPROFILE%\AppData\LocalLow\Iron Wolf Studio\Destroyer The U-Boat Hunter

See my attachment for a visual image example of where to paste the above string in File Explorer.

Thanks again!
Attached Images
File Type: jpg DestroyerPlayerLogFolder.jpg (21.5 KB, 4 views)
Cobarus is offline   Reply With Quote
Old 10-02-22, 07:31 AM   #4
Onkel Neal
Born to Run Silent
 
Onkel Neal's Avatar
 
Join Date: Jan 1997
Location: Cougar Trap, Texas
Posts: 21,383
Downloads: 541
Uploads: 224


Default

Quote:
Originally Posted by Cobarus View Post

%USERPROFILE%\AppData\LocalLow\Iron Wolf Studio\Destroyer The U-Boat Hunter
Ah, that worked! Here you go.

edit: spoke too soon, file is too large.


ok, here we go again. LINK
__________________
SUBSIM - 26 Years on the Web
Onkel Neal is offline   Reply With Quote
Old 10-02-22, 12:37 PM   #5
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
Old 10-02-22, 04:39 PM   #6
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
Onkel Neal, if you don't mind, can you also provide me with your GameData.dat file? It's in the same folder location where the Player.log is stored, which is:

%USERPROFILE%\AppData\LocalLow\Iron Wolf Studio\Destroyer The U-Boat Hunter

I think I'm getting closer to the root problem. I noticed my GameData.dat file is completely empty. As a test, I put some random information in there, saved it and relaunched the game, and now the JSON error in my Player.log file indicates "Invalid value." instead of "The document is empty."

It's possible there's supposed to be some specific information or code the game is looking to read/parse in that particular file, but because mine is empty, the game never fully loads.

Thank you.
Cobarus is offline   Reply With Quote
Old 10-02-22, 04:50 PM   #7
Cobarus
Swabbie
 
Join Date: Sep 2021
Posts: 7
Downloads: 3
Uploads: 0
Default

Belay that request. I deleted the GameData.dat file and now my game fully launches and works! Issue resolved.

For anyone that is experiencing the black screen on launch, see if you have a GameData.dat file in the following folder and then delete or rename it:

%USERPROFILE%\AppData\LocalLow\Iron Wolf Studio\Destroyer The U-Boat Hunter

That file had a date stamp of March, which I can't guarantee that it's when I first installed and played the demo, but it feels like it was around that timeframe. It's possible the file was left over from the demo. Who knows.
Cobarus is offline   Reply With Quote
Old 10-02-22, 11:06 PM   #8
Onkel Neal
Born to Run Silent
 
Onkel Neal's Avatar
 
Join Date: Jan 1997
Location: Cougar Trap, Texas
Posts: 21,383
Downloads: 541
Uploads: 224


Default

Man, you rock! Thanks for all the diligent work solving this.
__________________
SUBSIM - 26 Years on the Web
Onkel Neal is offline   Reply With Quote
Old 10-03-22, 08:09 AM   #9
serezha
Swabbie
 
Join Date: Feb 2011
Posts: 12
Downloads: 124
Uploads: 0
Default

Quote:
Originally Posted by Cobarus View Post
Belay that request. I deleted the GameData.dat file and now my game fully launches and works! Issue resolved.

For anyone that is experiencing the black screen on launch, see if you have a GameData.dat file in the following folder and then delete or rename it:

%USERPROFILE%\AppData\LocalLow\Iron Wolf Studio\Destroyer The U-Boat Hunter

That file had a date stamp of March, which I can't guarantee that it's when I first installed and played the demo, but it feels like it was around that timeframe. It's possible the file was left over from the demo. Who knows.
I don't have a GameData.dat file in this folder. And I didn't have a demo version of the game. In this folder I have three files:
player.log
Player-prev.log
steam_autocloud.vdf

Black screen on startup persists
serezha is offline   Reply With Quote
Old 10-03-22, 10:03 AM   #10
Cobarus
Swabbie
 
Join Date: Sep 2021
Posts: 7
Downloads: 3
Uploads: 0
Default

Quote:
Originally Posted by serezha View Post
I don't have a GameData.dat file in this folder. And I didn't have a demo version of the game. In this folder I have three files:
player.log
Player-prev.log
steam_autocloud.vdf

Black screen on startup persists
The Player.log file usually contains clues as to what's causing the game to get stuck at the black screen after launch. If you don't mind sharing your file here, I can take a look at it and see if there's anything I can ascertain from it in hopes to find a solution to resolve your case.
Cobarus is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.