-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No fish spawning and this in server console: [Nitrox] W: Couldn't load serializable attribute for Peeper version #82
Comments
Try launching a single player game and then joining the server via the
console. Worked in our case.
|
@Staudey Yeah tried that already, didn't work :/ I did however find an incorrect path in the ParseFile function inside BatchCellsParser.cs which I changed to the correct subnautica folder after which the server startup seemed to take much longer and everything works, except that there's a huge overspawn of fish/items and floating limestone rocks aswell |
That't happening to me too @sampniels. I already opened an issue. |
Those files came from the assets files. There was a branch here to grab data from the files, however it is outdated and not up to date with this one. |
No fish for me aswell. I tried executing Unit Tests, a couple of which didn't pass.
I get the following exception in output_log.txt: AmbiguousMatchException: Ambiguous matching in method resolution UnityEngine.GameObject:SetActive(Boolean) (Filename: Line: -1) |
Hi @werichff Cheers, |
Have you already solved? |
@ioncodes Hello, may I ask how to solve this problem? The website you quoted I read, but did not understand ... |
See @werichff's comment. You have to change that string there. |
@ioncodes I tried his method, but it does not work... |
@hsiayuchih, Are you sure u change it to the absolute Build18 path? It won‘t work with a relative path. |
@ioncodes Is the path not like this? |
@hsiayuchih If that‘s a valid path, yes. Are you sure you recompiled everything? |
@ioncodes In fact, this is my friend to help compile, I will not programming ... |
Path is no longer hard coded as of a new commit. Resolving. |
I have a similar problem, however it just happens to a friend trying to connect to my server. I can see all fish and interact with anything, nothing is missing on my end, however, when he tries to connect, the can't see any fish, no stones, no fauna or flora, everything is barren. I tried the solutions suggested above, but when I tried compiling the server, I get lots of errors. OBS: I'm using Subnautica on Steam while he is using it on Epic Games Launcher. I helped him install it and made sure that all paths were leading to the correct installation instead of Steam. EDIT: I made a separate installation from Epic Games and used a new Nitrox folder (I backed up the steam one), I proceeded to install the Nitrox server and I got it up and running on my machine. I did the same to my friend's installation and again, when he connected to me, he couldn't see any creature, in fact, he couldn't even see me this time. I followed this youtube guide: https://www.youtube.com/watch?v=bzF9C4gR9C0 |
how to do that? open the server via single player in console |
Hi,
I've followed the steps in this guide carefully: https://github.com/SubnauticaNitrox/Nitrox/wiki/Setting-up-a-development-environment-for-Nitrox
Everything is working fine except for the fish and any predators or whatsoever, there are just no fish etc in the game. limestone rocks etc plants its all there just not any fish or leviathans or whatsoever.
I did get this warning message twice in the server console but I don't know if it's causing the fish to not spawn or if it's something else causing this.
[Nitrox] W: Couldn't load serializable attribute for Peeper version
NOTE: The fish don't spawn in singleplayer either after editing game files via dnspy.
EDIT:
I discovered this in the subnautica output log.txt file:
[Nitrox] I: Applying NitroxPatcher.Patches.ToggleLights_SetLightsActive_Patch [Nitrox] I: Applying NitroxPatcher.Patches.uGUI_OptionsPanel_AddBindings_Patch [Nitrox] D: Added surrogate NitroxModel.DataStructures.Surrogates.ColorSurrogate for type UnityEngine.Color [Nitrox] D: Added surrogate NitroxModel.DataStructures.Surrogates.Int3Surrogate for type Int3 [Nitrox] D: Added surrogate NitroxModel.DataStructures.Surrogates.QuaternionSurrogate for type UnityEngine.Quaternion [Nitrox] D: Added surrogate NitroxModel.DataStructures.Surrogates.TechTypeSurrogate for type TechType [Nitrox] D: Added surrogate NitroxModel.DataStructures.Surrogates.Vector3Surrogate for type UnityEngine.Vector3 [Nitrox] I: Connected to server IndexOutOfRangeException: Array index is out of range. at Array3
1[System.Int32].Get (Int32 x, Int32 y, Int32 z) [0x00000] in :0at Array3`1[System.Int32].get_Item (Int32 x, Int32 y, Int32 z) [0x00000] in :0
at GameInput.GetBindingInternal (Device device, Button button, BindingSet bindingSet) [0x00000] in :0
at GameInput.GetInputStateForButton (Button button) [0x00000] in :0
at GameInput.GetButtonDown (Button button) [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0022d>
at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002f>
at NitroxModel.Helper.ReflectionHelper.ReflectionCall (GameInput,string,System.Type[],bool,bool,object[]) <0x000be>
at NitroxPatcher.Patches.Player_Update_Patch.Postfix (Player) <0x00244>
at (wrapper dynamic-method) Player.Update_Patch1 (object) <0x0041c>
(Filename: Line: -1)
IndexOutOfRangeException: Array index is out of range.
at Array3
1[System.Int32].Get (Int32 x, Int32 y, Int32 z) [0x00000] in <filename unknown>:0 at Array3
1[System.Int32].get_Item (Int32 x, Int32 y, Int32 z) [0x00000] in :0at GameInput.GetBindingInternal (Device device, Button button, BindingSet bindingSet) [0x00000] in :0
at GameInput.GetInputStateForButton (Button button) [0x00000] in :0
at GameInput.GetButtonDown (Button button) [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0022d>
at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002f>
at NitroxModel.Helper.ReflectionHelper.ReflectionCall (GameInput,string,System.Type[],bool,bool,object[]) <0x000be>
at NitroxPatcher.Patches.Player_Update_Patch.Postfix (Player) <0x00244>
at (wrapper dynamic-method) Player.Update_Patch1 (object) <0x0041c>
(Filename: Line: -1)
[Nitrox] D: Freezing escape pod rigidbody
IndexOutOfRangeException: Array index is out of range.
at Array3
1[System.Int32].Get (Int32 x, Int32 y, Int32 z) [0x00000] in <filename unknown>:0 at Array3
1[System.Int32].get_Item (Int32 x, Int32 y, Int32 z) [0x00000] in :0at GameInput.GetBindingInternal (Device device, Button button, BindingSet bindingSet) [0x00000] in :0
at GameInput.GetInputStateForButton (Button button) [0x00000] in :0
at GameInput.GetButtonDown (Button button) [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0022d>
at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002f>
at NitroxModel.Helper.ReflectionHelper.ReflectionCall (GameInput,string,System.Type[],bool,bool,object[]) <0x000be>
at NitroxPatcher.Patches.Player_Update_Patch.Postfix (Player) <0x00244>
at (wrapper dynamic-method) Player.Update_Patch1 (object) <0x0041c>
(Filename: Line: -1)
IndexOutOfRangeException: Array index is out of range.
at Array3
1[System.Int32].Get (Int32 x, Int32 y, Int32 z) [0x00000] in <filename unknown>:0 at Array3
1[System.Int32].get_Item (Int32 x, Int32 y, Int32 z) [0x00000] in :0at GameInput.GetBindingInternal (Device device, Button button, BindingSet bindingSet) [0x00000] in :0
at GameInput.GetInputStateForButton (Button button) [0x00000] in :0
at GameInput.GetButtonDown (Button button) [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0022d>
at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002f>
at NitroxModel.Helper.ReflectionHelper.ReflectionCall (GameInput,string,System.Type[],bool,bool,object[]) <0x000be>
at NitroxPatcher.Patches.Player_Update_Patch.Postfix (Player) <0x00244>
at (wrapper dynamic-method) Player.Update_Patch1 (object) <0x0041c>`
The text was updated successfully, but these errors were encountered: