MartinSGill / SubnauticaWatcher

Adds a "live" map to the Subnautica game.
MIT License
56 stars 12 forks source link

Install was successful, but game is now stuck on "Loading" #16

Open Merik2013 opened 6 years ago

Merik2013 commented 6 years ago

To be clear, this is the game trying to load in the main menu, not a save file. Also, I get the 102 error trying to load up the mod through the browser. I don't know if this is the result of the game not having loaded in or not, but your workaround doesn't work for this.

I'm on Win7 and Experimental if that matters.

MartinSGill commented 6 years ago

The 102 error is covered in troubleshooting.

Failing to load suggests you did not install the mod correctly; this is normally caused by the mod not finding files it needs to work. Please ensure you follow the full instructions.

Merik2013 commented 6 years ago

Uh, yeah, no. I did use the full instructuons. I'm not an idiot. And like I said, your workaround for 102 didnt work. Please consider that an experimental update may have broken your mod on a clean install.

MartinSGill commented 6 years ago

I was playing it on experimental last night and had no problems, other than having to re-run the installer, but that's normal after an update.

Please find your output_log.txt file, delete it, then try to restart the game. (Subnautica_Data/output_log.txt)

When the game "hangs" ony loading screen, wait a couple of minutes to ensure it's actually hanging, then kill the process. After that, paste/attach a copy of the output_log.txt. That will provide me with the best clue as to why the game is hanging.

WarriorComic commented 6 years ago

for the 100's of users that use Subnauticawatcher you are the only one Merik2013. you might not be an "idiot" but this isn't MartinSGill's issue its on your end Merik2013. make a checklist for yourself and look if you can locate the problem instead. first time when i installed it i got the same problem of 102 then i figured it must be blocked somewhere so i checked my windows firewall i simply disabled it then tried again and it works on both experimental and live version.

MartinSGill Very awesome idea and execution amazing feature/"mod" for this game. Did you know you don't have to use the Steam in-game browser? since i have multiple monitors i just take one of my side panels use Localhost:63030 and show the map there (in chrome browser) while playing. maybe make a note of this somewhere in the "readme" thought it was more usefull then shift+tabbing all the time.

Also about the Data and map i know you take all the information from wikipedia but some of the stuff i found seemed to be moved or just simply not there certain lifepod locations are incorrect will this automatically be updated on the map? or would i have to wait for a new version?

ryanp20 commented 6 years ago

Have exactly the same problem, so its not just Merik2013

WarriorComic commented 6 years ago

Have exactly the same problem, so its not just Merik2013

Then perhaps you should also check the full instructions. or perhaps check if it isn't your firewall that is blocking it like my windows did.

edit: All i can say is.... From my personal experience i installed this on 5 different pc's (my wife's & kids my brother in law's and my own). on windows 7 & windows 10 on both my own and kids pc i got this 102 error for myself it was windows firewall blocking the :63030 port which i couldn't white list it so i just disabled the firewall and it worked perfectly fine. Currently i'm running 2 mods on subnautica (Lilin's MultiMod) & This one Live-map mod aka (SubnauticaWatcher) i installed Lilin's mutlimod first, and then i redo the steps of this mod as it was suppose to be done and it works its even compatible without any issues.

MartinSGill commented 6 years ago

@ryanp20, @Merik2013 I fully re-installed Subnautica from scratch (all 4.9Gb of it) and installed the latest release. It worked perfectly.

The only time I have ever seen this freeze (outside of development bugs) is for a user who eventually admitted he was running a cracked copy of the game.

Without you providing me your output_log.txt there's nothing more I can do to help you troubleshoot, as I am unable to reproduce this.

@WarriorComic Thanks for the compliments. Yes I do know you can use it on another monitor. I've also tested it on Chrome running on an Android tablet, and I've heard of at least one user that uses it on an old laptop, next to his computer. The Steam Overlay is the closest I could easily come to a true "in-game" map; it's also best solution for players with only a single monitor.

Data updates come with a new version; or you can clone/build the project yourself and run the updater. All the data comes from a single JSON file, you could even edit it manually.

ryanp20 commented 6 years ago

Did an uninstall and reinstall of game, all seems to work now, don't know what was causing the hang on start

Merik2013 commented 6 years ago

Considering how old my install is, I might have to try that as well. Will report back.

Merik2013 commented 6 years ago

In the meantime, here's the output log. I left it on the "loading" screen for 5 minutes for that. output_log.txt

Merik2013 commented 6 years ago

Can confirm that reinstalling did nothing. I'll also add that my firewall is off (always is) and that I tried disabling Malwarebytes to no effect. There might be something in that output log that might clue us in to what is happening. If we can figure out a solution it might be appropriate to add it to the troubleshooting section.

Edit: output log after reinstall attempt: output_log.txt

Merik2013 commented 6 years ago

Looking at it, there's a number of errors popping up with the mod that don't occur normally. I don't know what's causing it. unmodded output log: output_log.txt

WarriorComic commented 6 years ago

Couple of errors to point out:

  1. WARNING: Shader Unsupported: 'Hidden/VideoDecodeOSX' - Pass 'FLIP_RGBARECT_TO_RGBA' has no vertex shader WARNING: Shader Unsupported: 'Hidden/VideoDecodeOSX' - Setting to default shader.

  2. VR: OpenVR Error! OpenVR failed initialization with error code VRInitError_Init_PathRegistryNotFound: "Installation path could not be located (110)"!

  3. Missing Steam DRM

  4. Couldn't initialize Steamworks

  5. SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.

    at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] in :0 at System.Net.EndPointListener..ctor (System.Net.IPAddress addr, Int32 port, Boolean secure) [0x00000] in :0 at System.Net.EndPointManager.GetEPListener (System.Net.IPAddress addr, Int32 port, System.Net.HttpListener listener, Boolean secure) [0x00000] in :0 at System.Net.EndPointManager.AddPrefixInternal (System.String p, System.Net.HttpListener listener) [0x00000] in :0 at System.Net.EndPointManager.AddListener (System.Net.HttpListener listener) [0x00000] in :0 UnityEngine.Object:INTERNAL_CALL_Internal_InstantiateSingle(Object, Vector3&, Quaternion&) UnityEngine.Object:Internal_InstantiateSingle(Object, Vector3, Quaternion) UnityEngine.Object:Instantiate(Object, Vector3, Quaternion) UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion) SystemsSpawner:Awake() (Filename: Line: -1)

This looks like its an illegal copy to me :/ then again i don't have a reference point or experience with illegal copies but since its forbidden and cannot access Steams DRM it pretty obvious in my opinion.

Merik2013 commented 6 years ago

Its not an illegal copy, I assure you. I also uploaded the unmodded log. DRM isn't mentioned anywhere in that one. Therefore, it must be the mod tripping that flag. I don't understand why trying to use this mod gives me so many errors.

WarriorComic commented 6 years ago

Its not an illegal copy, I assure you. I also uploaded the unmodded log. DRM isn't mentioned anywhere in that one. Therefore, it must be the mod tripping that flag. I don't understand why trying to use this mod gives me so many errors.

keep in my mind that i'm not the creator nor do i have the experience as @MartinSGill. I barely know anything about unity Engine and how it actually functions.

That being said... then from what i can read from the log which was modded is that something is preventing a outgoing or incoming connection as said in the log .

SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.

And because of this, it results into initial steam DRM verification failure including Couldn't initialize Steamworks and therefore resulting in a infinite loop of loading.

I'm just going to assume that you do have administrative privileges on your system since you pointed out firewall is off. Unless its a UAC (User account control) which i doubt should be a issue like this.

it can't be a professional router since its "Localhost" so the port shouldn't matter. this is some strange stuff, i really hope you can fix this. the biggest problem is always the lack of information you could have a 3rd party anti-virus protection like AVG, McCaffee, norton, Kaspersky etc.. that could potentially see this as a threat and block it. but then again i'm no expert, what i just can read from the modded log is it just shows as something is preventing it from working. and resulting in infinite loading loop.

the only other thing i can suggest is.. try this instead. [insert feel's bad man meme] Sorry i couldn't help very much.

Edit: Oh don't worry those flags are often triggered by the strangest things i do believe you have a legitimate copy of the game. but within the log it just looks suspicious just wanted to say that.

Edit:Edit: Did a little googling apparently this is not a uncommon unity engine problem there are other people facing this issue as well but the only solution i read is "when i reboot my system it works again". you can read this here. its not exactly the same but its a similar problem this has nothing to do with subnautica its just a bit of random information.

Merik2013 commented 6 years ago

I also assumed the socket error to be the problem, but the only antiviral/malware program I run is Malwarebytes and, as I said, I tried disabling that too. I really don't get what's going on here, but thanks for the suggestion of an alternative mod.

MartinSGill commented 6 years ago

The socket error is the problem, as you've already identified. It's not one I've seen before, but here are the steps I would take to try and narrow down / resolve the problem:

If that fails, then it might be a network driver or network card issue. Try following these troubleshooting steps, if you haven't already.

TheRedDev commented 6 years ago

I too just encountered this issue, but oddly it only happened the second time I launched the game after installing the plugin. I played for 5 hours yesterday with your excellent map functioning perfectly, then today it is stuck on 'Loading...' when I try to launch. Removed the Subnautica_Data/Managed, validated, and it launched fine. Install the plugin again and 'Loading...'. Rebooted computer ala WarriorComic's mention of the Unity bug... problem went away.